diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 0f836318..f874793f 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,26 +1,26 @@ lockVersion: 2.0.0 id: 664aaca5-a41f-4434-8f2a-642dba92fe68 management: - docChecksum: b75d435319feab0701ab9e63ce8a76a1 + docChecksum: 5cbe9973b042165f2c62f32620c4fb67 docVersion: 0.9.0 - speakeasyVersion: 1.786.1 - generationVersion: 2.913.3 - releaseVersion: 0.16.1 - configChecksum: 4f1bc6456c8c4c0d37c2b226c49a7248 + speakeasyVersion: 1.788.0 + generationVersion: 2.915.0 + releaseVersion: 0.17.0 + configChecksum: aa30e7f4b73dfb50accd0178d7a4cc51 repoURL: https://github.com/gleanwork/api-client-typescript.git installationURL: https://github.com/gleanwork/api-client-typescript published: true persistentEdits: - generation_id: 2c7d57ef-78b6-49e4-9de0-69df74de5bc0 - pristine_commit_hash: 0b9f78236b8a7da626172d0f20136ae3613687d3 - pristine_tree_hash: 72c810dfebaa64938bfcd3978dbe046f98461cab + generation_id: aa3b0cd2-a0b8-4c54-87d1-9cf39d14e60a + pristine_commit_hash: c17b1419d1cecfadec1f023b15661f06ed58d935 + pristine_tree_hash: 15c624c2730789ac69a7ba4fa8656c7793a47db4 features: typescript: acceptHeaders: 2.81.2 additionalDependencies: 0.1.0 additionalProperties: 0.1.3 constsAndDefaults: 0.1.14 - core: 3.31.2 + core: 3.31.3 defaultEnabledRetries: 0.1.0 deprecations: 2.81.1 devContainers: 2.90.1 @@ -37,6 +37,7 @@ features: methodServerURLs: 2.82.2 mockServer: 0.1.4 nameOverrides: 2.81.4 + nullables: 0.1.1 reactQueryHooks: 0.2.4 responseFormat: 0.3.0 retries: 2.83.1 @@ -71,8 +72,8 @@ trackedFiles: pristine_git_object: aeacd20b533be54c6ada7e006e19345ddbfd55f0 REACT_QUERY.md: id: 43d3a3ba4147 - last_write_checksum: sha1:7a80baa07cc9f259e50f309d314c865dbcc2c9c9 - pristine_git_object: 4471763c1c50eaf4dea59fe5631fc1959b0e02d6 + last_write_checksum: sha1:b093ef1ca43506a3ca497f43f43df04d889c326f + pristine_git_object: 832fb713ac8079b95dc3b0f0b558425fcd7e1c91 RUNTIMES.md: id: 620c490847b6 last_write_checksum: sha1:e45b854f02c357cbcfdb8c3663000e8339e16505 @@ -99,8 +100,8 @@ trackedFiles: pristine_git_object: e97323763636d9e3a672871928ff9c2afe07123c docs/models/components/actionsummary.md: id: f9f286d7b5c6 - last_write_checksum: sha1:0cd4ff1da28bbe89fe0046412aa6a2106f71d4db - pristine_git_object: 03f032428dc3e6a4812ff80e338548918b0736ac + last_write_checksum: sha1:7fe4c8bda926832bf790916fc4b4ac6268a23d66 + pristine_git_object: 0d14dd6829e09b0e4cba2fce647a052c2e0d551d docs/models/components/activity.md: id: a2d8273e4214 last_write_checksum: sha1:c60b11a27a8ae6f368638c29439e21b6d87828ce @@ -143,8 +144,8 @@ trackedFiles: pristine_git_object: 4046a2d3b00292ea50fe616a7e64d1eda269dda7 docs/models/components/agent.md: id: 6680edc7a638 - last_write_checksum: sha1:5b069665bb9358f24d11183f56ccbd8a44fafa80 - pristine_git_object: b2003ef74230f29c4f95dfbf567585c586504842 + last_write_checksum: sha1:d459f1e42b7e865025cdd9fdeae7f7fdd0edf02d + pristine_git_object: 2267906e44c5abf475a0a7cc4c269013ab430c22 docs/models/components/agentcapabilities.md: id: 6e12b41835be last_write_checksum: sha1:f1ec95530822ca2a5948c9f0f299a8dde023f108 @@ -167,20 +168,20 @@ trackedFiles: pristine_git_object: 25e84bf79415bd8d1fd7da40acdcaf21d1f30969 docs/models/components/agentrun.md: id: 4f33b613a9c3 - last_write_checksum: sha1:1e82cdb6843a7940bd6ab30debbbd7e1921fa109 - pristine_git_object: 2d153334d09a87efdb18ef500f7a1fed524219f7 + last_write_checksum: sha1:0cf54836b62c630b09d3532c69bec5e9dc1357db + pristine_git_object: 61e3a21f6b04b4610b6477cedcdff54603b638a0 docs/models/components/agentruncreate.md: id: 04adc518090d - last_write_checksum: sha1:f4e0b4565f2a281d77f6ee6eb02fb21e4a96d800 - pristine_git_object: a5023916f41e6ea244deddb2b0e5201f70e6c745 + last_write_checksum: sha1:c0f068f33243c890888468e0996491fe5d81ae7c + pristine_git_object: 4afd2c20460b761efc49b8a0f1a530822f4eec99 docs/models/components/agentrunwaitresponse.md: id: 800b697aa5a5 - last_write_checksum: sha1:b3a4ff565afa9dd694b748205e9ddc00acf0f9c2 - pristine_git_object: 6a5c239bcf2297c1910bfd571c177455587dec43 + last_write_checksum: sha1:2142408e6ae55e330c4935a9ebef2587616771d3 + pristine_git_object: 69f3bc422d34d232d3ebaec66713c7fb0591c1db docs/models/components/agentschemas.md: id: 077480e4519f - last_write_checksum: sha1:40609c6a60d7e0cc9d96d97513a322e9a778a0d7 - pristine_git_object: fb97d831af5dab0e3f25f5e1a1dcd33db40f04b5 + last_write_checksum: sha1:bc41e81ae8495969e85b644b79bd654e41cd76b7 + pristine_git_object: 829f5d02e7ba12c49d6f535e8e760981f5f8ac7d docs/models/components/agentsinsightsv2request.md: id: 5e256461f4fa last_write_checksum: sha1:f67399126e0464523a8aed5a4af1e4fabfa8fb98 @@ -1699,8 +1700,8 @@ trackedFiles: pristine_git_object: fc03375d6e29319854d4fecf9da1d2f04398e83b docs/models/components/messagesresponse.md: id: 8e8d535e494a - last_write_checksum: sha1:8c74753b4f04f9a36f801a165c81666b58c394ef - pristine_git_object: d473746181d2b0b600edc614dc04d0483e1698b3 + last_write_checksum: sha1:4793cef4cffa9c13725318de81c081a710e0e0df + pristine_git_object: e689b9fdcdc31e9f916481f18429138139fe0d0a docs/models/components/messagetextblock.md: id: 2a17ebc2b1ed last_write_checksum: sha1:69ed6f2a1d336f9771d6c0b871246ee618c0c893 @@ -1825,6 +1826,102 @@ trackedFiles: id: 4aca343a58b8 last_write_checksum: sha1:31cfe4cb23b1ad813abe043e5f8d9d8d15740ba7 pristine_git_object: 041fac880aca7c8fd71516bc473c54f43302f6a8 + docs/models/components/platformactionsummary.md: + id: 93ecbff93962 + last_write_checksum: sha1:f0856d617e3918f6769d90cfecd01cce600a3889 + pristine_git_object: 791348adc836c70c2103299e3280f95e7ad05696 + docs/models/components/platformagent.md: + id: cfc6f19bfa42 + last_write_checksum: sha1:8e1d63e2509a943025b4485faf691adc3c6bbf91 + pristine_git_object: 4964c59114e0cf74d7b729cab4596c40808de15d + docs/models/components/platformagentcapabilities.md: + id: 5589f386e676 + last_write_checksum: sha1:04ce7870aa870604f625cb507bb120bf09220fe9 + pristine_git_object: db5ccfe2f50a8f9e0ca943db840f82a56ccb4d3b + docs/models/components/platformagentexecutionstatus.md: + id: 2a01e25cee85 + last_write_checksum: sha1:66022e55c2d1882ac726609ac75fc615ead029fc + pristine_git_object: e609997422bb115ffbbc4c29fee7a0e83a393aa4 + docs/models/components/platformagentgetresponse.md: + id: 17095cf4b554 + last_write_checksum: sha1:f1b7af0535430d6dd0889482fdb5a411fe4051c8 + pristine_git_object: 3bf9df7ffcf8dcc03a2ce066342225118fb55530 + docs/models/components/platformagentrun.md: + id: 2623b503a857 + last_write_checksum: sha1:970511c8b71fe88ba0d20a67e86be4d306438ea2 + pristine_git_object: bd3f84687067c5539f9af71fff8f1896bb444cd9 + docs/models/components/platformagentruncreaterequest.md: + id: ad098fb679da + last_write_checksum: sha1:7b864cafc28a97e3ebc440e455b65c70d8425f85 + pristine_git_object: 97f6f64cb18e41690ac30a43124f74b0d9bbd66b + docs/models/components/platformagentrunwaitresponse.md: + id: 5a1e78680e6a + last_write_checksum: sha1:1e06fbea33a12fa4c471d42869c6d3d14c83caad + pristine_git_object: b0128f9bd1d19c9c9838993f6414ffb2d3b1163c + docs/models/components/platformagentschemasresponse.md: + id: ffe202d90c33 + last_write_checksum: sha1:a7c73287b2c8f542036432a225a2d0352df37c9d + pristine_git_object: 54b821107095388ab62ddd6b9bde91e5b9033b28 + docs/models/components/platformagentssearchrequest.md: + id: 8be0757e3290 + last_write_checksum: sha1:b6361198a8d77ca846bd8bbecbc1e6251db5d8a7 + pristine_git_object: b8680f14cc985ad70b4163593a5f521b0c015596 + docs/models/components/platformagentssearchresponse.md: + id: 80dc362d4880 + last_write_checksum: sha1:ac9de6625eb35cda5665ae4fb4714e51541d3ecb + pristine_git_object: bdb37b0b0e8a2f00a9fc1456d236bdcfdd4ee12f + docs/models/components/platformcontenttype.md: + id: f5a30f465d14 + last_write_checksum: sha1:d225b587d2a1d67643445aef678a99ded30fb27a + pristine_git_object: 774fd352e44f69b1519c32403603321ea4ff768f + docs/models/components/platformfilter.md: + id: 97ac5bc59c2c + last_write_checksum: sha1:b51c7262b4799e2be0a899f52b711f7c4bd51bd6 + pristine_git_object: 6492968d389ba43afc72366fc810bf43752a2385 + docs/models/components/platformfilteroperator.md: + id: a1742bb6ba12 + last_write_checksum: sha1:39bff477c13794d8a40d7eff4b84eb5ef4047f7d + pristine_git_object: ce944be95aaff609737125a0f6f2fa85015601b0 + docs/models/components/platformmessage.md: + id: bc7ba681e94f + last_write_checksum: sha1:3fe0a3148363e29e26fad4a954c76c616c767b3e + pristine_git_object: 24331a4387550e5fa543df0cbc35fec46c66c99b + docs/models/components/platformmessagerole.md: + id: e63c98c3c3a1 + last_write_checksum: sha1:06d765bace2c48f91d079f0a2a13516f8502f3ff + pristine_git_object: ff7f72ab31915b4651b683e892cbaeebdeb762cf + docs/models/components/platformmessagetextblock.md: + id: 5ad20fb8eec9 + last_write_checksum: sha1:3ffa7d93a44821b16cb87e96ca3970dda8ff9de7 + pristine_git_object: 092364dd1d3fe6475f958e5f30b39fac11e4c59a + docs/models/components/platformpersonreference.md: + id: 19605b2bfe1a + last_write_checksum: sha1:7b4391f61da99ace12dcaf3f9e96df5786cbcfb1 + pristine_git_object: 1548d7eba7181a84723e539eb1cc260164476793 + docs/models/components/platformproblemdetailcode.md: + id: 95febbc85dd1 + last_write_checksum: sha1:1e90095cfb743e77ba0e0d9f80b86dd0c3e218fa + pristine_git_object: b07bc3e853ab651d823cd8f5afa7abfec56b3bf4 + docs/models/components/platformproblemdetailerror.md: + id: 886281ac9525 + last_write_checksum: sha1:d01c6bb9d1d34f48f708a27c2947c7a828e49e4d + pristine_git_object: 7bd60c922d1b5787e315e6919b9589ebbe5a84d1 + docs/models/components/platformresult.md: + id: ad76c5d23cfa + last_write_checksum: sha1:910ce422ba84ef3396de314db8176d947ac04a5d + pristine_git_object: b6adfbdb2afa41cfce10f3cb52ad09b9904e29bc + docs/models/components/platformsearchrequest.md: + id: 8636ff30ae76 + last_write_checksum: sha1:95bb08a35242c85873bc939b1e5bec22cd8bac98 + pristine_git_object: 121f093f442737b688c360bbe6ef799f2639da4f + docs/models/components/platformsearchresponse.md: + id: d398b8139176 + last_write_checksum: sha1:e87b453fc43313b7275d35a14db9f3a0292f45a4 + pristine_git_object: 404fa57a35d0fa2d12fc8c923ddac48e5ede9667 + docs/models/components/platformtimerange.md: + id: d2e589bb488c + last_write_checksum: sha1:b16b0fb45a16cafd4942fc70075e8ba92d0b9386 + pristine_git_object: 28f98d038baa3731367724285537485f3c8f5c20 docs/models/components/possiblevalue.md: id: 77671a7accb8 last_write_checksum: sha1:59a61ea5b060cb0a6f7debd975eb7167cfc16631 @@ -2011,8 +2108,8 @@ trackedFiles: pristine_git_object: 2cd813a40ead3f33b9ea2b68625af080189fbc9f docs/models/components/searchagentsresponse.md: id: 8474f8a11513 - last_write_checksum: sha1:464bed4d11fbe2f8698e4a8608016ffc46af79d7 - pristine_git_object: 2addf74f4a9c905237ca17620d872a8116992951 + last_write_checksum: sha1:1642cc020420f10f86cb43373d242f97c3f53eb9 + pristine_git_object: 05f8589727ffce5fe2846f07d5df0bc0327d3d74 docs/models/components/searchproviderinfo.md: id: 696355e3e25a last_write_checksum: sha1:e86ea17d57cb58065f392c43244ba26ea79e6fea @@ -2031,8 +2128,8 @@ trackedFiles: pristine_git_object: 4d941ee5cbaae15ae9370f88c6fb6dc03d89958a docs/models/components/searchresponse.md: id: 56df54487a86 - last_write_checksum: sha1:14e547a57b644a52c665db35ef75c3a021e92b37 - pristine_git_object: 98dc3a2b7d229a6682140713c8aee56d332b965d + last_write_checksum: sha1:ae8fd043302032c6c5154c8fbc43a67dc127482e + pristine_git_object: b433cd7f3f814e4a80a876c551636529df7a51f3 docs/models/components/searchresponsemetadata.md: id: 8562131fbe72 last_write_checksum: sha1:859468b0d8de1a80acbcec34c9598c9654f5ad39 @@ -2493,6 +2590,10 @@ trackedFiles: id: 96ba1a8dd7a2 last_write_checksum: sha1:f9f1f67b22b2b6fa22c5b14a0ec34398233dbf65 pristine_git_object: 3c5ffc6c63530a3a37d1dacf5c3d7857ff18dd7e + docs/models/errors/platformproblemdetailerror.md: + id: c153e881759b + last_write_checksum: sha1:eabe20d5c8c82ea957cbe1b17f977e433a4b4221 + pristine_git_object: 703f8473da45446022777f88533427eb3b6c05a8 docs/models/operations/addcollectionitemsrequest.md: id: f81175bea05e last_write_checksum: sha1:40c047c7aca4aedb681a36f3e47f6b166a5187a6 @@ -2603,8 +2704,8 @@ trackedFiles: pristine_git_object: 6c5b92a4cc4e739e3a512ed300cb38640f5a54c4 docs/models/operations/editagentrequest.md: id: 78e89c286bca - last_write_checksum: sha1:7743f29e4428ce34b4823fd79b81ffb635dfdef6 - pristine_git_object: d84b9cf4fa86a226d25afcd1f017e568f12f8fc8 + last_write_checksum: sha1:63e4f2026d702d40330ad670e2c5e81ff4c8d4bf + pristine_git_object: f641536621d3bcac35edcbf58dba09e718d8b663 docs/models/operations/editanswerrequest.md: id: 2573f0a10f41 last_write_checksum: sha1:94401b8a423843a5866dcaa6ea1217dd5add36cc @@ -2635,12 +2736,12 @@ trackedFiles: pristine_git_object: d99545dfebb5c9ea32ffb8b7a14c3b77f0c8ad21 docs/models/operations/getagentrequest.md: id: a4206a636d2b - last_write_checksum: sha1:de51912cf2f3bad15c9145a30d6d46cf17145641 - pristine_git_object: f0c750024eabb4892941e784f724d7ef92ef1523 + last_write_checksum: sha1:3f6a24e960b365fd81aa048ac2f9d5e8bd672a32 + pristine_git_object: ff2bbe2e7807077c98f10cce4c55aeed6c3c598e docs/models/operations/getagentschemasrequest.md: id: 4b7ed0c2cdf8 - last_write_checksum: sha1:fa15b96baa6af1897e694d0ef7f6b0eb6056ad0a - pristine_git_object: 2b814147aadf79605011557e52e1200ba5a1af34 + last_write_checksum: sha1:0f12833ccb0deae47690a7f660282f93aa43485c + pristine_git_object: 5d6aba12524e6fe1dba5a80699122b053fecad4a docs/models/operations/getanswerrequest.md: id: 3be271d4d2f3 last_write_checksum: sha1:fa31881132c6465e44f4e71c9bf2030a7dcf67a8 @@ -2691,8 +2792,8 @@ trackedFiles: pristine_git_object: 40bce23fd2ae58996270000cd82de51fc48764d6 docs/models/operations/getpersonphotorequest.md: id: 72bb69e0134c - last_write_checksum: sha1:4dfa47fa8326ee133b991355e75b097bdadb2e5c - pristine_git_object: 1445dbf9e4197be06e9c954e920479b8b48afcfd + last_write_checksum: sha1:9b1d031fa68c43ca56a8679d67a7272539bdb526 + pristine_git_object: 87af8354e896aeb2ba1eaab41da530096aec9802 docs/models/operations/getpersonphotoresponse.md: id: 366c051d9673 last_write_checksum: sha1:44b3a7198af71cc4cc0076dac79464d67354eebf @@ -2777,6 +2878,22 @@ trackedFiles: id: f8eca138bc2d last_write_checksum: sha1:08c4e00d533ab592b521a8cbc7259bfca69da666 pristine_git_object: b9b5b9cefc7b634682286de2c11e7b7f375add80 + docs/models/operations/platformagentscreaterunrequest.md: + id: "388574933310" + last_write_checksum: sha1:76e09df932d8c2605beb88cff30d40aa93abfcf6 + pristine_git_object: dde34ad677f78c10b11e1941b8b1b1e18d19c02e + docs/models/operations/platformagentscreaterunresponse.md: + id: aa686cb7fdf0 + last_write_checksum: sha1:4c8a256e177c89489099936f7a7f1e8768f93eb3 + pristine_git_object: a6ff4cd483a4f002c97a315f08e635fbed15c852 + docs/models/operations/platformagentsgetrequest.md: + id: 706ad4a6bd32 + last_write_checksum: sha1:11a6dcef6eea2c656083a4ffe5d9c01a378cbb4d + pristine_git_object: 9b82586d7979b656fd576a3e48318ea5c6805759 + docs/models/operations/platformagentsgetschemasrequest.md: + id: 58d615b7c78f + last_write_checksum: sha1:f72548f52835bd70987fa96727569f7fd5d32f9f + pristine_git_object: 86d0551865da2973d4bc49c26a9ae3fab6829f85 docs/models/operations/postapiindexv1debugdatasourcedocumenteventsrequest.md: id: 13205d748dcd last_write_checksum: sha1:a4343ef66a0c237e1eada5f9fe0ca897db13a0a2 @@ -2863,8 +2980,8 @@ trackedFiles: pristine_git_object: d660077d81220a7f0b093725c504fc9ed2db65ac docs/sdks/agents/README.md: id: 5965d8232fd8 - last_write_checksum: sha1:bd0d4ab68c59a784d39a64b9c94c6fcd23372a88 - pristine_git_object: f09256dedfcec8062b91a20447cb726f1c3aaf73 + last_write_checksum: sha1:5aa93e2231e4dcf56666fffe235f462df905dc1d + pristine_git_object: bbcaddc4d9e7ac1eec926a56e19818728d7446ef docs/sdks/announcements/README.md: id: 3d2e130a217c last_write_checksum: sha1:9955e9b871a2deaa2c17cd1c92fb4d34f7e05138 @@ -2873,42 +2990,34 @@ trackedFiles: id: d1b7559999eb last_write_checksum: sha1:1b66e7f03fae98f8bbc4c2324f0a540403b03656 pristine_git_object: dbb0cc043da9d3b3fe0387ec06cad2212a5eda07 - docs/sdks/authentication/README.md: - id: 45be241adfc3 - last_write_checksum: sha1:9225f47582f604557ea91e760d31ae603f859fee - pristine_git_object: 3be3c1d5c4ae22d894a6d2e50807becd48d984e1 docs/sdks/chat/README.md: id: 393193527c2c - last_write_checksum: sha1:a692435f7aa2f67d5bc8538316d08c79214e2741 - pristine_git_object: b25804b1451112e05dfe7cc74411fb336c697730 + last_write_checksum: sha1:9fde4e75c337b423e47cc9db5075fd2dca5b190c + pristine_git_object: c72d7f6ece1235feb6b7e1511a98e715222787bf docs/sdks/clientagents/README.md: id: 8e00e6d6b64e - last_write_checksum: sha1:2a62593e6e52585c7075d8bb0af121ed3ad783c7 - pristine_git_object: c9260f0d70ece48033eae05ab9180269f7a95661 + last_write_checksum: sha1:9ed278e068e688ef279d8094921192340374c644 + pristine_git_object: 7892e3945bebfa492a46aba2a5b9c8f40e92eac9 docs/sdks/clientauthentication/README.md: id: 463bffe80b61 - last_write_checksum: sha1:2899ef2b861e00c616567b4c0744dd25875cde4b - pristine_git_object: 9201f7476c8705a1148df694ebc259392f1d1e76 - docs/sdks/clientchat/README.md: - id: baf998e3d238 - last_write_checksum: sha1:016836b06ac82292ab19a371675f10ad747ca677 - pristine_git_object: 306fd83da354a9af45576d073863ba6c0e063da0 + last_write_checksum: sha1:0b8c84b99e08b362c6b1e3480aaf440e57312f91 + pristine_git_object: 8526aa7849aa70b86bb81ba74897cf8bf41250b1 + docs/sdks/clientdatasources/README.md: + id: 0d629dc3ac5b + last_write_checksum: sha1:06bd8a7c9756dd7a7c2c3ad316aa4f2986b49a52 + pristine_git_object: dc963fe4c00627c4535b18da0e8975e5ba6ae05a docs/sdks/clientdocuments/README.md: id: e0c074acef4e last_write_checksum: sha1:1d04199c521a44776ccde095130dd95f78ee2c07 pristine_git_object: 0b1eb74612f1db2af3216ffb57dea8f577bec91e - docs/sdks/cliententities/README.md: - id: d087d30c9006 - last_write_checksum: sha1:e371224ba6928117f8a09f1f1e53c7b5659e13ef - pristine_git_object: b4b1417634532320cf5e3e8120cd57b553df949e + docs/sdks/clientsearch/README.md: + id: 0a2a3cf68489 + last_write_checksum: sha1:9b42b7d5bfe3a6bf9e3f1fea5946eadc7e49e3b9 + pristine_git_object: a647106d2438e12653a2eab9b89833843e9ce5cb docs/sdks/clientshortcuts/README.md: id: d5a9d841b61c last_write_checksum: sha1:df6cf01922b6d4856a4d3e450b6ffbbf5c754bcf pristine_git_object: 2849603359bcff09def4b755ea8605b771728e16 - docs/sdks/clienttools/README.md: - id: 6c303a9741bd - last_write_checksum: sha1:b9b5a72a1ebf1aa7188896d3c08e6f195f50d6bf - pristine_git_object: bdf0280104a9a51a7633758a9dde25be414575ac docs/sdks/collections/README.md: id: 7985e64efccf last_write_checksum: sha1:2956c8ad6c61f1a6a50a36e654a96fce2ac6adee @@ -2921,18 +3030,14 @@ trackedFiles: id: 4671628477b5 last_write_checksum: sha1:a1037c52cd6be7317bc22df2161f774968ebecb0 pristine_git_object: 8847f26a2b7969f6525b6d59ac958d304e2cbc1f - docs/sdks/datasources/README.md: - id: 024d3ed36945 - last_write_checksum: sha1:c1556041a86fbe96c6af741b28ea2d0286a53ae5 - pristine_git_object: 23c48bbdb647bed17bfe754ed81b8b6769a132bf docs/sdks/entities/README.md: id: a140ac5181b9 - last_write_checksum: sha1:5991d3128186684bdf3e953fd50f73d7c299b442 - pristine_git_object: 16ea20806bb6344354564a6e86755e7b47ffe508 - docs/sdks/governance/README.md: - id: 87817eb7bf48 - last_write_checksum: sha1:370676bbc4e4473876ac05813769550cb56fd2bb - pristine_git_object: 3f889d0d63a87814af010afa26ec19da23eb3699 + last_write_checksum: sha1:6a3754a376a288921a5806a661ff3ada557b778e + pristine_git_object: 8cedba2b9145f70d53326257a18a45b79b2feb7c + docs/sdks/findings/README.md: + id: 7f7356eb9e9c + last_write_checksum: sha1:4a9e6a17696bd5750ba289f1422cff70beeef02c + pristine_git_object: 383ea27acd379ca6e26f5de0a465a73138c92931 docs/sdks/indexingauthentication/README.md: id: 3d8b5fccff24 last_write_checksum: sha1:755c43bdddec9ab2253d89070c130dc39b389966 @@ -2943,8 +3048,8 @@ trackedFiles: pristine_git_object: dfb88bff594b1241a6f7fa9fe1d6dc1cee7f1d8a docs/sdks/indexingdocuments/README.md: id: 7ca38da53414 - last_write_checksum: sha1:8e57f89fde77eac7b83d336f910f56dec25a86c4 - pristine_git_object: 4377e4a52db3399ce1bee65a5b61405960f7758c + last_write_checksum: sha1:a4af54ae0be6fb9545811305051e76d163522046 + pristine_git_object: 175c921713555a10c193131d1368aa2e355ef1a7 docs/sdks/indexingshortcuts/README.md: id: 5cf29bd168af last_write_checksum: sha1:399a7345328304bce3b1c223c5bbe3be720d60d2 @@ -2979,16 +3084,12 @@ trackedFiles: pristine_git_object: 6025b94e7355f974a45c9c00c892db4ad5f11bd0 docs/sdks/search/README.md: id: 5c534716244c - last_write_checksum: sha1:9b42b7d5bfe3a6bf9e3f1fea5946eadc7e49e3b9 - pristine_git_object: a647106d2438e12653a2eab9b89833843e9ce5cb + last_write_checksum: sha1:513fdb476f9b7e1c93c0f20c4003e1e7080bf2d5 + pristine_git_object: f2436172e70c7d3f503f53bf49f5e64629b0850b docs/sdks/tools/README.md: id: 044286549bac - last_write_checksum: sha1:9d0a408cdaeb2b0fe20c9635b53e837b39902d69 - pristine_git_object: edba57ef3bea1ee7dc48588fc7e0caf480160d5b - docs/sdks/troubleshooting/README.md: - id: 0c78de25ee92 - last_write_checksum: sha1:6743d398ee38294d587d40ee1fbfba1d351875b7 - pristine_git_object: ae68493cbc2efcd6a68533d683efd15fc92b4e11 + last_write_checksum: sha1:d15f9630eed856761c1aaa3185be056b58171163 + pristine_git_object: 2f3919d048068e734a2f2bd24dcfa7aa974b41c7 docs/sdks/verification/README.md: id: 8148670b64d3 last_write_checksum: sha1:5dae6116a97c546dd5d203beddd266ded05cdeec @@ -3023,20 +3124,20 @@ trackedFiles: pristine_git_object: 5a2797590d4be351d62915017d5b2a0f853537c8 jsr.json: id: 7f6ab7767282 - last_write_checksum: sha1:a4703f16a6b7e5f1c70db628a086fbc192c4ca37 - pristine_git_object: 6fcd5b2abefc0928c1a365dfb89eb5645c9c700e + last_write_checksum: sha1:7f0e258d6db98c5f9f66f24f1fb638eb90de730d + pristine_git_object: 4d1240f2079325b58159067458b5fcc1fdb41897 package.json: id: 7030d0b2f71b - last_write_checksum: sha1:3df60b3f500b44b6854cab963738aa525c124ce3 - pristine_git_object: 7932062471b4148dc81f0e63b4d3a68f0079bf0b + last_write_checksum: sha1:0cafd2b6a2a0a7ff64cd0aea96ff789c3fbfcdda + pristine_git_object: 752ff74a12c68d802054e3c9c5d97048a0d8b02e src/__tests__/activities.test.ts: id: 65fa859b8f59 last_write_checksum: sha1:756bc40095f4495bbf62739b8218bb4a559a24f2 pristine_git_object: b35dd997cba626160e8f3d19dde1b1a151e6ad85 src/__tests__/agents.test.ts: id: 3cec9af43334 - last_write_checksum: sha1:322ebbdacb5ae43f808b56157a41829290e67064 - pristine_git_object: aa86b438333058efd56afeab2f821f5a61f6b727 + last_write_checksum: sha1:e6fbcfad2ef857eb873023b47a0f4aa0aaa069a4 + pristine_git_object: d8d0af0f398ecd6e6715e2fac2df561eb70507e4 src/__tests__/announcements.test.ts: id: 1fbbe739ff78 last_write_checksum: sha1:775233d320d0d015e40c78c7b6634e45c634d033 @@ -3049,30 +3150,34 @@ trackedFiles: id: 23e6ed08eb14 last_write_checksum: sha1:39ab9e40c4d614a324b2f9acf847a399b0081eef pristine_git_object: 444554f233382fc0346176981511820d462f30e6 - src/__tests__/authentication.test.ts: - id: 691dee516585 - last_write_checksum: sha1:cfa2eb81c386a90cb67483220ab71c8c60d804a8 - pristine_git_object: b2aa34bc570db135ca70b8cda76467d7e3e66f37 src/__tests__/calendar.test.ts: id: 71ab180892a0 last_write_checksum: sha1:763bd960b8eba46f91c446c5646d9fcebfce5fe1 pristine_git_object: fa4dad795dadc97500b9b2c5971bfc00b040b7e4 src/__tests__/chat.test.ts: id: bf83434eb7e7 - last_write_checksum: sha1:0fe2def32496048b4e4c6d1fb65586a3eaa9e7f2 - pristine_git_object: 6937dd9f221d2113146bc2ffd8bb736745814b1f + last_write_checksum: sha1:be6685a0c123015c2c8b19f69e8ce58348606bbc + pristine_git_object: 81d2a20d1f5b755acf92935f22c42765f30a2589 src/__tests__/clientactivity.test.ts: id: 763dd50c7493 last_write_checksum: sha1:ba2524258d92b2768d107c5f3492552e317ff471 pristine_git_object: 896b272956e3f8387be1dab5c9e2dc64019747d5 + src/__tests__/clientagents.test.ts: + id: d02a28a2e760 + last_write_checksum: sha1:cf473910a780486c223c8524b7904e1cf3300a04 + pristine_git_object: a4b5695e1d6fa44d135e997bbae6dc4dad490619 src/__tests__/clientauthentication.test.ts: id: 7b157679ae60 - last_write_checksum: sha1:b2a5b5460e9e3f94f2543a7781afd18a63b9638e - pristine_git_object: 458302003fd1ddf082d34e2df8dd13ab885d290a + last_write_checksum: sha1:8d418e2633901fa6340946d12c034ef7ab6c2c23 + pristine_git_object: e0c251c85769486bc8cea65aba40d644d5ef1619 src/__tests__/clientchat.test.ts: id: d9914343a264 last_write_checksum: sha1:9d29049bfdc4d5c4a416c83abd6493c002b497d3 pristine_git_object: 4ff69f34d4ee7aa40cfe2b7616f89869954063b3 + src/__tests__/clientdatasources.test.ts: + id: 62dc5e3af27f + last_write_checksum: sha1:8918b301f0a5ad0064838dd1d19bc61b23b73f4f + pristine_git_object: 184e80c2a54978abcb419a1c26a295e38c1432a7 src/__tests__/clientdocuments.test.ts: id: 21641cde1726 last_write_checksum: sha1:506e775bb256d8feb7b882e7f0729c26a10cc582 @@ -3099,24 +3204,24 @@ trackedFiles: pristine_git_object: 265beab17df905d6f047f8654743eec13919f088 src/__tests__/datasources.test.ts: id: 18a671f4487e - last_write_checksum: sha1:bc0748627e15b80623d18862e85ed041d87fbff3 - pristine_git_object: 27025fea2b384eec4e5a46cdf0cc96c8c4c8b8bd + last_write_checksum: sha1:266dd3797b0b9d122f0df5d3764ab315dd2ece93 + pristine_git_object: 6d64772417edb35a78215d0de49b02222857d5d8 src/__tests__/displayablelists.test.ts: id: 13fa6bb1c20b last_write_checksum: sha1:4143fbef7f74209c881b79ba0cad36703e99ccfb pristine_git_object: f620038bdde7f0d52feeb18a845c76282ce857cd src/__tests__/entities.test.ts: id: ea94dfb0fbf9 - last_write_checksum: sha1:c325e5d8f4e6abd5711bba061e78adb9e418ea83 - pristine_git_object: cc37bc60a91a50446e33359964d192b419b9a585 + last_write_checksum: sha1:a2c438e21f030ccfa6ee2c5c2f7a4a4d0b88b81f + pristine_git_object: 38a0e7b0bebfc18c41523a6756485baccfaf8712 src/__tests__/files.ts: id: 0d6c3f8fc578 last_write_checksum: sha1:f6d40d34545c302389e3bd18343ea5fb3e3013e5 pristine_git_object: be850f56c345794ac07d949c7d42371e337c5308 - src/__tests__/governance.test.ts: - id: 63127dff57fb - last_write_checksum: sha1:c6c72aa188c7d8df38c414cc6303365d346420fc - pristine_git_object: 933ca26f974bc9402693f0360721dc007fe7e36e + src/__tests__/findings.test.ts: + id: 5c813049d90a + last_write_checksum: sha1:bac5c2dbc5befbb60e828a2990c4ece10a903bb0 + pristine_git_object: b7bbdf93ba1591d4b15ec30d0ed25d4580d1753f src/__tests__/indexingauthentication.test.ts: id: 986f5102cbdd last_write_checksum: sha1:6b75b40742ae8d2a00b5bd6607101158e25f911e @@ -3135,8 +3240,8 @@ trackedFiles: pristine_git_object: d252821b825c62856886e3ab9287181d7ef7f9de src/__tests__/messages.test.ts: id: 39e293f09219 - last_write_checksum: sha1:c78b09c09e64da0655a3e0ecbadabe82980ef7d1 - pristine_git_object: f390543460d7bd3c678c17579e755b9e06faac16 + last_write_checksum: sha1:614ea7fd801e89ad1a53d01b4b5129e9501e54b2 + pristine_git_object: 12904134bbdc280929babb05d7977adda65fc58c src/__tests__/mockserver/.gitignore: id: 4a7fc421b6b6 last_write_checksum: sha1:228e1b05712a973948fd771323a2140a3b355ff4 @@ -3191,8 +3296,8 @@ trackedFiles: pristine_git_object: af3a6d136d837850b34ed893a8faf800ea114721 src/__tests__/mockserver/internal/handler/generated_handlers.go: id: e6f590a8ce11 - last_write_checksum: sha1:f4e030afb44de8829fdc399f5e28b3023fc9775e - pristine_git_object: 97b57be32da124d39370ee1ee595fa12902ef4ba + last_write_checksum: sha1:b09114bb3690ed7df811621caa4007f761cd7dde + pristine_git_object: ac274cdacaa88224dcc7d71fcd148a8780ac84e6 src/__tests__/mockserver/internal/handler/pathdeleterestapiindexcustommetadataschemagroupname.go: id: ef047f0e0f32 last_write_checksum: sha1:187ff16d05efa1c937632f61dd3f49e49691d5ff @@ -3201,6 +3306,14 @@ trackedFiles: id: cca19fb5005a last_write_checksum: sha1:a12129405accab2b90ed80759ac5ae1c0ad6d1f5 pristine_git_object: 5508b764506a6430fd0448015385e959bbd35722 + src/__tests__/mockserver/internal/handler/pathgetapiagentsagentid.go: + id: cb3e9dff49b4 + last_write_checksum: sha1:47dc233b6278547f5eaf1352daf99b6e546a0348 + pristine_git_object: 3e63328587f0a6513d83e949148e330a4f621bf4 + src/__tests__/mockserver/internal/handler/pathgetapiagentsagentidschemas.go: + id: e095cf890e73 + last_write_checksum: sha1:dec4b7dbf683ac9ab16c749e9e2bf7d1f29b0046 + pristine_git_object: 4acc6c497e6435bb7c095577f9a0db82043ac61f src/__tests__/mockserver/internal/handler/pathgetrestapiindexcustommetadataschemagroupname.go: id: 68f9bc7ddc35 last_write_checksum: sha1:4fe0018044e99586f72be23534b463468e194ba2 @@ -3253,6 +3366,14 @@ trackedFiles: id: 4a84c44a0136 last_write_checksum: sha1:39b22d980421128b90c41c84170e2517e737ddd2 pristine_git_object: 107d1899730ae5b9c68c677cefb93f95b873b1c9 + src/__tests__/mockserver/internal/handler/pathpostapiagentsagentidruns.go: + id: 5bebaf9b24ce + last_write_checksum: sha1:736b0dacbb48c260e1f743b956d3a711eeb2da39 + pristine_git_object: c1d674a617024a559ea50540d0b3fa2a79613941 + src/__tests__/mockserver/internal/handler/pathpostapiagentssearch.go: + id: a8776f04225b + last_write_checksum: sha1:f5858a05fa6390d53e2faef56ec9290ae63f6c63 + pristine_git_object: a0cc4a107feef818866b485579146232ae5b455a src/__tests__/mockserver/internal/handler/pathpostapiindexv1adddatasource.go: id: c6cf92f4c878 last_write_checksum: sha1:4f89e5f48296dd620e91baae77d85913b9d8e2f5 @@ -3353,6 +3474,10 @@ trackedFiles: id: 54397bfd5c25 last_write_checksum: sha1:6d33fd803451d8939f9bfd9fc298f7011dd9ad52 pristine_git_object: c2e8c29077f6c5f3aca9fea9aaab59318ca4a6f9 + src/__tests__/mockserver/internal/handler/pathpostapisearch.go: + id: 53fb32000093 + last_write_checksum: sha1:81fd212ba125c73b475a1f479e7555e441369ab5 + pristine_git_object: 9baa62914befd9597996b2c8ad6fe1f93f93440f src/__tests__/mockserver/internal/handler/pathpostrestapiv1actionsactionpackactionpackidauth.go: id: 4444898143aa last_write_checksum: sha1:9e82e0bfdaf137d17892ede8109c01e32ea218f3 @@ -4981,6 +5106,102 @@ trackedFiles: id: 518107b2880b last_write_checksum: sha1:c3f4bae2253f92fb4af4d39c88ce7618c5b00297 pristine_git_object: 156e1ad89aa4507eb2d9a25bc663dcef3908b38b + src/__tests__/mockserver/internal/sdk/models/components/platformactionsummary.go: + id: 0620cdb117a7 + last_write_checksum: sha1:57f79cf1f4c59062d1c3bee2b30bd738335dffae + pristine_git_object: 9d6e61949a63b7e0b41cfe0617c372f5c99cae44 + src/__tests__/mockserver/internal/sdk/models/components/platformagent.go: + id: 295e6fdc8185 + last_write_checksum: sha1:6e79108103c356bdb3ec8dd103d5bec5063712c8 + pristine_git_object: e81931eb8a00b057118419a8303308c672794f50 + src/__tests__/mockserver/internal/sdk/models/components/platformagentcapabilities.go: + id: d7953f8005cd + last_write_checksum: sha1:cacb5a3e7ff63c8b3068cbd641122271b1f02272 + pristine_git_object: 62a24950faaf53b38e72d07fbeaff5e4436ec4f7 + src/__tests__/mockserver/internal/sdk/models/components/platformagentexecutionstatus.go: + id: 427ee3a8d44d + last_write_checksum: sha1:55bc834f436f45c6ca43838d98fc23a08ff0f3ca + pristine_git_object: c32ab5e6215218818bcc574025dc2643684fa34a + src/__tests__/mockserver/internal/sdk/models/components/platformagentgetresponse.go: + id: a2106a7f5d0d + last_write_checksum: sha1:f91d3ae2d0196cc64015c92986ead2c9827f4735 + pristine_git_object: 5b67366587d737fe54801ccca768b69a9d5d07ce + src/__tests__/mockserver/internal/sdk/models/components/platformagentrun.go: + id: bb2d9f675f4a + last_write_checksum: sha1:77e6650613602883baf6a1b3832e397f59508c36 + pristine_git_object: fdba97e5fd3304a2ca7ae62a2f0ec80d7b270aad + src/__tests__/mockserver/internal/sdk/models/components/platformagentruncreaterequest.go: + id: 7c8f470c623b + last_write_checksum: sha1:d5fe754ba2e35cf4452cc6c5dfd96121b3670b86 + pristine_git_object: c2d7aa3686bdd557a68924f5c35e779b57057eca + src/__tests__/mockserver/internal/sdk/models/components/platformagentrunwaitresponse.go: + id: 949626f75f93 + last_write_checksum: sha1:239b3f36488b7d9f367cc23a149bd723bebec529 + pristine_git_object: cc33b46f2e1d3135322ee8397d8ff1143f1130d3 + src/__tests__/mockserver/internal/sdk/models/components/platformagentschemasresponse.go: + id: 32d47ed99b91 + last_write_checksum: sha1:a22ae1e737aef2ac0f4d5c86355cc0cb341aef7a + pristine_git_object: 4e2519ce3eb1af4c1e98369553d24c07ae059963 + src/__tests__/mockserver/internal/sdk/models/components/platformagentssearchrequest.go: + id: 2ce2663e75bc + last_write_checksum: sha1:ecbd66b2931482e539758a95f7e708b1e4f2bc59 + pristine_git_object: dcb71156c21848940b78e84946b1b96cd8de65cc + src/__tests__/mockserver/internal/sdk/models/components/platformagentssearchresponse.go: + id: 9c7f20c6f3c5 + last_write_checksum: sha1:f9597b52061dd4a7974523162383b14c6b14610e + pristine_git_object: 233e621c689eef6d95a9dfd06f6c0c2ee05a8adf + src/__tests__/mockserver/internal/sdk/models/components/platformcontenttype.go: + id: 35fc64c34a6d + last_write_checksum: sha1:ccf4b0720954621f96c5f58cd961c0c9d2cf6e7b + pristine_git_object: 858173bc8b32525c9b0096849cd5750c82a1a84c + src/__tests__/mockserver/internal/sdk/models/components/platformfilter.go: + id: 81cb594b3436 + last_write_checksum: sha1:4bf42923f90533fdb894212edc6c05e0b4d6795e + pristine_git_object: 7e8a8259e5c404a9cf209368e998ea09c14cbcfa + src/__tests__/mockserver/internal/sdk/models/components/platformfilteroperator.go: + id: 69a989d8c41e + last_write_checksum: sha1:4623e784ed2b878a64e50037b22d6f283b377d4d + pristine_git_object: 3fadc58e96289049edb251f63dc1a2250e195dc1 + src/__tests__/mockserver/internal/sdk/models/components/platformmessage.go: + id: 392f31bb47af + last_write_checksum: sha1:563ad3602c9f7ec84b0776ab8743c12fdc966fc5 + pristine_git_object: 379405d33a0e9a916a3738387797bd45bc127650 + src/__tests__/mockserver/internal/sdk/models/components/platformmessagerole.go: + id: 9ef790fca545 + last_write_checksum: sha1:85dab917aaf71910026f1795b9a3be28278c4c83 + pristine_git_object: 9c1ff4b7a28ba5a120599a87efe874a42e06021a + src/__tests__/mockserver/internal/sdk/models/components/platformmessagetextblock.go: + id: f43622f0816b + last_write_checksum: sha1:53ca4112071883c1f3b88f984babb7103db17e2b + pristine_git_object: a1c1ac83daed540aa6f3aff3e3d36eed190caec7 + src/__tests__/mockserver/internal/sdk/models/components/platformpersonreference.go: + id: 4b01d54383cf + last_write_checksum: sha1:a7e6e0d11a48c06c18640aebc8c84cc0d53eb3ae + pristine_git_object: 238fa4f2bfc956ff1fb4b9e209d8190033c71cf8 + src/__tests__/mockserver/internal/sdk/models/components/platformproblemdetailcode.go: + id: 1670c27a2f37 + last_write_checksum: sha1:398a2b34f45e420deccfd8cbbfe92ae59f70cfe1 + pristine_git_object: 51d71ad42ef5291c3c061c67779721314acfaef4 + src/__tests__/mockserver/internal/sdk/models/components/platformproblemdetailerror.go: + id: 53e6bd95135a + last_write_checksum: sha1:eda7ebc57dff994d36558390636c6714cbf225fe + pristine_git_object: be26512c1ffadae6461198779d64746313efb886 + src/__tests__/mockserver/internal/sdk/models/components/platformresult.go: + id: ac8208a62711 + last_write_checksum: sha1:0f1ab5cb7fa8fe0de1d74937c7846742427928c9 + pristine_git_object: 891cc5f53aac57c9bdf81fd152575996bc83a400 + src/__tests__/mockserver/internal/sdk/models/components/platformsearchrequest.go: + id: f07f66ad8a85 + last_write_checksum: sha1:ae81ab85c958a556d1db8ab4b294ce9174708f79 + pristine_git_object: 4b25d70d179f13ee7a928beee60b116edd155ea8 + src/__tests__/mockserver/internal/sdk/models/components/platformsearchresponse.go: + id: 609dccefec94 + last_write_checksum: sha1:8a87c40e6ec0ea1471bb5702ee6d9c9b7c60d7c8 + pristine_git_object: 95bffd73a040f0b46fd8961c78a364f65be25416 + src/__tests__/mockserver/internal/sdk/models/components/platformtimerange.go: + id: b8e92c9af7ab + last_write_checksum: sha1:4e21c170201779eccc4d8c31ddbd56673895e674 + pristine_git_object: 324a22fd24bcaec171674bdcb42eee769463f21e src/__tests__/mockserver/internal/sdk/models/components/possiblevalue.go: id: e74ffb55949f last_write_checksum: sha1:762425cc650e2e5fb24922f713ae5d6f8604b93b @@ -5789,6 +6010,26 @@ trackedFiles: id: e7bb8d8028b2 last_write_checksum: sha1:062c4f6a974374a82f872188faad7348ecfce679 pristine_git_object: 529a1b3d847adc250f1ece0b932e457b5be76c08 + src/__tests__/mockserver/internal/sdk/models/operations/platformagentscreaterun.go: + id: cfdbe175ae56 + last_write_checksum: sha1:20b76e0d5371f6e5801a3c18d0515dd3dad247b3 + pristine_git_object: 5f0f5cd94cf9b088a826f40b47f58960f3a383da + src/__tests__/mockserver/internal/sdk/models/operations/platformagentsget.go: + id: 76aa63b8cbba + last_write_checksum: sha1:1825260fda21a35299c430fcac6b04dfc8799fee + pristine_git_object: 5eb7082b4dfe7c2ae86976571e292291444acce5 + src/__tests__/mockserver/internal/sdk/models/operations/platformagentsgetschemas.go: + id: d8573939e7a1 + last_write_checksum: sha1:c695ec1872fe32f41ef7d7e8d28c2012d4632770 + pristine_git_object: 9adf5c6798d27597a022794337d0af144d4c0bb6 + src/__tests__/mockserver/internal/sdk/models/operations/platformagentssearch.go: + id: 3cec32b020d0 + last_write_checksum: sha1:5dd2525c208620f34ff07f429d70c4e6f56cda89 + pristine_git_object: 400797ac0ae0d3518c1e2fd0e75fad70ad0e9373 + src/__tests__/mockserver/internal/sdk/models/operations/platformsearch.go: + id: 8d5d0787d271 + last_write_checksum: sha1:99dd76e44d3d48fb22d7582ecea439e2505ca224 + pristine_git_object: 20b4d8b2efb5bc9a67f3e927fe3d3f919bf85897 src/__tests__/mockserver/internal/sdk/models/operations/postapiindexv1adddatasource.go: id: 4e5c790cee10 last_write_checksum: sha1:883a8812b033023bad4b6b01e7717970bbd2c3ba @@ -6021,6 +6262,10 @@ trackedFiles: id: 9ad28c05ae2b last_write_checksum: sha1:c9da8d5d9bd618f1e7811d6db08d8b263377b666 pristine_git_object: af5afdee1ebd21ce216a3d062f06692ad5e2b5c0 + src/__tests__/mockserver/internal/sdk/models/sdkerrors/platformproblemdetailerror.go: + id: 9cc51dae2363 + last_write_checksum: sha1:c30318ce86381820ebdb0f9cd464efa8303ba4a2 + pristine_git_object: 002b5190bd1602b7cdbd767c30ea66394aca9662 src/__tests__/mockserver/internal/sdk/optionalnullable/optionalnullable.go: id: 850855fce965 last_write_checksum: sha1:1d28f05133d18eaf57ced2fe7826dd753ddf11ac @@ -6123,20 +6368,20 @@ trackedFiles: pristine_git_object: 7ce8f5effc329f11e78343356b16576bf94b9fed src/__tests__/search.test.ts: id: 97f2005515d0 - last_write_checksum: sha1:ee0a75d749913b37654600e5b53b6d9cd7d60979 - pristine_git_object: c747483d172c06689dc66e150b2fbf704b483842 + last_write_checksum: sha1:acb7738ff2212711e474f3a92d405c03a9e25ea1 + pristine_git_object: 91665302605d91cf7f941899c0c213fed0cd854a src/__tests__/summarize.test.ts: id: 3105d6ebc7eb - last_write_checksum: sha1:9e121613a73f5522578bb56e52a7499969cfa303 - pristine_git_object: 4b946fe339b5bd4839a100d77a8b7b6e43c8415e + last_write_checksum: sha1:3c63e72244c67a0739411e8bd5ce359a9b52679d + pristine_git_object: 9b9473ea762e1f520b103a8bffd8b35a0f217bc6 src/__tests__/testclient.ts: id: f142c080bff8 last_write_checksum: sha1:3a38647391f52221c009a9273eebf90793b3d430 pristine_git_object: a5c1edbea36b134262690c848dea7a7522fcf479 src/__tests__/tools.test.ts: id: f56d59823ef8 - last_write_checksum: sha1:d5694aaa8b4d222aba5f5353fbeb0c21327c0536 - pristine_git_object: af5d0b2699d935e702b74af89e87d24861def7ac + last_write_checksum: sha1:e7151ee33663c54614558fd50125c140911afcba + pristine_git_object: b597fc4d7278e84e2be124339f51f4dc752e2771 src/__tests__/troubleshooting.test.ts: id: 1f0f352d1c2f last_write_checksum: sha1:ae012c71aed121aeaf98640aca35ba5acf4d251c @@ -6149,22 +6394,22 @@ trackedFiles: id: f431fdbcd144 last_write_checksum: sha1:1807da249710bc365f5fe3425640b246d714f3ec pristine_git_object: 98cadc8fe5496bfbf22b46cf0c81ff4daad6f2c9 - src/funcs/agentsCreateAgent.ts: - id: 51073dbdf0f4 - last_write_checksum: sha1:2b12fc1b4b1afb1b6a105fdfd11a0af5521095d7 - pristine_git_object: 5535825e15a675cf56593853fd56fa381b7eecda - src/funcs/agentsEditAgent.ts: - id: 973833b5affd - last_write_checksum: sha1:4c530644720339d3f71c365617d8d54291a48203 - pristine_git_object: 6a3050042866e8f5a60c5dbd5706663838dc0a23 - src/funcs/authenticationCheckdatasourceauth.ts: - id: 735a35286828 - last_write_checksum: sha1:553e0f8aea39eca64a655dc4826616f746d21bd3 - pristine_git_object: 1600d4a9cb9eb5c229ac84cbf52ff267b1eb7e21 - src/funcs/chatGetChatFile.ts: - id: ec3e59174ced - last_write_checksum: sha1:465bf9ad95473f0e3cfdf08e53436f3911ca66b4 - pristine_git_object: 3029f9a0c5e0f3730012e910e579171cee2dfd65 + src/funcs/agentsCreateRun.ts: + id: 806c3e535dd1 + last_write_checksum: sha1:1f5dbd2aa9517af0de7fa5809ca9dbc6167f386f + pristine_git_object: d87e9db9416cb720a3409739c2133b346499700b + src/funcs/agentsGet.ts: + id: ee72478b2e87 + last_write_checksum: sha1:3795b137684423944b81ba30e2b18d1488ebaf26 + pristine_git_object: 62be41a887b1468daa563c7dbef183254f979b55 + src/funcs/agentsGetSchemas.ts: + id: edd2ff0bf57f + last_write_checksum: sha1:f09bcbf657dab65ffb2cf7fc9c8dfc345e5b0f17 + pristine_git_object: f63dfccbe915f542c374bde1e6e12346b504b833 + src/funcs/agentsSearch.ts: + id: 9728cd0dc835 + last_write_checksum: sha1:496016abd0709cd2d7e26d6d9d7db022d2491576 + pristine_git_object: 6ce45dcbdcf096a952a5fda49ecb6500f6618774 src/funcs/clientActivityFeedback.ts: id: 49d7d5074766 last_write_checksum: sha1:21b64c8fbc0f0818f679df65bc4f119a8efbc215 @@ -6173,18 +6418,22 @@ trackedFiles: id: cf6f3781cc3d last_write_checksum: sha1:1bdb050107dab7277433bda763e64500ec683489 pristine_git_object: cec2f5603dafa6a0d4a06e8f32decaabb7732f98 + src/funcs/clientAgentsCreate.ts: + id: 47ed45af6a00 + last_write_checksum: sha1:c10923698b65418f9be5bf421945ad3975120037 + pristine_git_object: bb57721a408c9cee1274f5a4c4cd337c354a31af src/funcs/clientAgentsList.ts: id: cdce1c4a05ef last_write_checksum: sha1:67035cb3bfbdecd00497c452aa3dcd8ec5f03ed9 pristine_git_object: e6e767a0ba007d0da08ede39b4afc03d85b236a9 src/funcs/clientAgentsRetrieve.ts: id: 5e4255c3b5de - last_write_checksum: sha1:12d8171cc285beb74120a729c2971e1500bf8107 - pristine_git_object: 6e20075541a012d0244fb410e7dfaee6a1de36f3 + last_write_checksum: sha1:98cd322e62ec5eed0f358f0728c64273e42a86d2 + pristine_git_object: 36efec1a866f694165aff57a23002114127aaa2d src/funcs/clientAgentsRetrieveSchemas.ts: id: e1b3039050d8 - last_write_checksum: sha1:beecf7b48872779702599c97121d5b3bf15f4074 - pristine_git_object: 6280126c605b8ac4a017a53223304f68704a2a13 + last_write_checksum: sha1:cf210b8447a44e631ef48d82894600fbc4abc3b4 + pristine_git_object: 360a292afd1ebaf530ce1856f897333a5efbf97a src/funcs/clientAgentsRun.ts: id: "35597425e048" last_write_checksum: sha1:cc57182ce39a9c9419556da10c49c36e52f634a4 @@ -6193,6 +6442,10 @@ trackedFiles: id: b94893e7a2f1 last_write_checksum: sha1:25bd76cdf35b4be07f97e2609f51d0f1af68c073 pristine_git_object: 9a8e50ec52cf2dbc0929b448f1cac5d1662008e6 + src/funcs/clientAgentsUpdate.ts: + id: 5143be254b1d + last_write_checksum: sha1:2a50053ac63dde647c4a9ffcd0aa9fbe87a3cffe + pristine_git_object: 4d36e2bdc54e2c178a702c19444ceab4a120ba19 src/funcs/clientAnnouncementsCreate.ts: id: 2c33af0f9713 last_write_checksum: sha1:1c58c8cc0dda58a019514609e1ad8ed35f5b4b8c @@ -6225,6 +6478,10 @@ trackedFiles: id: 861cce30f82e last_write_checksum: sha1:24bad70261dfd15e97ab0e9adfbce032922a2418 pristine_git_object: c46671a7ffd134ed8828d3596e7c7cb2d5944721 + src/funcs/clientAuthenticationCheckDatasourceAuth.ts: + id: 8cfd40ff8f14 + last_write_checksum: sha1:947373b02ae0734dcca9cf5cd6a60c50458a7877 + pristine_git_object: 52b5e0d656d7f3290ad36b3a27184443ce454e28 src/funcs/clientAuthenticationCreateToken.ts: id: 8c3ca8c0f7bb last_write_checksum: sha1:c7d3fec1524acd57c76004b302e51c4fefe54029 @@ -6261,6 +6518,10 @@ trackedFiles: id: 27fa8b1413f2 last_write_checksum: sha1:d461be2f18bdab39b4831046447886021a910457 pristine_git_object: 288585bfcbbee6bfa395901e9bc85c2984cca05d + src/funcs/clientChatRetrieveFile.ts: + id: 40175084109f + last_write_checksum: sha1:d92fa3eb70a0fcc2d64dfcd000add088c20e6437 + pristine_git_object: 4f1e7d3246314ec43caea702cbc874b9d5356c3a src/funcs/clientChatRetrieveFiles.ts: id: b461147623e1 last_write_checksum: sha1:4fe1432219e8ae1aed1efba2ece8e5b8ff84a83c @@ -6301,6 +6562,22 @@ trackedFiles: id: 6e55e0e9d347 last_write_checksum: sha1:8a1a4b415d8339c73e29a772319a417b6ec237ac pristine_git_object: 04fa058c0c5b36c99b8902bc21e54c8eef966d40 + src/funcs/clientDatasourcesRetrieveConfiguration.ts: + id: 3dbe17712c34 + last_write_checksum: sha1:ed0844211d8781c7999232b70cbb42a7ce6e6d5f + pristine_git_object: 2e9b530fd7072785aee3b05751eb2881fd61f351 + src/funcs/clientDatasourcesRetrieveCredentialStatus.ts: + id: 0b2b6eef06ed + last_write_checksum: sha1:2ad61e564fa8c8606de6c0d27760765bf80b2361 + pristine_git_object: 126a48eead2aacab147870f58dd43b6ca557a659 + src/funcs/clientDatasourcesRotateCredentials.ts: + id: 76ffb99fc76e + last_write_checksum: sha1:f3c691773e5b1c1957edaffb03415980e6dc3436 + pristine_git_object: e419f8403e26c7a30b3f50fe532b2531e4ee121a + src/funcs/clientDatasourcesUpdateConfiguration.ts: + id: ccdfa621f9d6 + last_write_checksum: sha1:9721c918a09d42bbe7ea2e61d001ccbc704c5b9f + pristine_git_object: 3517217d984ea5f97cd72c44b467fcf53a1fd9b2 src/funcs/clientDocumentsRetrieve.ts: id: a6f01183d4b2 last_write_checksum: sha1:781128432b6f9f3cef71122ac518b386660e8f95 @@ -6325,6 +6602,26 @@ trackedFiles: id: f0bbe78cae72 last_write_checksum: sha1:24513293ab7499be82f0491efdb9d24a530f39ff pristine_git_object: f4062ea9cc16b1a5c574ab5c38a574841e9b1206 + src/funcs/clientEntitiesRetrievePersonPhoto.ts: + id: 45169116f8a8 + last_write_checksum: sha1:da57bdc5fc76aaf4717fb7de5767b260a672e2bc + pristine_git_object: 99bbc620570e7674612066946dd45476b9508564 + src/funcs/clientGovernanceDataFindingsCreate.ts: + id: e103cdf58c1a + last_write_checksum: sha1:51784c1d63e6f171225abcfcdf2d5264e6e28cc0 + pristine_git_object: 036c147488a7391b8e0a585ea16a654fc5a832e5 + src/funcs/clientGovernanceDataFindingsDelete.ts: + id: c8be62cc967b + last_write_checksum: sha1:b42f20178dcae4c1e3beb8cf2caff76f93ba1373 + pristine_git_object: 1d30e14a0b21f66565cb146493659a6bbf6253bc + src/funcs/clientGovernanceDataFindingsDownload.ts: + id: d256173c4ee6 + last_write_checksum: sha1:c10c69a8287e4f7ec68d1b5df5b37f8f96cd33b2 + pristine_git_object: 68a976f177755270130490d63f4826cffb364617 + src/funcs/clientGovernanceDataFindingsList.ts: + id: d0788e1266f9 + last_write_checksum: sha1:2f167a696b535ffaabb9ba8fa89d61c106f513b8 + pristine_git_object: 2d42d78adfd680336a7b405c840a40279b7a6af6 src/funcs/clientGovernanceDataPoliciesCreate.ts: id: 798d0514f6f8 last_write_checksum: sha1:f37ab46d3b90f811562559812e6d62b170aff56c @@ -6433,10 +6730,18 @@ trackedFiles: id: 8a7c715c6244 last_write_checksum: sha1:2c1a09686e4664c437415d02b01bd2bc9d7885da pristine_git_object: 850506abac780ee152fd512fb317f18fac95a2f4 + src/funcs/clientToolsAuthorizeActionPack.ts: + id: dc605eda5aff + last_write_checksum: sha1:89e92e6b46d797edfa678420f6eef2e3a361f142 + pristine_git_object: 4439ae4b7f24db1c34d6f224163c70e1d348034f src/funcs/clientToolsList.ts: id: 6d9c352c5a56 last_write_checksum: sha1:fa945ca1b2d8b118e4e481b889d4afd6fc5b1189 pristine_git_object: e42906d3d2f1724fdf948d26738306cd77cfc191 + src/funcs/clientToolsRetrieveActionPackAuthStatus.ts: + id: 005f9b5127d8 + last_write_checksum: sha1:0898338d162311b9f8da7e10f645b970e8196e28 + pristine_git_object: e27d551a2e053cee5ec52b38ac1dbf11975e05b1 src/funcs/clientToolsRun.ts: id: ff6b51691d7d last_write_checksum: sha1:cf3f1a58663045eb2408f8cd13f49a10b573b72a @@ -6453,42 +6758,6 @@ trackedFiles: id: fe161cf2f5d8 last_write_checksum: sha1:353051c112f318b7a9edb082e7939da41316566c pristine_git_object: a2733ce6e00262df4a7b3a8caefefb367508b027 - src/funcs/datasourcesGetDatasourceCredentialStatus.ts: - id: a541b9c70d16 - last_write_checksum: sha1:4fd121dbecdfb3406a8c2455e1073db0a20c70a2 - pristine_git_object: c35e8689bdfa9c7a9f14e333f4ca7c3c5f9a3fca - src/funcs/datasourcesGetDatasourceInstanceConfiguration.ts: - id: 76db7ac74ddc - last_write_checksum: sha1:bcaf19a42c8f66a36aedd34e28eb45ce8179043f - pristine_git_object: ae598b8bff5b30ebca784e0d68a3b6919bc2ed86 - src/funcs/datasourcesRotateDatasourceCredentials.ts: - id: 494d27ff47ff - last_write_checksum: sha1:3ce5e2be55e6857860b11b8815f44eb386af461a - pristine_git_object: ad96776b0d0af56e47bef7f8b9f3fa3debf81a1e - src/funcs/datasourcesUpdateDatasourceInstanceConfiguration.ts: - id: 43e250fff0c1 - last_write_checksum: sha1:3c943039b46d331fd082439c1ca0aa8bdc705539 - pristine_git_object: 7941b6c199319aefac3334206addef7998ef4dc8 - src/funcs/entitiesGetPersonPhoto.ts: - id: c5da648aa63d - last_write_checksum: sha1:c9af04f53d6392fb31ec83c2e0369e7d5cc74e2b - pristine_git_object: 3d4b9ee65c78c036803a885b108036644a05f7f8 - src/funcs/governanceCreatefindingsexport.ts: - id: 5e4433cb388c - last_write_checksum: sha1:b40bf2249309cc6f8d780de47d3dff51bb4b0f4f - pristine_git_object: 6bd692d45629d17839adbf3b9bff557c302626fd - src/funcs/governanceDeletefindingsexport.ts: - id: bc9273a23f56 - last_write_checksum: sha1:794cfc1f0bf38915407dd8e2d5e9fe80cbb97f29 - pristine_git_object: 1a4983565e9c030e8f6feca5c3493a0ce2f6ef55 - src/funcs/governanceDownloadfindingsexport.ts: - id: 03396f39358f - last_write_checksum: sha1:18959ffc76d8382c10b803b4dd01821bdc7675f4 - pristine_git_object: 56dc470c4be797ef1c1dc36cb1d8daf5d85f72e8 - src/funcs/governanceListfindingsexports.ts: - id: 7f1332e1467a - last_write_checksum: sha1:f03efa26f57f7b5931c0cbfa535bed59d53dc9e3 - pristine_git_object: 64ec5a30cd3afa239b9f2ea207fc7dd50b1e6617 src/funcs/indexingAuthenticationRotateToken.ts: id: 28c1f0ce548a last_write_checksum: sha1:0484aaa5a824d02b87bfbd2f7dd3586ccd984e8b @@ -6545,6 +6814,10 @@ trackedFiles: id: 263f3b216855 last_write_checksum: sha1:2bc19907a7a370301da079ba0015452f2f2c86dc pristine_git_object: 8b6cb06c46ef05b7990d054a5b63e5095fa28a2a + src/funcs/indexingDocumentsDebugEvents.ts: + id: cdf90816c99f + last_write_checksum: sha1:601a44ddec0ebb1a50f8833d414b2e643ea5e322 + pristine_git_object: 8c4a51c521576f155ade1894d55a088a76953460 src/funcs/indexingDocumentsDebugMany.ts: id: ecece3b7ca2f last_write_checksum: sha1:80c0b7c15ec0a21cd0acb25222f4fd84e02519c8 @@ -6657,18 +6930,10 @@ trackedFiles: id: d3415b0af8c7 last_write_checksum: sha1:5d1ec60b7b232f01db017d50c7de0bdd3be15e7d pristine_git_object: 8ac792c66214838901f88f279840f31cb33b1472 - src/funcs/toolsAuthorizeActionPack.ts: - id: d110954f314e - last_write_checksum: sha1:b0838ee854efc76c799bf647627b151fadefa1e6 - pristine_git_object: 0036b2691ef031455870bc85af144de943e07617 - src/funcs/toolsGetActionPackAuthStatus.ts: - id: 54265f6b23fa - last_write_checksum: sha1:c934194eed5587297359ed6e67634536b2af9178 - pristine_git_object: 450d9b335ad8bd9bf74b4bd7cfcefc45f573600e - src/funcs/troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents.ts: - id: da3ee94837ee - last_write_checksum: sha1:598d9d433779d52e4f07370d0bc36549943e3f08 - pristine_git_object: 38a2f74b858417ee1a44509d05d5961fb4285edc + src/funcs/searchQuery.ts: + id: cc6075d2a5d0 + last_write_checksum: sha1:5570de81d5071d3b433e53bdd71992df40372840 + pristine_git_object: 8e6b7cd843a81112d52bae08bda3287870e77f8b src/hooks/hooks.ts: id: a2463fc6f69b last_write_checksum: sha1:6e42a763f6217572cc59f8799af55dd21d961be9 @@ -6691,8 +6956,8 @@ trackedFiles: pristine_git_object: 42d9739ab67c2fec0689f83777ffa5e1f875e5d5 src/lib/config.ts: id: 320761608fb3 - last_write_checksum: sha1:40b9951578bc1bc26a610a87ae432c36472bfaf9 - pristine_git_object: 366d3577f5f3ad32d8d67467c46c6770fcc94a10 + last_write_checksum: sha1:745e35397e4fd6f62382ea091f073a7eb52e3b41 + pristine_git_object: 9eabb6f8da9b2e8ad6fccd508c5c0ccff3dc8521 src/lib/encodings.ts: id: 3bd8ead98afd last_write_checksum: sha1:a74725064d06b6994b95873c037975d2f2e63467 @@ -6755,8 +7020,8 @@ trackedFiles: pristine_git_object: 6752bd4aedef9ab8b763549ee7cb52a79e186df6 src/models/components/actionsummary.ts: id: a7cb50d5cb41 - last_write_checksum: sha1:ff6db164eb6e03f6f038e4ec64ea5e40c15805ca - pristine_git_object: 0a2609943023db3788fb4febc2616de54aa1e28e + last_write_checksum: sha1:ba19adff0133b64a1b817a802d493a73ce961f39 + pristine_git_object: 21347390569e0a7026ca87d88006b18702efc149 src/models/components/activity.ts: id: 871b0aaf08db last_write_checksum: sha1:f998d37f41e713b88efd1f49a085b1ee56d0eced @@ -6787,8 +7052,8 @@ trackedFiles: pristine_git_object: 53dc9867da6a22f296e6ddb394bc8df3a3f16ee6 src/models/components/agent.ts: id: 36834e0e0bfa - last_write_checksum: sha1:79ab2f95ab97d235accdb4f1b2e44bb587630df9 - pristine_git_object: a876d041dcdd4bc6eff21cafe02541cb8cf6f4ed + last_write_checksum: sha1:beef259f3ee92860ad41c97465641bc0a61f4575 + pristine_git_object: fa0e86b52497a02c14a56a17913f2e9574f1ddd4 src/models/components/agentconfig.ts: id: cd070a80f1f6 last_write_checksum: sha1:3a11d2a4ead85d745834488e847789f28916aadc @@ -6799,20 +7064,20 @@ trackedFiles: pristine_git_object: 7d6a97c3c1d632789f2421359097d2e9fc7b2ad2 src/models/components/agentrun.ts: id: 88592e52d04e - last_write_checksum: sha1:e1aa43a588dfe296c0561190678feee4f19c2948 - pristine_git_object: 8031c8c917c49006b369beb3389b328d1247921e + last_write_checksum: sha1:a09c0d90384140c2a6eb3e19b9b26d84c4d54f42 + pristine_git_object: 354ea6b05db58d04e08d22b0339d522f709047d0 src/models/components/agentruncreate.ts: id: 18ecb351a6a4 - last_write_checksum: sha1:d6e7604c5950b5e032b10d33e6639cf031deb18b - pristine_git_object: 4f55e90569a9f10e2f76b6e5f69d2639ab8d8b05 + last_write_checksum: sha1:755c28d2868492afc2812a764c0e3086ccfee8ca + pristine_git_object: e3f7cead4939c93b2ac51b7c5756d813f4196d6c src/models/components/agentrunwaitresponse.ts: id: d8a53328fee0 last_write_checksum: sha1:0db52f3d0994c2349c06d0852ab66f9359a849c8 pristine_git_object: a5bf6356c7dbf0af9162266e0eb1c76df121d59e src/models/components/agentschemas.ts: id: e873963ff75a - last_write_checksum: sha1:eb3df79e8890f8dae3816faa0df52651c82adf43 - pristine_git_object: ac9c4c5490ecdf663e3c98d43e55c3fe22f0f610 + last_write_checksum: sha1:9605781893838820eebe3793020fb45a62d7d1f4 + pristine_git_object: e5056606aa4a287d0b85b6a1bc705853bee69c41 src/models/components/agentsinsightsv2request.ts: id: 6b7754e380ca last_write_checksum: sha1:a5876e788ed1ce3a74b86c6ae6bf94b8a604beaa @@ -6879,8 +7144,8 @@ trackedFiles: pristine_git_object: 1a3eca992d0877961c139209ecc05df2535b1e60 src/models/components/authconfig.ts: id: d80ce50a3fb4 - last_write_checksum: sha1:4ee0ab77ee97bc716f628c3627135aebcad9b38f - pristine_git_object: efd01fda23cdfedea15e4e3928b84ef2da9a946e + last_write_checksum: sha1:76fc5b6965777ae6bfcf7163f875a4bad005e975 + pristine_git_object: 7bf20f42861ef4ca867da09ce8624ea6742ebfcd src/models/components/authorizeactionpackrequest.ts: id: 9ab20ea2c00c last_write_checksum: sha1:7914b1605f14056ec3313929edbcfa0e83be97ae @@ -6903,8 +7168,8 @@ trackedFiles: pristine_git_object: 18f3fb63b8d68bded739ab43065a5dcd8572cc3a src/models/components/autocompleteresponse.ts: id: 3ca79660e70e - last_write_checksum: sha1:e1852f33b68d74995c177c84e0c48c9bc9b31a39 - pristine_git_object: 7fca6af13715d3b74e4611baa1be180540f603ac + last_write_checksum: sha1:38c33c01135bf5769363ba2b9dc435d5bc1a86ce + pristine_git_object: c62c7926594152fd5f8db198be8e1d5a9e40a62d src/models/components/autocompleteresult.ts: id: b740da1d317a last_write_checksum: sha1:f120400723ddec3f3ad3cba45a496cb66cc60527 @@ -7823,8 +8088,8 @@ trackedFiles: pristine_git_object: c1b51fb164e5fddc23f344a60899933a91902f4c src/models/components/index.ts: id: 0aa842dce54d - last_write_checksum: sha1:4c909842ebcbe551c41567bfb930ce16a97f3b72 - pristine_git_object: 8db1417532830736bc9af061d595a065b0ef83bc + last_write_checksum: sha1:b56858967683e7c5505aa7c7982118fb155bb971 + pristine_git_object: 390b3f8c8d81aaced327e0bfecdfa69da8a7e8c4 src/models/components/indexdocumentrequest.ts: id: deb13e2cdc65 last_write_checksum: sha1:33e2093c7fcdd3c90ef45c48e7b79c4cb2aea6e5 @@ -8093,6 +8358,102 @@ trackedFiles: id: 0a41bb4e61ad last_write_checksum: sha1:630d11f22d8e872138a429b987dccbce6624a6db pristine_git_object: ad96bd454a5fd0a238d4bac86ed2917c43ace691 + src/models/components/platformactionsummary.ts: + id: 5ba86daff548 + last_write_checksum: sha1:c7a4877724c16c6876d854cb5eb3c0a382087412 + pristine_git_object: c1704a023c5166afe50fc13687875d149dceb327 + src/models/components/platformagent.ts: + id: 0573787fcf08 + last_write_checksum: sha1:d0cd3355d0b05183911729e49c0533cb91377f97 + pristine_git_object: 89363931e78b1d8828373b6d4a0a1dac4ade8864 + src/models/components/platformagentcapabilities.ts: + id: daefec738f28 + last_write_checksum: sha1:062dfd2c3c765afb8c2497ab0077e05732a6e4b0 + pristine_git_object: 0bbc0c9ecd0bea81fc591dfd8c36043eecdf69e2 + src/models/components/platformagentexecutionstatus.ts: + id: 2d23bf28f1e8 + last_write_checksum: sha1:c8e1a0b3acf692770c5413305f707208dbf42a38 + pristine_git_object: 32bfb38ba2cf02cb2683584fee55b56515aefb11 + src/models/components/platformagentgetresponse.ts: + id: e38387a46922 + last_write_checksum: sha1:f51c2ed0388b6654fad65ad255c67834776e10d0 + pristine_git_object: 62e5470bb7c7528f002256f81298c4f72d38ad99 + src/models/components/platformagentrun.ts: + id: b60e7899d3b0 + last_write_checksum: sha1:2501eb626af3fd578f7afa5ed40effcf26c69d96 + pristine_git_object: ac0cece6b4014922d8b75a2d6684d9037fbc8e9c + src/models/components/platformagentruncreaterequest.ts: + id: 0aaec5605e0b + last_write_checksum: sha1:2a8c2c82f00192a1536e9f02de6acddbdf912c1f + pristine_git_object: 156a9d05051d3732b06e6adb88a222f41a9cd462 + src/models/components/platformagentrunwaitresponse.ts: + id: 123f244b0399 + last_write_checksum: sha1:ac85dc29aa6b907b7b2b1a194f6933c197691d3a + pristine_git_object: deb2a35aa0b932a7a5505495998230300f40e36f + src/models/components/platformagentschemasresponse.ts: + id: 68103f28d594 + last_write_checksum: sha1:cecc2137307cb1f628f7f480aba89bb64435719a + pristine_git_object: c91ea55b46598b20e979d95991d7ef835fea4fd5 + src/models/components/platformagentssearchrequest.ts: + id: b1d63f2468c7 + last_write_checksum: sha1:01e1cd79c3e5f58aaf9ad96071c6a1d1f4556579 + pristine_git_object: 0b62de156f13e935d63860edcb3870d4d73c6e8f + src/models/components/platformagentssearchresponse.ts: + id: ce95b592315d + last_write_checksum: sha1:4f9fc3d7ef83e581e8d869d668355d5e7139694f + pristine_git_object: 9b5e6b39935646f23d5859d23124dcbc6b0017d5 + src/models/components/platformcontenttype.ts: + id: 982868bad9f7 + last_write_checksum: sha1:6c16562e35fae21b7912e35a923dffeeb85b3dc6 + pristine_git_object: 99ea1d2d103037edf8e7a29d0575841d814aa4a0 + src/models/components/platformfilter.ts: + id: 606c0824e0d8 + last_write_checksum: sha1:b5398a367cd26311aa5709921c1bf82b841b225e + pristine_git_object: 55f896e8a37b238bce97cbb0facce0790f14c3be + src/models/components/platformfilteroperator.ts: + id: 4b1aaa52245c + last_write_checksum: sha1:7a75f66264b864d314de49a50cb6943737407b6c + pristine_git_object: 747dc820738057ab246ebe99a94da5599c0353a7 + src/models/components/platformmessage.ts: + id: 8869a2cf3a64 + last_write_checksum: sha1:183efba262b4553d68dcbfc06d75a9171c439863 + pristine_git_object: 3b8f5a72d10bad186ee1c6fb9efb89c6d3ad8ea5 + src/models/components/platformmessagerole.ts: + id: 0ab40c0f07e5 + last_write_checksum: sha1:129db6f1ec5b221196c6840ce3ca7c35a3884f88 + pristine_git_object: 8b838bdb9792c017440e1cddfaacc3f1b901e148 + src/models/components/platformmessagetextblock.ts: + id: 04c29072e98c + last_write_checksum: sha1:a6fbffaf958043f8500a1e05a1d62fe3c12daf22 + pristine_git_object: dc93ba901bdeb7bc710fd41510f77eacf9ad9635 + src/models/components/platformpersonreference.ts: + id: bea88114dd5e + last_write_checksum: sha1:8208f74a4b1648dacdea9284adedb37a225674bb + pristine_git_object: a9d5b313786af2a60e419b1f2ee31b144d099ab1 + src/models/components/platformproblemdetailcode.ts: + id: 46cd388abcf0 + last_write_checksum: sha1:9dfb6590948401cf36b1ee4e1ef190beef9d5d89 + pristine_git_object: f0be8200edacac04a16708e229f540afd3ec34b3 + src/models/components/platformproblemdetailerror.ts: + id: b6c429f3b976 + last_write_checksum: sha1:ef2c6debeda7b3f564cd3eb8f4174689954b0776 + pristine_git_object: 7ec20f406021300fb79032e8100150465e55e549 + src/models/components/platformresult.ts: + id: ace03f2ab3c3 + last_write_checksum: sha1:546daa4ca683b17b98b9af24cf5575f4aafaf025 + pristine_git_object: 35599c8206f922ddce4fd7a2f67d5309e7c5aa32 + src/models/components/platformsearchrequest.ts: + id: 649980857a72 + last_write_checksum: sha1:5ec46838131e1ccfba6f3b63deb6f292bc991fa9 + pristine_git_object: 8fe02b7e826bbf3eec5b6c989e984cf7e9d7f146 + src/models/components/platformsearchresponse.ts: + id: a12b46a101c0 + last_write_checksum: sha1:55664d86976b98357e67d15dc592c37be042f3c2 + pristine_git_object: e26c0612c799afdf42ca17bbb685881e6c07a101 + src/models/components/platformtimerange.ts: + id: fb9ab6343c3a + last_write_checksum: sha1:5816eda5ae4c626e40a45ad8f94a2409bc885d49 + pristine_git_object: d0a44b8ce73a42839eb9cebe4a30737ba0b7eda1 src/models/components/possiblevalue.ts: id: c850c4f7068a last_write_checksum: sha1:7e25bb0b342c9435b772e48dc5da93d35bb2d462 @@ -8195,8 +8556,8 @@ trackedFiles: pristine_git_object: 8790921c9447768bc8b219b9729649586e01e9e3 src/models/components/resultsresponse.ts: id: 596d373cbd51 - last_write_checksum: sha1:160a2e9660c8b5e6bd9dbe0e8ad654a2fa8f3916 - pristine_git_object: b5f70deaf3cd980ac2de35f78bf4c72ceaf2e658 + last_write_checksum: sha1:5358efc1aefcaddb4046c7fdc5f495d8cb47cfed + pristine_git_object: 1f6c0dea5f8206624296d32a35bc75d9c8d7a00c src/models/components/resulttab.ts: id: c492b83d160b last_write_checksum: sha1:429f32b49496b9fe8397407bc4809be932bd4b76 @@ -8239,8 +8600,8 @@ trackedFiles: pristine_git_object: 1781df55446bba404445b634a908ea635b2294d8 src/models/components/searchresponse.ts: id: dbe38074e538 - last_write_checksum: sha1:987a0134355752aa21fca415854541c2b2b8ead0 - pristine_git_object: 4e68708de79cfc4bbd4c78d072fc6983fbc17859 + last_write_checksum: sha1:52fd11002dd43df07afdcf6f47d30d4f814851c0 + pristine_git_object: 7bb46356156a551f857137eeb03685de800764b0 src/models/components/searchresponsemetadata.ts: id: d92a3760155f last_write_checksum: sha1:cb98357b9afe427697106e96af83eb94b66e9014 @@ -8383,8 +8744,8 @@ trackedFiles: pristine_git_object: 0340cbd07a5881e245e1588b014d364ab189aa18 src/models/components/teammember.ts: id: 54f9ef2cf097 - last_write_checksum: sha1:22544049c1e0ba3d0fd3a6524d7599b140c2fbcc - pristine_git_object: 7d7179b2178381441822156e353b6c26bf367880 + last_write_checksum: sha1:28300601841c2b6c1f7044fc57d4adeb68684032 + pristine_git_object: 5f37b0861f18f47380453c0400243ffdf748f466 src/models/components/textrange.ts: id: 89a265e58c26 last_write_checksum: sha1:30638a3d75820ac2abb6727ed03c0732b6e773f2 @@ -8627,8 +8988,12 @@ trackedFiles: pristine_git_object: 53bb3cfae157b89fda8e4a5b0f1dd709da82c1c9 src/models/errors/index.ts: id: c4e22507cb83 - last_write_checksum: sha1:f51e6d061a9ecb5242ad7039d145e976e18c0975 - pristine_git_object: aace96938011c1ef60e63281d76853166db4f245 + last_write_checksum: sha1:a0a202bf7c46cf0966ae863592cb7235038a08f5 + pristine_git_object: 65ae899b46be0fe81da70dc83f1c4effe337f149 + src/models/errors/platformproblemdetailerror.ts: + id: 2e0c46764da2 + last_write_checksum: sha1:235435ca2ab159108d60d177c435fabee89f86dd + pristine_git_object: e535151c41d0beac136c263b387122dc83ed47a3 src/models/errors/responsevalidationerror.ts: id: 88ff98a41be9 last_write_checksum: sha1:d74dcc7c25fa29b07463a4a8bf2e3ca5ea575486 @@ -8743,8 +9108,8 @@ trackedFiles: pristine_git_object: 3d4da83b880a79d3075fe7b8d0970bbae9797ab5 src/models/operations/editagent.ts: id: effba0f7cfcb - last_write_checksum: sha1:9916b88c4b411bbe6f6b96818d72a0d36c4ffe6d - pristine_git_object: 2f9df3e2fb6c3285f09eaa379486ac6b34cd9feb + last_write_checksum: sha1:eaa8b953b96c57908c81d88dd54fecf9a4ce3ea8 + pristine_git_object: 3a41112416716d5d68dbc4b4bfa01d69c380d0cc src/models/operations/editanswer.ts: id: 818d3b03db54 last_write_checksum: sha1:e7a92eed7e52e826629f9ab267c506f3d36bf8b2 @@ -8775,12 +9140,12 @@ trackedFiles: pristine_git_object: acc59c4222311d05243b385ee78b0e99ecdccf5d src/models/operations/getagent.ts: id: 5537f69ba2bf - last_write_checksum: sha1:25be36f618a29495bcf231b1b822226b6bcdd39c - pristine_git_object: e4dc046cc09da597c5adb87954ae0333c4caadcb + last_write_checksum: sha1:19c2b91f8d621fa6c5d027c8ded4ea30a699b28a + pristine_git_object: 22595c29b265380785cce284f70968a7569ea7cc src/models/operations/getagentschemas.ts: id: 4e98c6b5d797 - last_write_checksum: sha1:79a1efd9ab4e4d3a1b8b39a2637f2339394f2341 - pristine_git_object: 1f2798fac1f3e2660282fbcec9b2d0cfeeaef57e + last_write_checksum: sha1:419af77c8b2ed1980c23934620c2b2b513a938d6 + pristine_git_object: f1cce3655fa9b75a3f34a1bde51735d8a28c3d86 src/models/operations/getanswer.ts: id: 5f328385dcca last_write_checksum: sha1:423ffa31af559ab3f436a7b20d7f38b6499de08b @@ -8831,8 +9196,8 @@ trackedFiles: pristine_git_object: 557279b793a3e6c523a2cad84e84cbf0a86609b6 src/models/operations/getpersonphoto.ts: id: 428e91c12ab8 - last_write_checksum: sha1:72f8935fc2229c4bc9479e58436dc2edcc7f6a27 - pristine_git_object: 287f8ac2ebbe4175f9756856ea73367173433615 + last_write_checksum: sha1:9df7534ad8c9a0ab4c8845f9a635350ad693f829 + pristine_git_object: 9ae6e6672b644b633ba3c4fd2bd4afc200e1c7ef src/models/operations/getpin.ts: id: 65226377f5db last_write_checksum: sha1:77f5ce2443bb19a22ffd88f4616eac5cc4ca53be @@ -8859,8 +9224,8 @@ trackedFiles: pristine_git_object: 1b3cfa0bc2cf2bbaee395c614cfc4b84e4de23e7 src/models/operations/index.ts: id: 0d9ffaf774d2 - last_write_checksum: sha1:e4dc353643957b25075f522fdb6bad0a9153b23e - pristine_git_object: ce2c6548073c23d47199510971cf2cf5d3782776 + last_write_checksum: sha1:9296aa74ab38f4c830a7157b0eb39080b7500a7d + pristine_git_object: 5640a11a25941b994a0df2bdd544a4b96aebcb41 src/models/operations/insights.ts: id: 7bef0edaab32 last_write_checksum: sha1:37db16bc7603defd715210dfd8c12de88bde8b72 @@ -8909,6 +9274,18 @@ trackedFiles: id: 934fec389517 last_write_checksum: sha1:dcf905f7496c3fd79ab773fe38aa6430decf4ce7 pristine_git_object: 3061f609df0947e3bd1b061e94e422677dc556d3 + src/models/operations/platformagentscreaterun.ts: + id: 51a44ec04f7d + last_write_checksum: sha1:4217923ae24058c816e6e73af855a17ca5065d57 + pristine_git_object: 70e7208b83e2c9b63a86680bccb3311440fda7a8 + src/models/operations/platformagentsget.ts: + id: a1a38c3fd799 + last_write_checksum: sha1:f919dcaf07ce07901d09cb6643b7062662e75bd3 + pristine_git_object: a08c0a6a18fc2e69a49c54644ec15410cf2b3e2b + src/models/operations/platformagentsgetschemas.ts: + id: c025879102b3 + last_write_checksum: sha1:65d7361ac886e2c8f3200c6cc3141daf78ba1eac + pristine_git_object: 69bd1349edebd305537e0ec66afbe70db4e9aa14 src/models/operations/postapiindexv1debugdatasourcedocument.ts: id: 03753664a7e3 last_write_checksum: sha1:1fc8451990ad08329b62b2915f227f575e7e4b0b @@ -8989,26 +9366,30 @@ trackedFiles: id: 8d58d2bd1914 last_write_checksum: sha1:68662ac01bb2a3810328c1c1b5c9523ca5e47698 pristine_git_object: 01b38b63d6e5cf3d4fa51c0758d0b4b242d08bb2 - src/react-query/agentsCreateAgent.ts: - id: f764965707fa - last_write_checksum: sha1:d5162dff5591bb581812cac8b09e45b94b03a3c7 - pristine_git_object: 3e1e379c2582a6cf43f207ee536704ec648e222d - src/react-query/agentsEditAgent.ts: - id: 3b25e9fb1e70 - last_write_checksum: sha1:fd63f501a94613596c4cbcac0712e0072664b8fb - pristine_git_object: 8bbcc46d0785b08f3a3471885021c0cae592773f - src/react-query/authenticationCheckdatasourceauth.ts: - id: de44a1fe0b75 - last_write_checksum: sha1:7a588f54a2533e227163be1f54234b3a26e1528d - pristine_git_object: 4843e0edcc7f92e4cf11a19f0ce0a81a2595f84e - src/react-query/chatGetChatFile.core.ts: - id: 4f2f16467589 - last_write_checksum: sha1:be401fc3adf9f63525b7b81eeec09547a6def48e - pristine_git_object: ee79cc90681fa4cd231ce081e20199f90cc7af61 - src/react-query/chatGetChatFile.ts: - id: 0b11cd5244ab - last_write_checksum: sha1:74f9b7300236ca6bba0be25f8f003b1a533f32ae - pristine_git_object: 67e3f8fb5309ffda222fe32448a3346a4afe85d6 + src/react-query/agentsCreateRun.ts: + id: b1268b5938b6 + last_write_checksum: sha1:0f0943cef4746ef8fe8d4d404a4ccec5a1ef1ee5 + pristine_git_object: 25ebf7a834e6b5998f40c7653ab49e1a45d70c50 + src/react-query/agentsGet.core.ts: + id: bf202f112850 + last_write_checksum: sha1:ae2d4c525fe9ac849bcfafdec85702496dce2954 + pristine_git_object: 87e92f63536520c916cd1b49e9e91b1702ac98e5 + src/react-query/agentsGet.ts: + id: 9dfa72974fdb + last_write_checksum: sha1:405d20dd150bcea730d6eaad9556c3e559819d33 + pristine_git_object: 4f13d0842c263131fa835901e506bac2a1984895 + src/react-query/agentsGetSchemas.core.ts: + id: fcd506067f82 + last_write_checksum: sha1:f8e5c3f43d73005e77b45cd753919ffd7ac8f31d + pristine_git_object: 2f5d004a5a905438abacca9961ea861928f473a6 + src/react-query/agentsGetSchemas.ts: + id: e5e8003439d2 + last_write_checksum: sha1:4873c704c9b3562f03dbfb678ba2768aa8dd0c40 + pristine_git_object: 8dd62558175eb164bf6cda1bb6d833ea05e1e8f1 + src/react-query/agentsSearch.ts: + id: 9405791fe3f7 + last_write_checksum: sha1:bf4c703a377f012c96457d339596b4f141e3bd5f + pristine_git_object: 9bd164a480480bc1f07b41dde8d086504f5946f3 src/react-query/clientActivityFeedback.ts: id: 501f802dd053 last_write_checksum: sha1:5be69ee8efb6c2511d412f04cbc08b85728a8c16 @@ -9017,6 +9398,10 @@ trackedFiles: id: 58012fb1b55c last_write_checksum: sha1:37f2865718f97de3b6e6c2285020e5569e802c50 pristine_git_object: d2bf1ece5d74d8e7b427c67611056f3a4bebff9d + src/react-query/clientAgentsCreate.ts: + id: a37197e5deb4 + last_write_checksum: sha1:f0cbfbd95d6615b848f05618f38d08eb4c6ec5fa + pristine_git_object: 62ebd8a2203db8285297c3bd5ecd58d202250059 src/react-query/clientAgentsList.ts: id: d74a1fba9fcc last_write_checksum: sha1:f2a8b7e095098c2fe4029bdb4f16250b7d1c940a @@ -9045,6 +9430,10 @@ trackedFiles: id: e248dfd3c2d1 last_write_checksum: sha1:d42c6a481cd0f4299355d41532346888f9e6a0c0 pristine_git_object: 44df3bde357a25f2e59024bd984c726f73a536fd + src/react-query/clientAgentsUpdate.ts: + id: 27d1d80c31c0 + last_write_checksum: sha1:89072451e3163b8bf1b0cedec7cde436e32b2d18 + pristine_git_object: 188be7184b03d06ccc0e11973cf3a4a8292be29e src/react-query/clientAnnouncementsCreate.ts: id: c553806c7275 last_write_checksum: sha1:479141698ffc59b2319f268e6068b7c146e337ec @@ -9077,6 +9466,10 @@ trackedFiles: id: 3dbb062e8d0c last_write_checksum: sha1:cdf20e62615e72d43d6826577ba3192bb7a0027b pristine_git_object: 20f21d9ae9d5c9cdcdf594bcb3853e34561f021b + src/react-query/clientAuthenticationCheckDatasourceAuth.ts: + id: 194e83ea31aa + last_write_checksum: sha1:07da15dd3af050015d24d088fe13f3cea3ba90a0 + pristine_git_object: 7c4a422f94d31f02032fd7af297ad74a6a436091 src/react-query/clientAuthenticationCreateToken.ts: id: 4f6a7f9704c0 last_write_checksum: sha1:a3ad3df4cf0cf318f53db89969e188c2a41cefac @@ -9113,6 +9506,14 @@ trackedFiles: id: ed021c60a0d7 last_write_checksum: sha1:7c87d1444dff872fde08bdc26bd60ea16872a3fb pristine_git_object: 9b467a52b33ebf1f31ec00c01e376b58672f9ddd + src/react-query/clientChatRetrieveFile.core.ts: + id: b20b6bfb3aae + last_write_checksum: sha1:47aba068444adc9fdfc1c15b0491e8ab6ba34f0d + pristine_git_object: 2a67d4fab3f89814eacb95d2b68c5339eebf9448 + src/react-query/clientChatRetrieveFile.ts: + id: 43c6232abc93 + last_write_checksum: sha1:2cacabc8b7d7eea86dd9031c3e76d5a84174baa7 + pristine_git_object: c9e8419045a4e32331aebe6a73b52f7b5831e859 src/react-query/clientChatRetrieveFiles.ts: id: ca1703908fea last_write_checksum: sha1:247255343c0c299b281efe480aa09ccfb79e9f3b @@ -9153,6 +9554,30 @@ trackedFiles: id: bcb89edc2da7 last_write_checksum: sha1:01783392cf7325c384642d3cb635236fe246c830 pristine_git_object: 1899ad0ee2163ed2003c7e79d3cfe051fbd03508 + src/react-query/clientDatasourcesRetrieveConfiguration.core.ts: + id: 666891b6fe7c + last_write_checksum: sha1:c6d7b9c83be7d0046c682fedd143619d14d9b124 + pristine_git_object: 680486345557c8511fa4b7125fce98d31151e9fd + src/react-query/clientDatasourcesRetrieveConfiguration.ts: + id: 2f370dea591e + last_write_checksum: sha1:e84d6df44fd75303c6b491c2615dd48523e2a800 + pristine_git_object: 3cb01e7c7191fc413fb91a1e8a90c1cba1570ac5 + src/react-query/clientDatasourcesRetrieveCredentialStatus.core.ts: + id: 3bddf4d353bb + last_write_checksum: sha1:03c64be6d17d228cf22a467d0d1ad918bf0b14e4 + pristine_git_object: 0ec51d6346aaf32c33c274719805164b55ea5e62 + src/react-query/clientDatasourcesRetrieveCredentialStatus.ts: + id: d885f9fd297e + last_write_checksum: sha1:4a96120d5a0ee8f3fd4511ac472fcf20d71d02f6 + pristine_git_object: a238e2ccaea53bd66ed7b05c649888240e5ce6f4 + src/react-query/clientDatasourcesRotateCredentials.ts: + id: 322a20ea20c2 + last_write_checksum: sha1:5655e2a5df94a9b3b8c86eae34dabefbcae5e152 + pristine_git_object: 48ecdf45b99535bf80bce2db5c77b57c60744bac + src/react-query/clientDatasourcesUpdateConfiguration.ts: + id: 01cf9229f8e2 + last_write_checksum: sha1:dfb34477df1bc57a0b056befa4eb535aefdd40be + pristine_git_object: a66d3409a10fcce6c42de3fd82bf0c4c4c111f8e src/react-query/clientDocumentsRetrieve.ts: id: e6711aecc1ab last_write_checksum: sha1:f7fdb3c2822f75784e60edc7e276256289dbcbad @@ -9177,6 +9602,38 @@ trackedFiles: id: c0c9a5d447b0 last_write_checksum: sha1:aa9ff9d097fd129a5848f98b3f66f483c6b156f3 pristine_git_object: 5f45cd025689aa61106de901012bf4c2ded6e624 + src/react-query/clientEntitiesRetrievePersonPhoto.core.ts: + id: 25899e595b4f + last_write_checksum: sha1:f7ab201e6906a4746e4cd97881d66c45508c35a1 + pristine_git_object: 91f8d0398e43c8e71bdfea61f7d536376a789256 + src/react-query/clientEntitiesRetrievePersonPhoto.ts: + id: dda0efa9a33f + last_write_checksum: sha1:e68e23a1d104438c92ff24aea238ab3de5bb2635 + pristine_git_object: 4bfecc8ec1266f639a5ef3efc357269a1777004d + src/react-query/clientGovernanceDataFindingsCreate.ts: + id: 7a4af2b8746d + last_write_checksum: sha1:004a70652d763f5581b817968ceb8c9fa079cc4f + pristine_git_object: 38efe772c6bebacf02012ee1d1dcac3b481635ab + src/react-query/clientGovernanceDataFindingsDelete.ts: + id: 64ec0efbb1f6 + last_write_checksum: sha1:6766e2f534c4c50fcbd8c0961775773e411e63e1 + pristine_git_object: 542356f189a49b993ded0cb015282124412ccd56 + src/react-query/clientGovernanceDataFindingsDownload.core.ts: + id: 7fd002227c86 + last_write_checksum: sha1:61720719d0be211d3ea2f4e58cfd90d33c66b663 + pristine_git_object: 577cec8b3820b55e2b592d2c1e721ec83a2d784e + src/react-query/clientGovernanceDataFindingsDownload.ts: + id: 95b389b62851 + last_write_checksum: sha1:c6cf3eec484a4c20d053ead96cec94609d5c962a + pristine_git_object: 71f0f1f1fbabc0509f4424303a7473895d7b0437 + src/react-query/clientGovernanceDataFindingsList.core.ts: + id: ce6917e2a6d9 + last_write_checksum: sha1:ea572e66a9a8bf80ae1b2428deebcbdf0087d1eb + pristine_git_object: dc0ca6efc8eafbef8c7ee7366534457226feb047 + src/react-query/clientGovernanceDataFindingsList.ts: + id: 5d8da86f4a96 + last_write_checksum: sha1:62db4a207817bab4582c5a7ba67c29fa7d3ea27a + pristine_git_object: 58bc6f5fbaac7c8b0b9b1a9a9de3bf95e3d86b3e src/react-query/clientGovernanceDataPoliciesCreate.ts: id: 494cd25c7062 last_write_checksum: sha1:ddb5b00f5026589e1563ba09bf65859dc705404a @@ -9309,6 +9766,10 @@ trackedFiles: id: 9181c2472270 last_write_checksum: sha1:74b4f26e4890f8fc7caa7647640a1c586882de95 pristine_git_object: 07c69ab71846209e64f511d2c03817d11078e130 + src/react-query/clientToolsAuthorizeActionPack.ts: + id: c7b4e5bbd98e + last_write_checksum: sha1:0d069ac0715a8a99e63d3b67fd3b4c05eb2f7cab + pristine_git_object: 08274e9519c57639087ee928c8f35643ed8a2a25 src/react-query/clientToolsList.core.ts: id: 7370fc27f545 last_write_checksum: sha1:52921614fcb461fa356c5f9b2875f6943ff704c5 @@ -9317,6 +9778,14 @@ trackedFiles: id: b40cc18cc0e3 last_write_checksum: sha1:f4ef08914fdb8e497a69611338e3db6051b4b4b3 pristine_git_object: 38dd8399734509cb354c78c1d6b3862ea3f9f6ad + src/react-query/clientToolsRetrieveActionPackAuthStatus.core.ts: + id: 523683324c37 + last_write_checksum: sha1:4233b13a03dce57a5daca34963763e8c07fa7b0f + pristine_git_object: 4f6207a26708882c48247579e3b4d3bb14a66d42 + src/react-query/clientToolsRetrieveActionPackAuthStatus.ts: + id: 52f40f93c161 + last_write_checksum: sha1:d750a81888369da8fd74338328e786d4bcd3556a + pristine_git_object: d7e800286e90924cac31358909a26d869e4775e3 src/react-query/clientToolsRun.ts: id: 21ad61918713 last_write_checksum: sha1:9fea887d594b8df92c29257b10acc7088f9f4b8b @@ -9333,66 +9802,10 @@ trackedFiles: id: 7e3a52f6000b last_write_checksum: sha1:d2ef2f1b786b6e39162075ea2478d13938bc6b74 pristine_git_object: 7ea1d5c56f074fe08998790eed62e014c840891b - src/react-query/datasourcesGetDatasourceCredentialStatus.core.ts: - id: 8b0b17f93827 - last_write_checksum: sha1:06bb77d8e80cc47d7711fe0758d45e65d01b587e - pristine_git_object: 5cf8820bbc9496da2cc45ec33548fc5a8c2fa5ee - src/react-query/datasourcesGetDatasourceCredentialStatus.ts: - id: 389e75cf9af7 - last_write_checksum: sha1:097ed8a4af28249ce0728af0185363b72f1fc38d - pristine_git_object: d3733f9ff3bf49f2ab06829a8bd38297f1029141 - src/react-query/datasourcesGetDatasourceInstanceConfiguration.core.ts: - id: a83f9926e882 - last_write_checksum: sha1:48f8e8ef33b09c67a0d1539949f6190ffae7ede8 - pristine_git_object: 80f7ac85674d6ea7ae775100b4cf5410d0014354 - src/react-query/datasourcesGetDatasourceInstanceConfiguration.ts: - id: 8afa1ec86403 - last_write_checksum: sha1:c403f5aca8f3ffd8252a3a6dcec9c1dac485b1c4 - pristine_git_object: 7e444693a86b733364817138338fffc9d0eb99cd - src/react-query/datasourcesRotateDatasourceCredentials.ts: - id: c212153c2287 - last_write_checksum: sha1:01eef2aed24a70cd7710716f554d79ef9dbaeafb - pristine_git_object: 477bb4e09dc84708c428d77349d6261c5c76dfbb - src/react-query/datasourcesUpdateDatasourceInstanceConfiguration.ts: - id: ce1cd261f307 - last_write_checksum: sha1:e229fea10872671104bd45b9e8ac399f3533b8e3 - pristine_git_object: e10a296678df56190118b869b25aa7fbfd23b536 - src/react-query/entitiesGetPersonPhoto.core.ts: - id: f33ca2d2477f - last_write_checksum: sha1:cef4c538a33ed9a88ed175d311aff7b85f8522f7 - pristine_git_object: ee3cdd60ff0b4e99648aede1817b10a2de8d8a48 - src/react-query/entitiesGetPersonPhoto.ts: - id: 2b2ae1b6770a - last_write_checksum: sha1:75ebc378e8c719bdcbf0fc385aa0ac790b5190c0 - pristine_git_object: 0b3b1d732e0f78ce1d5a50e281969adff0636bf6 - src/react-query/governanceCreatefindingsexport.ts: - id: 8e5376d75882 - last_write_checksum: sha1:5201fec8dfb0f66a8393c9771d692e83b27bb79c - pristine_git_object: 445b47d18ef62b7fa2ce4e2e497690f8a1d107d6 - src/react-query/governanceDeletefindingsexport.ts: - id: 84978df90876 - last_write_checksum: sha1:3a107ad9aa3734a641cfca7910257ca1e6bd87ac - pristine_git_object: 339d938c7f5437a9a7c23138d27d22468c81bf96 - src/react-query/governanceDownloadfindingsexport.core.ts: - id: a1da3acaee44 - last_write_checksum: sha1:1ea10b8df085be4db8e73b7730f7cf611cc0542d - pristine_git_object: e35ec543efc444223382ab7c391f92d39b0b5430 - src/react-query/governanceDownloadfindingsexport.ts: - id: af128d14fe24 - last_write_checksum: sha1:ba8425cd4f746a1a4c3d546469799e6520cb7c30 - pristine_git_object: 6da1b6e2abf677358c035428ecec7365aa2e4a1e - src/react-query/governanceListfindingsexports.core.ts: - id: b55cc8372801 - last_write_checksum: sha1:f587139d210d897cb14ff6ac9b5a8bf2912289cd - pristine_git_object: 10a26f2b04297bcb3bc532d4e9079a9a22dec97c - src/react-query/governanceListfindingsexports.ts: - id: eb38bbf9a06b - last_write_checksum: sha1:8542444505a31aa37f14d9b328c769be6674cfb4 - pristine_git_object: ddfc71ec2819c805181157d90577dd8cdca02cd9 src/react-query/index.ts: id: 9e975471aa65 - last_write_checksum: sha1:de22c83ffe4c2bd2b37be9746fb4582ef91148d9 - pristine_git_object: 6eefb55049a95499d65ce6606dc8f5f92349a1ae + last_write_checksum: sha1:11f6416e0f2f105e6db88c846eb2387a293fef70 + pristine_git_object: 666ec298de31ddb37c1e86e0b079777cb9f46d4e src/react-query/indexingAuthenticationRotateToken.ts: id: e56c0845e38e last_write_checksum: sha1:035d7baae9a7fd7c32f69211cfe85b0f6ccbbf8c @@ -9453,6 +9866,10 @@ trackedFiles: id: 42549bd8028e last_write_checksum: sha1:b3820e881bacb7c2e6a60ac6027ef9cbc43a39a8 pristine_git_object: 05175e0d633c54c3a6572e33989cbd19d462f38a + src/react-query/indexingDocumentsDebugEvents.ts: + id: a35a22a5a14c + last_write_checksum: sha1:a9416a72bba73295b65cb9946685a5e99cf4a6a2 + pristine_git_object: c455e9114dc0b150832b982275b2304d4faf0f8b src/react-query/indexingDocumentsDebugMany.ts: id: 75326b418ede last_write_checksum: sha1:614d251c9bc341be1d5181e9f60377d3db4faf48 @@ -9565,30 +9982,18 @@ trackedFiles: id: f539f36cd532 last_write_checksum: sha1:91e8ee4d5848461ccc058920574bd1658c96a7da pristine_git_object: 60853a79fd3d357b9c225d1469569ba18e4bb834 - src/react-query/toolsAuthorizeActionPack.ts: - id: 1e27082b7f84 - last_write_checksum: sha1:018a1febf350b1299082c3353b9ec564bd2ee06e - pristine_git_object: 74b05cd332be70afbb9d67cf78eed45c15e127ba - src/react-query/toolsGetActionPackAuthStatus.core.ts: - id: f4208601672a - last_write_checksum: sha1:792491104e96a71991b9c0bd753a5e06a375c3d9 - pristine_git_object: 7776dda02bf3c8906d9b8e40df7dba222cabbd13 - src/react-query/toolsGetActionPackAuthStatus.ts: - id: 651b3a2e8f61 - last_write_checksum: sha1:38de44a4f8f4b0e66eef43078b902efaea97e02b - pristine_git_object: f0129ddb154a9a3c500df8751720c8dbe7390af9 - src/react-query/troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents.ts: - id: 25aad4d97aeb - last_write_checksum: sha1:48064fc7ab651e570cd1bbeaf180ab3d4edc0e2c - pristine_git_object: b845dda214d481776edc847e8770ca54ef190fa5 + src/react-query/searchQuery.ts: + id: a67629da8040 + last_write_checksum: sha1:5ce8b5811af2d6dd5bc95afd2e9358c16d7c7a99 + pristine_git_object: bc4f7e63f7066516b637ad801275acd0fa53c9e0 src/sdk/activity.ts: id: 87dddbbca815 last_write_checksum: sha1:1b66eb529dcde53e002e35ac6fd6e6e7e56be73e pristine_git_object: 22d7e4d2d9a50eed24ca462edf35cc26d5cb2d7c src/sdk/agents.ts: id: a103cd018c9b - last_write_checksum: sha1:0b0c01fc18004a1167858b0bf8ffb1d77df1f101 - pristine_git_object: 3649e25707e6cacffe03953eafb7b7103d90f442 + last_write_checksum: sha1:cb63d1026f4069277ef5ea5fbcf856a5fdf95c16 + pristine_git_object: 69da82eba0c6b7f371093809067cd53fc0d2a9da src/sdk/announcements.ts: id: bab6954d6fdf last_write_checksum: sha1:93294e5724028d07a0f9796519179222808b89a9 @@ -9597,50 +10002,38 @@ trackedFiles: id: 7f717169c02d last_write_checksum: sha1:755ae09eefa0f12eb1436ecc7f8ab306ed3a7f10 pristine_git_object: 69c55ab0142387e93a9c485a7616ccf2af89b4fc - src/sdk/authentication.ts: - id: 627e108b9d4b - last_write_checksum: sha1:ec568e099c3b79326db955204fd4d7252d882d84 - pristine_git_object: 2229628c4d67e8044c34b2c5cc740a76bee9adc1 src/sdk/chat.ts: id: c56babc22a20 - last_write_checksum: sha1:2fc209735f30f058b97409e5640a6a0506e332f0 - pristine_git_object: 58db5831e74254057ab7ce47b8eb082cb4a6da98 + last_write_checksum: sha1:c5f03f87e06e7a798a200f30b97941d9a3e1f65c + pristine_git_object: c3c06564fc44361055d6e8ab8acd759b2db8df32 src/sdk/client.ts: id: 163ab873aeef - last_write_checksum: sha1:7c7cf821e3092f0e96a2ce3370ad93d8e23bc744 - pristine_git_object: 63de8d5416efe7d7cc1c5a5e3c7735946f1150b9 + last_write_checksum: sha1:84c49998f61b4286dd627f4f5f583588a5dbdf78 + pristine_git_object: 14fc3d19838b38dd496395ae45bbc84a30da70a6 src/sdk/clientagents.ts: id: 7864a10ac52c - last_write_checksum: sha1:980d065e5e11edb945ece1f440196ce2248f3b37 - pristine_git_object: 17d6b434635c8194aa1014c60d86410de0c07cab + last_write_checksum: sha1:b525ada4c7e7acfe145e3e28e232fb65ab0c1d98 + pristine_git_object: 26db234ade60e8af84ffe5bf3a6278f420cff0b0 src/sdk/clientauthentication.ts: id: dd653d48dc6a - last_write_checksum: sha1:67de09970a8b0e97bcbfc874394e490e5ff79699 - pristine_git_object: e9a2cc2c331cc569a397dd8ea0db1d1d1f558918 - src/sdk/clientchat.ts: - id: 85f32ab09218 - last_write_checksum: sha1:33ddca2c4e0cba40500b820a0cfe568e63dd992b - pristine_git_object: 943b981571c164606521fe79aa7e902e7454f84b + last_write_checksum: sha1:f574533d9bd24fb46fb1b328ad95d2077ae5d0d9 + pristine_git_object: db356634f79579ad278c9b3a60967aa3a4b8b83b + src/sdk/clientdatasources.ts: + id: 18ba361f511a + last_write_checksum: sha1:29eed3ca1b2678b9213830a2b255794a1ec37059 + pristine_git_object: 4114699ce72b190a0fd1aab5aaf80ab83dffb326 src/sdk/clientdocuments.ts: id: fdca6be3a48d last_write_checksum: sha1:b4289b9a260c4a8cf3af3f8035d4b25541e69bb7 pristine_git_object: e8ee24f701b86a1276635a9a65e933858d6dd97b - src/sdk/cliententities.ts: - id: e18cb7620fc8 - last_write_checksum: sha1:4b0856ffb2503a4a96005b265d53324eeb41a7ae - pristine_git_object: 9cf1f1a70096e2a359cc7a474775be4226e42f47 - src/sdk/clientgovernance.ts: - id: 9a2d1a2b1bc7 - last_write_checksum: sha1:374ac32fa306cdfe65ba9dfd1582b4f11af63051 - pristine_git_object: dfc22634950bea6f35356e0e536aa3e0e77c6971 + src/sdk/clientsearch.ts: + id: 9d303135a965 + last_write_checksum: sha1:50cb26578107a57696a642ffa7048cbdc16251b3 + pristine_git_object: c50354067455d91daa1f79f66d1fab3b8ce740f5 src/sdk/clientshortcuts.ts: id: ac4fb91cc5d4 last_write_checksum: sha1:be9a305f15eb00b65c37d1d44c8e9315dc510bff pristine_git_object: d0d1b3ee54f8cd670912ee08ffd2039197ef4410 - src/sdk/clienttools.ts: - id: 6c8cdc48aae3 - last_write_checksum: sha1:710c7a3461cd518f99d7a7073986f47495a3a353 - pristine_git_object: 2960e8b70eb27d8d0a08ea3fb017defa544774f5 src/sdk/collections.ts: id: d99973e217b6 last_write_checksum: sha1:336d40704d788f4d0d899e07fd044ba266009340 @@ -9651,24 +10044,24 @@ trackedFiles: pristine_git_object: 9cac6fa96073b9a76d22c5ced19ca123b7611faa src/sdk/data.ts: id: b9e219e34d35 - last_write_checksum: sha1:ace0768566898666508cac0756fe30440dc06a63 - pristine_git_object: 33b640b6b5c16083778edd8c361a030f76f6f909 + last_write_checksum: sha1:a67aac03b6dfcac91740cb9749bda57826fbcaf1 + pristine_git_object: f368a51d032a2862eefd22e63c5f8877c333d8ea src/sdk/datasource.ts: id: fa7bcb35c15e last_write_checksum: sha1:36b98c025e775c139827da25058c6c56756bed9f pristine_git_object: 0972644c0cbf54c7abcf72a853e9177e1b152b7d - src/sdk/datasources.ts: - id: 16d5d120f477 - last_write_checksum: sha1:9274d6b58709160a3abecb9c40adfb4ec15af2e6 - pristine_git_object: 54be74d80766937bdf4611e60e2eb9170906af30 src/sdk/entities.ts: id: 71997b5f9b62 - last_write_checksum: sha1:6127d9153917cdcab2baa8b298b6d4a6632e7f1f - pristine_git_object: c300c16393d695f77bfe8c67167396592b90e337 + last_write_checksum: sha1:ce51d1f5b074f1c5b63e1e15d199af00b690bd1a + pristine_git_object: 64040717e1fd975d48c1016dc67d4ebbc8cb2a35 + src/sdk/findings.ts: + id: 53fa822d455a + last_write_checksum: sha1:b91477b486ccd83580f5e646c2c3a000db340c52 + pristine_git_object: 044a40c3d931612f31253c4f5608f40e2fad7b5a src/sdk/governance.ts: id: b7de258afd95 - last_write_checksum: sha1:d111b4c065c802e0174db6f3f590d4ccd4492d51 - pristine_git_object: 8eb2ceaa469bce22b4b55715583c311487237051 + last_write_checksum: sha1:1bf893a511cb26b1509528dd35a300e64cca1bc4 + pristine_git_object: e49940f88ec231f62c02aa11f1ccdd6b4023cb1f src/sdk/governancedocuments.ts: id: b0c49bc1be39 last_write_checksum: sha1:cc99618ea45f6111ed70b8cea8c4dea64d6c7880 @@ -9691,8 +10084,8 @@ trackedFiles: pristine_git_object: ed9fa1fb7c258f36b2b0cf3137096d4a46c39376 src/sdk/indexingdocuments.ts: id: 430887b7bad8 - last_write_checksum: sha1:e10c20c020d6de67901e9f2f1f96cd2bd261de92 - pristine_git_object: 688d1d540b5afcd5fb2e4b2155e7ac1ac10e0543 + last_write_checksum: sha1:def0f16e316c12bfe44a771fab2d197a035a59dd + pristine_git_object: 94886781af7a4a191d8d57ac9a0bed0b491edeaa src/sdk/indexingshortcuts.ts: id: 9aebdb10dd4b last_write_checksum: sha1:10740d2d6897236d6997b2116ec4193542dd11ac @@ -9727,20 +10120,16 @@ trackedFiles: pristine_git_object: b13d325fd129a1e93b8f78617fc401a58f14364c src/sdk/sdk.ts: id: 784571af2f69 - last_write_checksum: sha1:99ef47b6c2884a42f4bdd7ed22f83a1c2eb23930 - pristine_git_object: 32d9e715deee5d6de4358a3dd44bd84a2d01f778 + last_write_checksum: sha1:7ecc6578d93f9fa841c0a9e77cd23639a66214b3 + pristine_git_object: 65e63fcc09b34e4978dd2a1441d4f17713087724 src/sdk/search.ts: id: b88871d87236 - last_write_checksum: sha1:75fe1534a731295c71a44a1ce112f3db36c37a3c - pristine_git_object: 5193719806c57338361c150fe9932d76dde197ed + last_write_checksum: sha1:7aa823227d511aea3f70dd460e70b7478c6daf1f + pristine_git_object: d8b2b8c62743cb5b2e9d524fe24884ac23681858 src/sdk/tools.ts: id: f997ccdd9dd9 - last_write_checksum: sha1:3c8a762a9a54496a701d8fcf80bbef0502a0e778 - pristine_git_object: e1e6633ebf8164deca62fad89801d87ad45cec56 - src/sdk/troubleshooting.ts: - id: 075ef996822a - last_write_checksum: sha1:5dd0352ed62b58e61d2aee7fddd41a742855f2cc - pristine_git_object: 9f2f96e1f703c84888d9d149595b5c9f8ad2dfce + last_write_checksum: sha1:3d78acf3ebfc47795bd59bfe9e8ad8fda90bc3ee + pristine_git_object: 9dd1f13d439c9e234b542f6a627d5004a92a9920 src/sdk/verification.ts: id: 414a84063545 last_write_checksum: sha1:6b40cb828921b4db77d058738f5040885e6acf15 @@ -10716,6 +11105,69 @@ examples: responses: "200": application/json: {"workflow": {"author": {"name": "George Clooney", "obfuscatedId": "abc123"}, "lastDraftSavedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}, "lastUpdatedBy": {"name": "George Clooney", "obfuscatedId": "abc123"}}} + platform-agents-search: + speakeasy-default-platform-agents-search: + requestBody: + application/json: {"name": "HR Policy Agent"} + responses: + "200": + application/json: {"agents": [], "request_id": ""} + "400": + application/problem+json: {"type": "https://developer.glean.com/errors/invalid-cursor", "title": "Invalid Pagination Cursor", "status": 400, "detail": "The provided cursor has expired. Start a new search to get a fresh cursor.\n", "code": "invalid_cursor", "documentation_url": "https://developer.glean.com/errors/invalid-cursor", "request_id": "req_7f8a9b0c1d2e", "errors": [{"pointer": "/messages/0/role", "detail": "Must be one of: USER, GLEAN_AI.", "code": "invalid_cursor"}]} + "500": + application/problem+json: {"type": "https://developer.glean.com/errors/invalid-cursor", "title": "Invalid Pagination Cursor", "status": 400, "detail": "The provided cursor has expired. Start a new search to get a fresh cursor.\n", "code": "invalid_cursor", "documentation_url": "https://developer.glean.com/errors/invalid-cursor", "request_id": "req_7f8a9b0c1d2e", "errors": [{"pointer": "/messages/0/role", "detail": "Must be one of: USER, GLEAN_AI.", "code": "invalid_cursor"}]} + platform-agents-get: + speakeasy-default-platform-agents-get: + parameters: + path: + agent_id: "" + responses: + "200": + application/json: {"agent": {"agent_id": "mho4lwzylcozgoc2", "name": "HR Policy Agent", "capabilities": {}}, "request_id": ""} + "400": + application/problem+json: {"type": "https://developer.glean.com/errors/invalid-cursor", "title": "Invalid Pagination Cursor", "status": 400, "detail": "The provided cursor has expired. Start a new search to get a fresh cursor.\n", "code": "invalid_cursor", "documentation_url": "https://developer.glean.com/errors/invalid-cursor", "request_id": "req_7f8a9b0c1d2e", "errors": [{"pointer": "/messages/0/role", "detail": "Must be one of: USER, GLEAN_AI.", "code": "invalid_cursor"}]} + "500": + application/problem+json: {"type": "https://developer.glean.com/errors/invalid-cursor", "title": "Invalid Pagination Cursor", "status": 400, "detail": "The provided cursor has expired. Start a new search to get a fresh cursor.\n", "code": "invalid_cursor", "documentation_url": "https://developer.glean.com/errors/invalid-cursor", "request_id": "req_7f8a9b0c1d2e", "errors": [{"pointer": "/messages/0/role", "detail": "Must be one of: USER, GLEAN_AI.", "code": "invalid_cursor"}]} + platform-agents-get-schemas: + speakeasy-default-platform-agents-get-schemas: + parameters: + path: + agent_id: "" + query: + include_tools: false + responses: + "200": + application/json: {"agent_id": "", "input_schema": {}, "output_schema": {"key": "", "key1": "", "key2": ""}, "request_id": ""} + "400": + application/problem+json: {"type": "https://developer.glean.com/errors/invalid-cursor", "title": "Invalid Pagination Cursor", "status": 400, "detail": "The provided cursor has expired. Start a new search to get a fresh cursor.\n", "code": "invalid_cursor", "documentation_url": "https://developer.glean.com/errors/invalid-cursor", "request_id": "req_7f8a9b0c1d2e", "errors": [{"pointer": "/messages/0/role", "detail": "Must be one of: USER, GLEAN_AI.", "code": "invalid_cursor"}]} + "500": + application/problem+json: {"type": "https://developer.glean.com/errors/invalid-cursor", "title": "Invalid Pagination Cursor", "status": 400, "detail": "The provided cursor has expired. Start a new search to get a fresh cursor.\n", "code": "invalid_cursor", "documentation_url": "https://developer.glean.com/errors/invalid-cursor", "request_id": "req_7f8a9b0c1d2e", "errors": [{"pointer": "/messages/0/role", "detail": "Must be one of: USER, GLEAN_AI.", "code": "invalid_cursor"}]} + platform-agents-create-run: + speakeasy-default-platform-agents-create-run: + parameters: + path: + agent_id: "" + requestBody: + application/json: {"messages": [{"role": "USER", "content": []}], "stream": false} + responses: + "200": + application/json: {"run": {"agent_id": "", "messages": [{"role": "USER", "content": []}], "status": "error"}, "messages": [{"role": "USER", "content": []}], "request_id": ""} + text/event-stream: "" + "400": + application/problem+json: {"type": "https://developer.glean.com/errors/invalid-cursor", "title": "Invalid Pagination Cursor", "status": 400, "detail": "The provided cursor has expired. Start a new search to get a fresh cursor.\n", "code": "invalid_cursor", "documentation_url": "https://developer.glean.com/errors/invalid-cursor", "request_id": "req_7f8a9b0c1d2e", "errors": [{"pointer": "/messages/0/role", "detail": "Must be one of: USER, GLEAN_AI.", "code": "invalid_cursor"}]} + "500": + application/problem+json: {"type": "https://developer.glean.com/errors/invalid-cursor", "title": "Invalid Pagination Cursor", "status": 400, "detail": "The provided cursor has expired. Start a new search to get a fresh cursor.\n", "code": "invalid_cursor", "documentation_url": "https://developer.glean.com/errors/invalid-cursor", "request_id": "req_7f8a9b0c1d2e", "errors": [{"pointer": "/messages/0/role", "detail": "Must be one of: USER, GLEAN_AI.", "code": "invalid_cursor"}]} + platform-search: + speakeasy-default-platform-search: + requestBody: + application/json: {"query": "quarterly planning 2026", "page_size": 10, "datasources": ["confluence", "google_drive"], "datasource_instances": ["slack_acme", "slack_eu"], "filters": [{"field": "type", "values": ["spreadsheet", "presentation"]}]} + responses: + "200": + application/json: {"results": [], "has_more": false, "next_cursor": "", "request_id": ""} + "400": + application/problem+json: {"type": "https://developer.glean.com/errors/invalid-cursor", "title": "Invalid Pagination Cursor", "status": 400, "detail": "The provided cursor has expired. Start a new search to get a fresh cursor.\n", "code": "invalid_cursor", "documentation_url": "https://developer.glean.com/errors/invalid-cursor", "request_id": "req_7f8a9b0c1d2e", "errors": [{"pointer": "/messages/0/role", "detail": "Must be one of: USER, GLEAN_AI.", "code": "invalid_cursor"}]} + "500": + application/problem+json: {"type": "https://developer.glean.com/errors/invalid-cursor", "title": "Invalid Pagination Cursor", "status": 400, "detail": "The provided cursor has expired. Start a new search to get a fresh cursor.\n", "code": "invalid_cursor", "documentation_url": "https://developer.glean.com/errors/invalid-cursor", "request_id": "req_7f8a9b0c1d2e", "errors": [{"pointer": "/messages/0/role", "detail": "Must be one of: USER, GLEAN_AI.", "code": "invalid_cursor"}]} examplesVersion: 1.0.2 generatedTests: activity: "2025-05-05T15:08:35-05:00" @@ -10876,6 +11328,50 @@ generatedTests: getDatasourceCredentialStatus: "2026-06-05T17:32:08Z" rotateDatasourceCredentials: "2026-06-05T17:32:08Z" createAgent: "2026-06-29T03:34:47Z" + platform-agents-search: "2026-07-02T17:51:23Z" + platform-agents-get: "2026-07-02T17:51:23Z" + platform-agents-get-schemas: "2026-07-02T17:51:23Z" + platform-agents-create-run: "2026-07-02T17:51:23Z" + platform-search: "2026-07-02T17:51:23Z" +releaseNotes: | + ## Typescript SDK Changes: + * `glean.agents.search()`: **Added** + * `glean.agents.get()`: **Added** + * `glean.agents.getSchemas()`: **Added** + * `glean.agents.createRun()`: **Added** + * `glean.search.query()`: **Added** + * `glean.client.authentication.checkDatasourceAuth()`: **Added** + * `glean.client.chat.retrieveFile()`: **Added** + * `glean.client.agents.create()`: **Added** + * `glean.client.agents.update()`: **Added** + * `glean.client.entities.retrievePersonPhoto()`: **Added** + * `glean.client.tools.retrieveActionPackAuthStatus()`: **Added** + * `glean.client.tools.authorizeActionPack()`: **Added** + * `glean.client.governance.data.findings.create()`: **Added** + * `glean.client.governance.data.findings.list()`: **Added** + * `glean.client.governance.data.findings.download()`: **Added** + * `glean.client.governance.data.findings.delete()`: **Added** + * `glean.client.datasources.retrieveConfiguration()`: **Added** + * `glean.client.datasources.updateConfiguration()`: **Added** + * `glean.client.datasources.retrieveCredentialStatus()`: **Added** + * `glean.client.datasources.rotateCredentials()`: **Added** + * `glean.indexing.documents.debugEvents()`: **Added** + * `glean.authentication.checkdatasourceauth()`: **Removed** (Breaking ⚠️) + * `glean.chat.getChatFile()`: **Removed** (Breaking ⚠️) + * `glean.agents.createAgent()`: **Removed** (Breaking ⚠️) + * `glean.agents.editAgent()`: **Removed** (Breaking ⚠️) + * `glean.entities.getPersonPhoto()`: **Removed** (Breaking ⚠️) + * `glean.tools.getActionPackAuthStatus()`: **Removed** (Breaking ⚠️) + * `glean.tools.authorizeActionPack()`: **Removed** (Breaking ⚠️) + * `glean.troubleshooting.post/api/index/v1/debug/{datasource}/document/events()`: **Removed** (Breaking ⚠️) + * `glean.governance.createfindingsexport()`: **Removed** (Breaking ⚠️) + * `glean.governance.listfindingsexports()`: **Removed** (Breaking ⚠️) + * `glean.governance.downloadfindingsexport()`: **Removed** (Breaking ⚠️) + * `glean.governance.deletefindingsexport()`: **Removed** (Breaking ⚠️) + * `glean.datasources.getDatasourceInstanceConfiguration()`: **Removed** (Breaking ⚠️) + * `glean.datasources.updateDatasourceInstanceConfiguration()`: **Removed** (Breaking ⚠️) + * `glean.datasources.getDatasourceCredentialStatus()`: **Removed** (Breaking ⚠️) + * `glean.datasources.rotateDatasourceCredentials()`: **Removed** (Breaking ⚠️) generatedFiles: - .devcontainer/README.md - .devcontainer/devcontainer.json diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 4c29ac33..a54ba386 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -35,7 +35,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: true typescript: - version: 0.16.1 + version: 0.17.0 acceptHeaderEnum: true additionalDependencies: dependencies: {} diff --git a/.speakeasy/glean-merged-spec.yaml b/.speakeasy/glean-merged-spec.yaml index 4b8d6c70..870a17e1 100644 --- a/.speakeasy/glean-merged-spec.yaml +++ b/.speakeasy/glean-merged-spec.yaml @@ -1,8 +1,9 @@ openapi: 3.0.0 info: - version: 0.9.0 + version: "0.9.0" title: Glean API - x-source-commit-sha: dab2f256ed97bf12c64bb739845935a1388af02d + x-source-commit-sha: 750ec3e4db6f2877f191460b47bff807273c68d8 + x-open-api-commit-sha: 5130487252df59e5fe21a96c4e758609933045da description: | # Introduction In addition to the data sources that Glean has built-in support for, Glean also provides a REST API that enables customers to put arbitrary content in the search index. This is useful, for example, for doing permissions-aware search over content in internal tools that reside on-prem as well as for searching over applications that Glean does not currently support first class. In addition these APIs allow the customer to push organization data (people info, organization structure etc) into Glean. @@ -22,7 +23,6 @@ info: These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice. x-logo: url: https://app.glean.com/images/glean-text2.svg - x-open-api-commit-sha: 1c2d55feb0e270bf4afadeefcd5c001fabeadafd x-speakeasy-name: 'Glean API' servers: - url: https://{instance}-be.glean.com @@ -31,20 +31,281 @@ servers: default: instance-name description: The instance name (typically the email domain without the TLD) that determines the deployment backend. paths: - /rest/api/v1/activity: + /api/agents/search: post: tags: - - Activity - summary: Report document activity - description: Report user activity that occurs on indexed documents such as viewing or editing. This signal improves search quality. - operationId: activity + - Agents + summary: Search agents + description: | + Search agents available to the authenticated user by agent name. + operationId: platform-agents-search x-visibility: Public + x-glean-experimental: + id: 4abc1e17-8e06-490b-99a7-e8f97592405a + introduced: "2026-05-12" x-codegen-request-body-name: payload requestBody: + required: true content: application/json: schema: - $ref: "#/components/schemas/Activity" + $ref: "#/components/schemas/PlatformAgentsSearchRequest" + responses: + "200": + description: Successful response. + content: + application/json: + schema: + $ref: "#/components/schemas/PlatformAgentsSearchResponse" + "400": + $ref: "#/components/responses/PlatformBadRequest" + "401": + $ref: "#/components/responses/PlatformUnauthorized" + "403": + $ref: "#/components/responses/PlatformForbidden" + "404": + $ref: "#/components/responses/PlatformNotFound" + "408": + $ref: "#/components/responses/PlatformRequestTimeout" + "429": + $ref: "#/components/responses/PlatformTooManyRequests" + "500": + $ref: "#/components/responses/PlatformInternalServerError" + "503": + $ref: "#/components/responses/PlatformServiceUnavailable" + x-speakeasy-group: agents + x-speakeasy-name-override: search + security: + - APIToken: [] + /api/agents/{agent_id}: + get: + tags: + - Agents + summary: Get agent + description: | + Retrieve details for an agent available to the authenticated user. + operationId: platform-agents-get + x-visibility: Public + x-glean-experimental: + id: 009b3e94-694b-4deb-b80a-c67011173715 + introduced: "2026-05-12" + parameters: + - in: path + name: agent_id + description: ID of the agent to retrieve. + required: true + schema: + type: string + minLength: 1 + responses: + "200": + description: Successful response. + content: + application/json: + schema: + $ref: "#/components/schemas/PlatformAgentGetResponse" + "400": + $ref: "#/components/responses/PlatformBadRequest" + "401": + $ref: "#/components/responses/PlatformUnauthorized" + "403": + $ref: "#/components/responses/PlatformForbidden" + "404": + $ref: "#/components/responses/PlatformNotFound" + "408": + $ref: "#/components/responses/PlatformRequestTimeout" + "429": + $ref: "#/components/responses/PlatformTooManyRequests" + "500": + $ref: "#/components/responses/PlatformInternalServerError" + "503": + $ref: "#/components/responses/PlatformServiceUnavailable" + x-speakeasy-group: agents + x-speakeasy-name-override: get + security: + - APIToken: [] + /api/agents/{agent_id}/schemas: + get: + tags: + - Agents + summary: Get agent schemas + description: | + Retrieve an agent's input and output JSON schemas. + operationId: platform-agents-get-schemas + x-visibility: Public + x-glean-experimental: + id: b40b4dd3-3839-48e6-9e45-7e63e8148b49 + introduced: "2026-05-12" + parameters: + - in: path + name: agent_id + description: ID of the agent whose schemas should be retrieved. + required: true + schema: + type: string + minLength: 1 + - in: query + name: include_tools + description: Whether to include tool metadata in the response. + required: false + schema: + type: boolean + default: false + responses: + "200": + description: Successful response. + content: + application/json: + schema: + $ref: "#/components/schemas/PlatformAgentSchemasResponse" + "400": + $ref: "#/components/responses/PlatformBadRequest" + "401": + $ref: "#/components/responses/PlatformUnauthorized" + "403": + $ref: "#/components/responses/PlatformForbidden" + "404": + $ref: "#/components/responses/PlatformNotFound" + "408": + $ref: "#/components/responses/PlatformRequestTimeout" + "429": + $ref: "#/components/responses/PlatformTooManyRequests" + "500": + $ref: "#/components/responses/PlatformInternalServerError" + "503": + $ref: "#/components/responses/PlatformServiceUnavailable" + x-speakeasy-group: agents + x-speakeasy-name-override: getSchemas + security: + - APIToken: [] + /api/agents/{agent_id}/runs: + post: + tags: + - Agents + summary: Create agent run + description: | + Execute an agent run. Set `stream` to true to receive server-sent events; otherwise the response contains the final agent messages. + operationId: platform-agents-create-run + x-visibility: Public + x-glean-experimental: + id: 26bba669-2e92-4e5d-9798-6a532fae4e9f + introduced: "2026-05-12" + x-codegen-request-body-name: payload + parameters: + - in: path + name: agent_id + description: ID of the agent to run. + required: true + schema: + type: string + minLength: 1 + requestBody: + required: true + content: + application/json: + schema: + $ref: "#/components/schemas/PlatformAgentRunCreateRequest" + responses: + "200": + description: Successful response. + content: + application/json: + schema: + $ref: "#/components/schemas/PlatformAgentRunWaitResponse" + text/event-stream: + schema: + type: string + description: Server-sent events emitted by the running agent. + example: | + id: 1 + event: message + data: {"messages":[{"role":"GLEAN_AI","content":[{"text":"Hello","type":"text"}]}]} + + id: 2 + event: message + data: {"messages":[{"role":"GLEAN_AI","content":[{"text":", I can help with HR policy questions.","type":"text"}]}]} + "400": + $ref: "#/components/responses/PlatformBadRequest" + "401": + $ref: "#/components/responses/PlatformUnauthorized" + "403": + $ref: "#/components/responses/PlatformForbidden" + "404": + $ref: "#/components/responses/PlatformNotFound" + "408": + $ref: "#/components/responses/PlatformRequestTimeout" + "409": + $ref: "#/components/responses/PlatformConflict" + "429": + $ref: "#/components/responses/PlatformTooManyRequests" + "500": + $ref: "#/components/responses/PlatformInternalServerError" + "503": + $ref: "#/components/responses/PlatformServiceUnavailable" + x-speakeasy-group: agents + x-speakeasy-name-override: createRun + security: + - APIToken: [] + /api/search: + post: + tags: + - Search + summary: Search + description: | + Execute a search query and retrieve ranked results. This is the data retrieval variant of the search API and returns only results and pagination state. + operationId: platform-search + x-visibility: Public + x-glean-experimental: + id: 5ab612fc-ed50-4419-bec3-e5fe83934653 + introduced: "2026-04-08" + x-codegen-request-body-name: payload + requestBody: + required: true + content: + application/json: + schema: + $ref: "#/components/schemas/PlatformSearchRequest" + responses: + "200": + description: Successful search. + content: + application/json: + schema: + $ref: "#/components/schemas/PlatformSearchResponse" + "400": + $ref: "#/components/responses/PlatformBadRequest" + "401": + $ref: "#/components/responses/PlatformUnauthorized" + "403": + $ref: "#/components/responses/PlatformForbidden" + "404": + $ref: "#/components/responses/PlatformNotFound" + "408": + $ref: "#/components/responses/PlatformRequestTimeout" + "429": + $ref: "#/components/responses/PlatformTooManyRequests" + "500": + $ref: "#/components/responses/PlatformInternalServerError" + "503": + $ref: "#/components/responses/PlatformServiceUnavailable" + x-speakeasy-group: search + x-speakeasy-name-override: query + security: + - APIToken: [] + /rest/api/v1/activity: + post: + operationId: activity + summary: Report document activity + description: Report user activity that occurs on indexed documents such as viewing or editing. This signal improves search quality. + tags: + - Activity + security: + - APIToken: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Activity' required: true x-exportParamName: Activity responses: @@ -56,19 +317,19 @@ paths: description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: report x-speakeasy-group: client.activity /rest/api/v1/feedback: post: - tags: - - Activity + operationId: feedback summary: Report client activity description: Report events that happen to results within a Glean client UI, such as search result views and clicks. This signal improves search quality. - operationId: feedback - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Activity + security: + - APIToken: [] parameters: - name: feedback in: query @@ -80,7 +341,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/Feedback" + $ref: '#/components/schemas/Feedback' x-exportParamName: Feedback responses: "200": @@ -91,26 +352,26 @@ paths: description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-group: client.activity /rest/api/v1/createannouncement: post: - tags: - - Announcements + operationId: createannouncement summary: Create Announcement description: Create a textual announcement visible to some set of users based on department and location. - operationId: createannouncement - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Announcements + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Announcement content content: application/json: schema: - $ref: "#/components/schemas/CreateAnnouncementRequest" - description: Announcement content + $ref: '#/components/schemas/CreateAnnouncementRequest' required: true x-exportParamName: Request responses: @@ -119,34 +380,34 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/Announcement" + $ref: '#/components/schemas/Announcement' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: create x-speakeasy-group: client.announcements /rest/api/v1/deleteannouncement: post: - tags: - - Announcements + operationId: deleteannouncement summary: Delete Announcement description: Delete an existing user-generated announcement. - operationId: deleteannouncement - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Announcements + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Delete announcement request content: application/json: schema: - $ref: "#/components/schemas/DeleteAnnouncementRequest" - description: Delete announcement request + $ref: '#/components/schemas/DeleteAnnouncementRequest' required: true x-exportParamName: Request responses: @@ -158,27 +419,27 @@ paths: description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: delete x-speakeasy-group: client.announcements /rest/api/v1/updateannouncement: post: - tags: - - Announcements + operationId: updateannouncement summary: Update Announcement description: Update a textual announcement visible to some set of users based on department and location. - operationId: updateannouncement - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Announcements + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Announcement content. Id need to be specified for the announcement. content: application/json: schema: - $ref: "#/components/schemas/UpdateAnnouncementRequest" - description: Announcement content. Id need to be specified for the announcement. + $ref: '#/components/schemas/UpdateAnnouncementRequest' required: true x-exportParamName: Request responses: @@ -187,34 +448,34 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/Announcement" + $ref: '#/components/schemas/Announcement' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: update x-speakeasy-group: client.announcements /rest/api/v1/createanswer: post: - tags: - - Answers + operationId: createanswer summary: Create Answer description: Create a user-generated Answer that contains a question and answer. - operationId: createanswer - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Answers + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: CreateAnswer request content: application/json: schema: - $ref: "#/components/schemas/CreateAnswerRequest" - description: CreateAnswer request + $ref: '#/components/schemas/CreateAnswerRequest' required: true x-exportParamName: Request responses: @@ -223,34 +484,34 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/Answer" + $ref: '#/components/schemas/Answer' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: create x-speakeasy-group: client.answers /rest/api/v1/deleteanswer: post: - tags: - - Answers + operationId: deleteanswer summary: Delete Answer description: Delete an existing user-generated Answer. - operationId: deleteanswer - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Answers + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: DeleteAnswer request content: application/json: schema: - $ref: "#/components/schemas/DeleteAnswerRequest" - description: DeleteAnswer request + $ref: '#/components/schemas/DeleteAnswerRequest' required: true x-exportParamName: Request responses: @@ -262,27 +523,27 @@ paths: description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: delete x-speakeasy-group: client.answers /rest/api/v1/editanswer: post: - tags: - - Answers + operationId: editanswer summary: Update Answer description: Update an existing user-generated Answer. - operationId: editanswer - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Answers + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: EditAnswer request content: application/json: schema: - $ref: "#/components/schemas/EditAnswerRequest" - description: EditAnswer request + $ref: '#/components/schemas/EditAnswerRequest' required: true x-exportParamName: Request responses: @@ -291,34 +552,34 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/Answer" + $ref: '#/components/schemas/Answer' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: update x-speakeasy-group: client.answers /rest/api/v1/getanswer: post: - tags: - - Answers + operationId: getanswer summary: Read Answer description: Read the details of a particular Answer given its ID. - operationId: getanswer - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Answers + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: GetAnswer request content: application/json: schema: - $ref: "#/components/schemas/GetAnswerRequest" - description: GetAnswer request + $ref: '#/components/schemas/GetAnswerRequest' required: true x-exportParamName: Request responses: @@ -327,35 +588,34 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetAnswerResponse" + $ref: '#/components/schemas/GetAnswerResponse' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: retrieve x-speakeasy-group: client.answers /rest/api/v1/listanswers: post: - tags: - - Answers + operationId: listanswers summary: List Answers description: List Answers created by the current user. - operationId: listanswers - deprecated: true - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Answers + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: ListAnswers request content: application/json: schema: - $ref: "#/components/schemas/ListAnswersRequest" - description: ListAnswers request + $ref: '#/components/schemas/ListAnswersRequest' required: true x-exportParamName: Request responses: @@ -364,27 +624,27 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ListAnswersResponse" + $ref: '#/components/schemas/ListAnswersResponse' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests + deprecated: true + x-visibility: Public + x-codegen-request-body-name: payload x-glean-deprecated: id: 4c0923bd-64c7-45b9-99a5-b36f2705e618 introduced: "2026-01-21" message: Answer boards have been removed and this endpoint no longer serves a purpose removal: "2026-10-15" x-speakeasy-deprecation-message: "Deprecated on 2026-01-21, removal scheduled for 2026-10-15: Answer boards have been removed and this endpoint no longer serves a purpose" - security: - - APIToken: [] x-speakeasy-name-override: list x-speakeasy-group: client.answers /rest/api/v1/checkdatasourceauth: post: - tags: - - Authentication + operationId: checkdatasourceauth summary: Check datasource authorization description: | Returns all datasource instances that require per-user OAuth authorization @@ -394,8 +654,10 @@ paths: Clients construct the full OAuth URL by combining the backend base URL, the `authUrlRelativePath` from each instance, and the transient auth token: `/?transient_auth_token=`. - operationId: checkdatasourceauth - x-visibility: Public + tags: + - Authentication + security: + - APIToken: [] parameters: [] responses: "200": @@ -403,17 +665,17 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CheckDatasourceAuthResponse" + $ref: '#/components/schemas/CheckDatasourceAuthResponse' "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-speakeasy-name-override: checkDatasourceAuth + x-speakeasy-group: client.authentication /rest/api/v1/createauthtoken: post: - tags: - - Authentication + operationId: createauthtoken summary: Create authentication token description: | Creates an authentication token for the authenticated user. These are @@ -421,8 +683,10 @@ paths: Note: The tokens generated from this endpoint are **not** valid tokens for use with the Client API (e.g. `/rest/api/v1/*`). - operationId: createauthtoken - x-visibility: Public + tags: + - Authentication + security: + - APIToken: [] parameters: [] responses: "200": @@ -430,34 +694,34 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateAuthTokenResponse" + $ref: '#/components/schemas/CreateAuthTokenResponse' "400": description: Invalid Request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public x-speakeasy-name-override: createToken x-speakeasy-group: client.authentication /rest/api/v1/chat: post: - tags: - - Chat + operationId: chat summary: Chat description: Have a conversation with Glean AI. - operationId: chat - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Chat + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" - - $ref: "#/components/parameters/timezoneOffset" + - $ref: '#/components/parameters/locale' + - $ref: '#/components/parameters/timezoneOffset' requestBody: + description: Includes chat history for Glean AI to respond to. content: application/json: schema: - $ref: "#/components/schemas/ChatRequest" + $ref: '#/components/schemas/ChatRequest' examples: defaultExample: value: @@ -475,7 +739,6 @@ paths: messageType: CONTENT fragments: - text: Who was the first person to land on the moon? - description: Includes chat history for Glean AI to respond to. required: true x-exportParamName: Request responses: @@ -579,7 +842,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ChatResponse" + $ref: '#/components/schemas/ChatResponse' examples: queuedExample: value: @@ -594,23 +857,23 @@ paths: description: Request Timeout "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-group: client.chat x-speakeasy-name-override: create x-speakeasy-usage-example: true /rest/api/v1/deleteallchats: post: - tags: - - Chat + operationId: deleteallchats summary: Deletes all saved Chats owned by a user description: Deletes all saved Chats a user has had and all their contained conversational content. - operationId: deleteallchats - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Chat + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" - - $ref: "#/components/parameters/timezoneOffset" + - $ref: '#/components/parameters/locale' + - $ref: '#/components/parameters/timezoneOffset' responses: "200": description: OK @@ -620,27 +883,27 @@ paths: description: Not Authorized "403": description: Forbidden - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: deleteAll x-speakeasy-group: client.chat /rest/api/v1/deletechats: post: - tags: - - Chat + operationId: deletechats summary: Deletes saved Chats description: Deletes saved Chats and all their contained conversational content. - operationId: deletechats - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Chat + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" - - $ref: "#/components/parameters/timezoneOffset" + - $ref: '#/components/parameters/locale' + - $ref: '#/components/parameters/timezoneOffset' requestBody: content: application/json: schema: - $ref: "#/components/schemas/DeleteChatsRequest" + $ref: '#/components/schemas/DeleteChatsRequest' required: true x-exportParamName: Request responses: @@ -654,27 +917,27 @@ paths: description: Forbidden "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: delete x-speakeasy-group: client.chat /rest/api/v1/getchat: post: - tags: - - Chat + operationId: getchat summary: Retrieves a Chat description: Retrieves the chat history between Glean Assistant and the user for a given Chat. - operationId: getchat - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Chat + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" - - $ref: "#/components/parameters/timezoneOffset" + - $ref: '#/components/parameters/locale' + - $ref: '#/components/parameters/timezoneOffset' requestBody: content: application/json: schema: - $ref: "#/components/schemas/GetChatRequest" + $ref: '#/components/schemas/GetChatRequest' required: true x-exportParamName: Request responses: @@ -683,7 +946,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetChatResponse" + $ref: '#/components/schemas/GetChatResponse' "400": description: Invalid request "401": @@ -692,56 +955,56 @@ paths: description: Forbidden "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: retrieve x-speakeasy-group: client.chat /rest/api/v1/listchats: post: - tags: - - Chat + operationId: listchats summary: Retrieves all saved Chats description: Retrieves all the saved Chats between Glean Assistant and the user. The returned Chats contain only metadata and no conversational content. - operationId: listchats - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Chat + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" - - $ref: "#/components/parameters/timezoneOffset" + - $ref: '#/components/parameters/locale' + - $ref: '#/components/parameters/timezoneOffset' responses: "200": description: OK content: application/json: schema: - $ref: "#/components/schemas/ListChatsResponse" + $ref: '#/components/schemas/ListChatsResponse' "401": description: Not Authorized "403": description: Forbidden "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: list x-speakeasy-group: client.chat /rest/api/v1/getchatapplication: post: - tags: - - Chat + operationId: getchatapplication summary: Gets the metadata for a custom Chat application description: Gets the Chat application details for the specified application ID. - operationId: getchatapplication - x-visibility: Preview - x-codegen-request-body-name: payload + tags: + - Chat + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" - - $ref: "#/components/parameters/timezoneOffset" + - $ref: '#/components/parameters/locale' + - $ref: '#/components/parameters/timezoneOffset' requestBody: content: application/json: schema: - $ref: "#/components/schemas/GetChatApplicationRequest" + $ref: '#/components/schemas/GetChatApplicationRequest' required: true x-exportParamName: Request responses: @@ -750,34 +1013,35 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetChatApplicationResponse" + $ref: '#/components/schemas/GetChatApplicationResponse' "400": description: Invalid request "401": description: Not Authorized "403": description: Forbidden - security: - - APIToken: [] + x-visibility: Preview + x-codegen-request-body-name: payload x-speakeasy-name-override: retrieveApplication x-speakeasy-group: client.chat /rest/api/v1/uploadchatfiles: post: - tags: - - Chat + operationId: uploadchatfiles summary: Upload files for Chat description: Upload files for Chat. - operationId: uploadchatfiles - x-visibility: Public + tags: + - Chat + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" - - $ref: "#/components/parameters/timezoneOffset" + - $ref: '#/components/parameters/locale' + - $ref: '#/components/parameters/timezoneOffset' requestBody: - required: true content: multipart/form-data: schema: - $ref: "#/components/schemas/UploadChatFilesRequest" + $ref: '#/components/schemas/UploadChatFilesRequest' + required: true x-exportParamName: Request responses: "200": @@ -785,7 +1049,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UploadChatFilesResponse" + $ref: '#/components/schemas/UploadChatFilesResponse' "400": description: Invalid request "401": @@ -794,27 +1058,27 @@ paths: description: Forbidden "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public x-speakeasy-name-override: uploadFiles x-speakeasy-group: client.chat /rest/api/v1/getchatfiles: post: - tags: - - Chat + operationId: getchatfiles summary: Get files uploaded by a user for Chat description: Get files uploaded by a user for Chat. - operationId: getchatfiles - x-visibility: Public + tags: + - Chat + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" - - $ref: "#/components/parameters/timezoneOffset" + - $ref: '#/components/parameters/locale' + - $ref: '#/components/parameters/timezoneOffset' requestBody: - required: true content: application/json: schema: - $ref: "#/components/schemas/GetChatFilesRequest" + $ref: '#/components/schemas/GetChatFilesRequest' + required: true x-exportParamName: Request responses: "200": @@ -822,7 +1086,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetChatFilesResponse" + $ref: '#/components/schemas/GetChatFilesResponse' "400": description: Invalid request "401": @@ -831,27 +1095,27 @@ paths: description: Forbidden "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public x-speakeasy-name-override: retrieveFiles x-speakeasy-group: client.chat /rest/api/v1/deletechatfiles: post: - tags: - - Chat + operationId: deletechatfiles summary: Delete files uploaded by a user for chat description: Delete files uploaded by a user for Chat. - operationId: deletechatfiles - x-visibility: Public + tags: + - Chat + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" - - $ref: "#/components/parameters/timezoneOffset" + - $ref: '#/components/parameters/locale' + - $ref: '#/components/parameters/timezoneOffset' requestBody: - required: true content: application/json: schema: - $ref: "#/components/schemas/DeleteChatFilesRequest" + $ref: '#/components/schemas/DeleteChatFilesRequest' + required: true responses: "200": description: OK @@ -863,31 +1127,31 @@ paths: description: Forbidden "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public x-speakeasy-name-override: deleteFiles x-speakeasy-group: client.chat /rest/api/v1/chat-files/{fileId}: get: - tags: - - Chat + operationId: getChatFile summary: Download a chat file description: | Download the raw content of a file generated or uploaded during a chat session (for example, an image produced by the assistant). Returns the file bytes with a Content-Type header matching the file's MIME type. - operationId: getChatFile - x-visibility: Public + tags: + - Chat + security: + - APIToken: [] parameters: - name: fileId in: path - required: true description: Identifier of the chat file to download. + required: true schema: type: string - name: preview in: query - required: false description: | When true and the file is a PDF, the response is served inline (Content-Disposition: inline) instead of as an attachment. + required: false schema: type: boolean responses: @@ -908,32 +1172,34 @@ paths: description: File not found. "500": description: Internal server error. - security: - - APIToken: [] + x-visibility: Public + x-speakeasy-name-override: retrieveFile + x-speakeasy-group: client.chat /rest/api/v1/agents: post: - tags: - - Agents + operationId: createAgent summary: Create an agent description: Create an agent. - operationId: createAgent - x-visibility: Preview + tags: + - Agents + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" - - $ref: "#/components/parameters/timezoneOffset" + - $ref: '#/components/parameters/locale' + - $ref: '#/components/parameters/timezoneOffset' requestBody: - required: true content: application/json: schema: - $ref: "#/components/schemas/CreateWorkflowRequest" + $ref: '#/components/schemas/CreateWorkflowRequest' + required: true responses: "200": description: Success content: application/json: schema: - $ref: "#/components/schemas/CreateWorkflowResponse" + $ref: '#/components/schemas/CreateWorkflowResponse' "400": description: Bad request "401": @@ -942,34 +1208,36 @@ paths: description: Forbidden "500": description: Internal server error - security: - - APIToken: [] + x-visibility: Preview + x-speakeasy-group: client.agents + x-speakeasy-name-override: create /rest/api/v1/agents/{agent_id}: get: - tags: - - Agents + operationId: getAgent summary: Retrieve an agent description: Returns details of an [agent](https://developers.glean.com/agents/agents-api) created in the Agent Builder. - operationId: getAgent - x-visibility: Preview + tags: + - Agents + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" - - $ref: "#/components/parameters/timezoneOffset" - - description: The ID of the agent. + - $ref: '#/components/parameters/locale' + - $ref: '#/components/parameters/timezoneOffset' + - name: agent_id + in: path + description: The ID of the agent. required: true schema: type: string title: Agent ID description: The ID of the agent. - name: agent_id - in: path responses: "200": description: Success content: application/json: schema: - $ref: "#/components/schemas/Agent" + $ref: '#/components/schemas/Agent' "400": description: Bad request "403": @@ -979,37 +1247,37 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ErrorResponse" + $ref: '#/components/schemas/ErrorResponse' "500": description: Internal server error - security: - - APIToken: [] + x-visibility: Preview x-speakeasy-group: client.agents x-speakeasy-name-override: retrieve post: - tags: - - Agents + operationId: editAgent summary: Edit an agent description: Creates a draft or publishes an [agent](https://developers.glean.com/agents/agents-api). Use `isDraft=true` to save a draft, or `isDraft=false` (or omit) to publish immediately. Only draft and publish modes are supported. - operationId: editAgent - x-visibility: Preview + tags: + - Agents + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" - - $ref: "#/components/parameters/timezoneOffset" - - description: The ID of the agent. + - $ref: '#/components/parameters/locale' + - $ref: '#/components/parameters/timezoneOffset' + - name: agent_id + in: path + description: The ID of the agent. required: true schema: type: string title: Agent ID description: The ID of the agent. - name: agent_id - in: path requestBody: - required: true content: application/json: schema: - $ref: "#/components/schemas/EditWorkflowRequest" + $ref: '#/components/schemas/EditWorkflowRequest' + required: true responses: "200": description: Success @@ -1024,37 +1292,39 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ErrorResponse" + $ref: '#/components/schemas/ErrorResponse' "500": description: Internal server error - security: - - APIToken: [] + x-visibility: Preview + x-speakeasy-group: client.agents + x-speakeasy-name-override: update /rest/api/v1/agents/{agent_id}/schemas: get: - tags: - - Agents + operationId: getAgentSchemas summary: List an agent's schemas description: Return [agent](https://developers.glean.com/agents/agents-api)'s input and output schemas. You can use these schemas to detect changes to an agent's input or output structure. - operationId: getAgentSchemas - x-visibility: Preview + tags: + - Agents + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" - - $ref: "#/components/parameters/timezoneOffset" - - description: The ID of the agent. + - $ref: '#/components/parameters/locale' + - $ref: '#/components/parameters/timezoneOffset' + - name: agent_id + in: path + description: The ID of the agent. required: true schema: type: string title: Agent Id description: The ID of the agent. - name: agent_id - in: path responses: "200": description: Success content: application/json: schema: - $ref: "#/components/schemas/AgentSchemas" + $ref: '#/components/schemas/AgentSchemas' "400": description: Bad request "403": @@ -1064,40 +1334,40 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ErrorResponse" + $ref: '#/components/schemas/ErrorResponse' "422": description: Validation Error content: application/json: schema: - $ref: "#/components/schemas/ErrorResponse" + $ref: '#/components/schemas/ErrorResponse' "500": description: Internal server error - security: - - APIToken: [] + x-visibility: Preview x-speakeasy-group: client.agents x-speakeasy-name-override: retrieveSchemas /rest/api/v1/agents/search: post: - tags: - - Agents + operationId: searchAgents summary: Search agents description: Search for [agents](https://developers.glean.com/agents/agents-api) by agent name. - operationId: searchAgents - x-visibility: Preview + tags: + - Agents + security: + - APIToken: [] requestBody: - required: true content: application/json: schema: - $ref: "#/components/schemas/SearchAgentsRequest" + $ref: '#/components/schemas/SearchAgentsRequest' + required: true responses: "200": description: Success content: application/json: schema: - $ref: "#/components/schemas/SearchAgentsResponse" + $ref: '#/components/schemas/SearchAgentsResponse' "400": description: Bad request "403": @@ -1107,32 +1377,32 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ErrorResponse" + $ref: '#/components/schemas/ErrorResponse' "422": description: Validation Error content: application/json: schema: - $ref: "#/components/schemas/ErrorResponse" + $ref: '#/components/schemas/ErrorResponse' "500": description: Internal server error - security: - - APIToken: [] + x-visibility: Preview x-speakeasy-group: client.agents x-speakeasy-name-override: list /rest/api/v1/agents/runs/stream: post: + operationId: createAndStreamRun + summary: Create an agent run and stream the response + description: 'Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the result as a stream of server-sent events (SSE). **Note**: If the agent uses an input form trigger, all form fields (including optional fields) must be included in the `input` object.' tags: - Agents - summary: Create an agent run and stream the response - description: "Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the result as a stream of server-sent events (SSE). **Note**: If the agent uses an input form trigger, all form fields (including optional fields) must be included in the `input` object." - operationId: createAndStreamRun - x-visibility: Preview + security: + - APIToken: [] requestBody: content: application/json: schema: - $ref: "#/components/schemas/AgentRunCreate" + $ref: '#/components/schemas/AgentRunCreate' required: true responses: "200": @@ -1167,38 +1437,38 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ErrorResponse" + $ref: '#/components/schemas/ErrorResponse' "409": description: Conflict content: application/json: schema: - $ref: "#/components/schemas/ErrorResponse" + $ref: '#/components/schemas/ErrorResponse' "422": description: Validation Error content: application/json: schema: - $ref: "#/components/schemas/ErrorResponse" + $ref: '#/components/schemas/ErrorResponse' "500": description: Internal server error - security: - - APIToken: [] + x-visibility: Preview x-speakeasy-group: client.agents x-speakeasy-name-override: runStream /rest/api/v1/agents/runs/wait: post: + operationId: createAndWaitRun + summary: Create an agent run and wait for the response + description: 'Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the final response. **Note**: If the agent uses an input form trigger, all form fields (including optional fields) must be included in the `input` object.' tags: - Agents - summary: Create an agent run and wait for the response - description: "Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the final response. **Note**: If the agent uses an input form trigger, all form fields (including optional fields) must be included in the `input` object." - operationId: createAndWaitRun - x-visibility: Preview + security: + - APIToken: [] requestBody: content: application/json: schema: - $ref: "#/components/schemas/AgentRunCreate" + $ref: '#/components/schemas/AgentRunCreate' required: true responses: "200": @@ -1206,7 +1476,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/AgentRunWaitResponse" + $ref: '#/components/schemas/AgentRunWaitResponse' "400": description: Bad request "403": @@ -1219,27 +1489,26 @@ paths: description: Validation Error "500": description: Internal server error - security: - - APIToken: [] + x-visibility: Preview x-speakeasy-group: client.agents x-speakeasy-name-override: run /rest/api/v1/addcollectionitems: post: - tags: - - Collections + operationId: addcollectionitems summary: Add Collection item description: Add items to a Collection. - operationId: addcollectionitems - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Collections + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Data describing the add operation. content: application/json: schema: - $ref: "#/components/schemas/AddCollectionItemsRequest" - description: Data describing the add operation. + $ref: '#/components/schemas/AddCollectionItemsRequest' required: true x-exportParamName: Request responses: @@ -1248,34 +1517,34 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/AddCollectionItemsResponse" + $ref: '#/components/schemas/AddCollectionItemsResponse' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: addItems x-speakeasy-group: client.collections /rest/api/v1/createcollection: post: - tags: - - Collections + operationId: createcollection summary: Create Collection description: Create a publicly visible (empty) Collection of documents. - operationId: createcollection - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Collections + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Collection content plus any additional metadata for the request. content: application/json: schema: - $ref: "#/components/schemas/CreateCollectionRequest" - description: Collection content plus any additional metadata for the request. + $ref: '#/components/schemas/CreateCollectionRequest' required: true x-exportParamName: Request responses: @@ -1284,7 +1553,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateCollectionResponse" + $ref: '#/components/schemas/CreateCollectionResponse' "400": description: Invalid request "401": @@ -1294,30 +1563,30 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CollectionError" + $ref: '#/components/schemas/CollectionError' "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-group: client.collections x-speakeasy-name-override: create /rest/api/v1/deletecollection: post: - tags: - - Collections + operationId: deletecollection summary: Delete Collection description: Delete a Collection given the Collection's ID. - operationId: deletecollection - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Collections + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: DeleteCollection request content: application/json: schema: - $ref: "#/components/schemas/DeleteCollectionRequest" - description: DeleteCollection request + $ref: '#/components/schemas/DeleteCollectionRequest' required: true x-exportParamName: Request responses: @@ -1332,30 +1601,30 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CollectionError" + $ref: '#/components/schemas/CollectionError' "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: delete x-speakeasy-group: client.collections /rest/api/v1/deletecollectionitem: post: - tags: - - Collections + operationId: deletecollectionitem summary: Delete Collection item description: Delete a single item from a Collection. - operationId: deletecollectionitem - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Collections + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Data describing the delete operation. content: application/json: schema: - $ref: "#/components/schemas/DeleteCollectionItemRequest" - description: Data describing the delete operation. + $ref: '#/components/schemas/DeleteCollectionItemRequest' required: true x-exportParamName: Request responses: @@ -1364,7 +1633,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/DeleteCollectionItemResponse" + $ref: '#/components/schemas/DeleteCollectionItemResponse' "400": description: Invalid request "401": @@ -1373,27 +1642,27 @@ paths: description: Failed to save deletion "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: deleteItem x-speakeasy-group: client.collections /rest/api/v1/editcollection: post: - tags: - - Collections + operationId: editcollection summary: Update Collection description: Update the properties of an existing Collection. - operationId: editcollection - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Collections + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Collection content plus any additional metadata for the request. content: application/json: schema: - $ref: "#/components/schemas/EditCollectionRequest" - description: Collection content plus any additional metadata for the request. + $ref: '#/components/schemas/EditCollectionRequest' required: true x-exportParamName: Request responses: @@ -1402,7 +1671,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/EditCollectionResponse" + $ref: '#/components/schemas/EditCollectionResponse' "400": description: Invalid request "401": @@ -1412,30 +1681,30 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CollectionError" + $ref: '#/components/schemas/CollectionError' "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: update x-speakeasy-group: client.collections /rest/api/v1/editcollectionitem: post: - tags: - - Collections + operationId: editcollectionitem summary: Update Collection item description: Update the URL, Glean Document ID, description of an item within a Collection given its ID. - operationId: editcollectionitem - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Collections + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Edit Collection Items request content: application/json: schema: - $ref: "#/components/schemas/EditCollectionItemRequest" - description: Edit Collection Items request + $ref: '#/components/schemas/EditCollectionItemRequest' required: true x-exportParamName: Request responses: @@ -1444,34 +1713,34 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/EditCollectionItemResponse" + $ref: '#/components/schemas/EditCollectionItemResponse' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: updateItem x-speakeasy-group: client.collections /rest/api/v1/getcollection: post: - tags: - - Collections + operationId: getcollection summary: Read Collection description: Read the details of a Collection given its ID. Does not fetch items in this Collection. - operationId: getcollection - x-visibility: Preview - x-codegen-request-body-name: payload + tags: + - Collections + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: GetCollection request content: application/json: schema: - $ref: "#/components/schemas/GetCollectionRequest" - description: GetCollection request + $ref: '#/components/schemas/GetCollectionRequest' required: true x-exportParamName: Request responses: @@ -1480,34 +1749,34 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetCollectionResponse" + $ref: '#/components/schemas/GetCollectionResponse' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Preview + x-codegen-request-body-name: payload x-speakeasy-name-override: retrieve x-speakeasy-group: client.collections /rest/api/v1/listcollections: post: - tags: - - Collections + operationId: listcollections summary: List Collections description: List all existing Collections. - operationId: listcollections - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Collections + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: ListCollections request content: application/json: schema: - $ref: "#/components/schemas/ListCollectionsRequest" - description: ListCollections request + $ref: '#/components/schemas/ListCollectionsRequest' required: true x-exportParamName: Request responses: @@ -1516,34 +1785,34 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ListCollectionsResponse" + $ref: '#/components/schemas/ListCollectionsResponse' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: list x-speakeasy-group: client.collections /rest/api/v1/getdocpermissions: post: - tags: - - Documents + operationId: getdocpermissions summary: Read document permissions description: Read the emails of all users who have access to the given document. - operationId: getdocpermissions - x-visibility: Preview - x-codegen-request-body-name: payload + tags: + - Documents + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Document permissions request content: application/json: schema: - $ref: "#/components/schemas/GetDocPermissionsRequest" - description: Document permissions request + $ref: '#/components/schemas/GetDocPermissionsRequest' required: true x-exportParamName: Request responses: @@ -1552,7 +1821,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetDocPermissionsResponse" + $ref: '#/components/schemas/GetDocPermissionsResponse' "400": description: Invalid request "401": @@ -1561,34 +1830,34 @@ paths: description: Forbidden "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Preview + x-codegen-request-body-name: payload x-speakeasy-name-override: retrievePermissions x-speakeasy-group: client.documents /rest/api/v1/getdocuments: post: - tags: - - Documents + operationId: getdocuments summary: Read documents description: Read the documents including metadata (does not include enhanced metadata via `/documentmetadata`) for the given list of Glean Document IDs or URLs specified in the request. - operationId: getdocuments - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Documents + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Information about documents requested. content: application/json: schema: - $ref: "#/components/schemas/GetDocumentsRequest" - description: Information about documents requested. + $ref: '#/components/schemas/GetDocumentsRequest' responses: "200": description: OK content: application/json: schema: - $ref: "#/components/schemas/GetDocumentsResponse" + $ref: '#/components/schemas/GetDocumentsResponse' "400": description: Invalid request "401": @@ -1597,34 +1866,34 @@ paths: description: Documents does not exist, or user cannot access documents. "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: retrieve x-speakeasy-group: client.documents /rest/api/v1/getdocumentsbyfacets: post: - tags: - - Documents + operationId: getdocumentsbyfacets summary: Read documents by facets description: Read the documents including metadata (does not include enhanced metadata via `/documentmetadata`) macthing the given facet conditions. - operationId: getdocumentsbyfacets - x-visibility: Preview - x-codegen-request-body-name: payload + tags: + - Documents + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Information about facet conditions for documents to be retrieved. content: application/json: schema: - $ref: "#/components/schemas/GetDocumentsByFacetsRequest" - description: Information about facet conditions for documents to be retrieved. + $ref: '#/components/schemas/GetDocumentsByFacetsRequest' responses: "200": description: OK content: application/json: schema: - $ref: "#/components/schemas/GetDocumentsByFacetsResponse" + $ref: '#/components/schemas/GetDocumentsByFacetsResponse' "400": description: Invalid request "401": @@ -1633,27 +1902,27 @@ paths: description: Not Found "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Preview + x-codegen-request-body-name: payload x-speakeasy-name-override: retrieveByFacets x-speakeasy-group: client.documents /rest/api/v1/insights: post: - tags: - - Insights + operationId: insights summary: Get insights description: Gets the aggregate usage insights data displayed in the Insights Dashboards. - operationId: insights - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Insights + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Includes request parameters for insights requests. content: application/json: schema: - $ref: "#/components/schemas/InsightsRequest" - description: Includes request parameters for insights requests. + $ref: '#/components/schemas/InsightsRequest' required: true x-exportParamName: InsightsRequest responses: @@ -1662,34 +1931,34 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/InsightsResponse" + $ref: '#/components/schemas/InsightsResponse' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: retrieve x-speakeasy-group: client.insights /rest/api/v1/messages: post: - tags: - - Messages + operationId: messages summary: Read messages description: Retrieves list of messages from messaging/chat datasources (e.g. Slack, Teams). - operationId: messages - x-visibility: Preview - x-codegen-request-body-name: payload + tags: + - Messages + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Includes request params such as the id for channel/message and direction. content: application/json: schema: - $ref: "#/components/schemas/MessagesRequest" - description: Includes request params such as the id for channel/message and direction. + $ref: '#/components/schemas/MessagesRequest' required: true x-exportParamName: MessagesRequest responses: @@ -1698,34 +1967,34 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/MessagesResponse" + $ref: '#/components/schemas/MessagesResponse' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Preview + x-codegen-request-body-name: payload x-speakeasy-name-override: retrieve x-speakeasy-group: client.messages /rest/api/v1/editpin: post: - tags: - - Pins + operationId: editpin summary: Update pin description: Update an existing user-generated pin. - operationId: editpin - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Pins + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Edit pins request content: application/json: schema: - $ref: "#/components/schemas/EditPinRequest" - description: Edit pins request + $ref: '#/components/schemas/EditPinRequest' required: true x-exportParamName: Request responses: @@ -1734,34 +2003,34 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PinDocument" + $ref: '#/components/schemas/PinDocument' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: update x-speakeasy-group: client.pins /rest/api/v1/getpin: post: - tags: - - Pins + operationId: getpin summary: Read pin description: Read pin details given its ID. - operationId: getpin - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Pins + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Get pin request content: application/json: schema: - $ref: "#/components/schemas/GetPinRequest" - description: Get pin request + $ref: '#/components/schemas/GetPinRequest' required: true x-exportParamName: Request responses: @@ -1770,34 +2039,34 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetPinResponse" + $ref: '#/components/schemas/GetPinResponse' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: retrieve x-speakeasy-group: client.pins /rest/api/v1/listpins: post: - tags: - - Pins + operationId: listpins summary: List pins description: Lists all pins. - operationId: listpins - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Pins + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: List pins request content: application/json: schema: type: object - description: List pins request required: true x-exportParamName: Request responses: @@ -1806,34 +2075,34 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ListPinsResponse" + $ref: '#/components/schemas/ListPinsResponse' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: list x-speakeasy-group: client.pins /rest/api/v1/pin: post: - tags: - - Pins + operationId: pin summary: Create pin description: Pin a document as a result for a given search query.Pin results that are known to be a good match. - operationId: pin - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Pins + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Details about the document and query for the pin. content: application/json: schema: - $ref: "#/components/schemas/PinRequest" - description: Details about the document and query for the pin. + $ref: '#/components/schemas/PinRequest' required: true x-exportParamName: PinDocument responses: @@ -1842,34 +2111,34 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PinDocument" + $ref: '#/components/schemas/PinDocument' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: create x-speakeasy-group: client.pins /rest/api/v1/unpin: post: - tags: - - Pins + operationId: unpin summary: Delete pin description: Unpin a previously pinned result. - operationId: unpin - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Pins + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Details about the pin being unpinned. content: application/json: schema: - $ref: "#/components/schemas/Unpin" - description: Details about the pin being unpinned. + $ref: '#/components/schemas/Unpin' required: true x-exportParamName: Unpin responses: @@ -1883,27 +2152,27 @@ paths: description: Forbidden from unpinning someone else's pin "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: remove x-speakeasy-group: client.pins /rest/api/v1/adminsearch: post: - tags: - - Search + operationId: adminsearch summary: Search the index (admin) description: Retrieves results for search query without respect for permissions. This is available only to privileged users. - operationId: adminsearch - x-visibility: Preview - x-codegen-request-body-name: payload + tags: + - Search + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Admin search request content: application/json: schema: - $ref: "#/components/schemas/SearchRequest" - description: Admin search request + $ref: '#/components/schemas/SearchRequest' required: true x-exportParamName: Request responses: @@ -1912,7 +2181,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SearchResponse" + $ref: '#/components/schemas/SearchResponse' "400": description: Invalid request "401": @@ -1922,36 +2191,36 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ErrorInfo" + $ref: '#/components/schemas/ErrorInfo' "422": description: Invalid Query content: application/json: schema: - $ref: "#/components/schemas/ErrorInfo" + $ref: '#/components/schemas/ErrorInfo' "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Preview + x-codegen-request-body-name: payload x-speakeasy-group: client.search x-speakeasy-name-override: queryAsAdmin /rest/api/v1/autocomplete: post: - tags: - - Search + operationId: autocomplete summary: Autocomplete description: Retrieve query suggestions, operators and documents for the given partially typed query. - operationId: autocomplete - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Search + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Autocomplete request content: application/json: schema: - $ref: "#/components/schemas/AutocompleteRequest" - description: Autocomplete request + $ref: '#/components/schemas/AutocompleteRequest' required: true x-exportParamName: Request responses: @@ -1960,34 +2229,34 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/AutocompleteResponse" + $ref: '#/components/schemas/AutocompleteResponse' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-group: client.search x-speakeasy-name-override: autocomplete /rest/api/v1/feed: post: - tags: - - Search + operationId: feed summary: Feed of documents and events description: The personalized feed/home includes different types of contents including suggestions, recents, calendar events and many more. - operationId: feed - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Search + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Includes request params, client data and more for making user's feed. content: application/json: schema: - $ref: "#/components/schemas/FeedRequest" - description: Includes request params, client data and more for making user's feed. + $ref: '#/components/schemas/FeedRequest' required: true x-exportParamName: FeedRequest responses: @@ -1996,7 +2265,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/FeedResponse" + $ref: '#/components/schemas/FeedResponse' "400": description: Invalid request "401": @@ -2005,27 +2274,27 @@ paths: description: Request Timeout "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: retrieveFeed x-speakeasy-group: client.search /rest/api/v1/recommendations: post: - tags: - - Search + operationId: recommendations summary: Recommend documents description: Retrieve recommended documents for the given URL or Glean Document ID. - operationId: recommendations - x-visibility: Preview - x-codegen-request-body-name: payload + tags: + - Search + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Recommendations request content: application/json: schema: - $ref: "#/components/schemas/RecommendationsRequest" - description: Recommendations request + $ref: '#/components/schemas/RecommendationsRequest' required: true x-exportParamName: Request responses: @@ -2034,7 +2303,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/RecommendationsResponse" + $ref: '#/components/schemas/RecommendationsResponse' "202": description: Accepted. The Retry-After header has a hint about when the response will be available "204": @@ -2047,27 +2316,27 @@ paths: description: Document does not exist or user cannot access document "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Preview + x-codegen-request-body-name: payload x-speakeasy-group: client.search x-speakeasy-name-override: recommendations /rest/api/v1/search: post: - tags: - - Search + operationId: search summary: Search description: Retrieve results from the index for the given query and filters. - operationId: search - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Search + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Search request content: application/json: schema: - $ref: "#/components/schemas/SearchRequest" - description: Search request + $ref: '#/components/schemas/SearchRequest' required: true x-exportParamName: Request responses: @@ -2076,7 +2345,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SearchResponse" + $ref: '#/components/schemas/SearchResponse' "400": description: Invalid request "401": @@ -2086,7 +2355,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ErrorInfo" + $ref: '#/components/schemas/ErrorInfo' "408": description: Request Timeout "422": @@ -2094,30 +2363,30 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ErrorInfo" + $ref: '#/components/schemas/ErrorInfo' "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-group: client.search x-speakeasy-name-override: query /rest/api/v1/listentities: post: - tags: - - Entities + operationId: listentities summary: List entities description: List some set of details for all entities that fit the given criteria and return in the requested order. Does not support negation in filters, assumes relation type EQUALS. There is a limit of 10000 entities that can be retrieved via this endpoint, except when using FULL_DIRECTORY request type for people entities. - operationId: listentities - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Entities + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: List people request content: application/json: schema: - $ref: "#/components/schemas/ListEntitiesRequest" - description: List people request + $ref: '#/components/schemas/ListEntitiesRequest' required: true x-exportParamName: Request responses: @@ -2126,34 +2395,34 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ListEntitiesResponse" + $ref: '#/components/schemas/ListEntitiesResponse' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-group: client.entities x-speakeasy-name-override: list /rest/api/v1/people: post: - tags: - - Entities + operationId: people summary: Read people description: Read people details for the given IDs. - operationId: people - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Entities + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: People request content: application/json: schema: - $ref: "#/components/schemas/PeopleRequest" - description: People request + $ref: '#/components/schemas/PeopleRequest' required: true x-exportParamName: Request responses: @@ -2162,38 +2431,39 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/PeopleResponse" + $ref: '#/components/schemas/PeopleResponse' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: readPeople x-speakeasy-group: client.entities /rest/api/v1/people/{person_id}/photo: get: - tags: - - Entities + operationId: getPersonPhoto summary: Get person photo description: | Returns the profile photo bytes for a person whose photo is stored in Glean (crawled from an identity source or user-uploaded via admin console). Photos hosted externally (e.g. Slack CDN) are not served by this endpoint; callers should follow the photoUrl from /people or /listentities directly. Responses include a Cache-Control header (max-age=3600) to reduce redundant fetches. - operationId: getPersonPhoto - x-visibility: Public + tags: + - Entities + security: + - APIToken: [] parameters: - name: person_id in: path - required: true description: The obfuscated ID of the person whose photo to retrieve. + required: true schema: type: string - name: ds in: query - required: false description: | Optional datasource override for crawled photos (e.g. AZURE, GDRIVE, OKTA). When omitted, the datasource is derived from the person's stored photo URL or the deployment's primary person datasource. + required: false schema: type: string responses: @@ -2223,25 +2493,26 @@ paths: Person not found, person has no photo, or photo is not hosted by Glean (follow photoUrl from /people or /listentities directly). "429": description: Too Many Requests. - security: - - APIToken: [] + x-visibility: Public + x-speakeasy-name-override: retrievePersonPhoto + x-speakeasy-group: client.entities /rest/api/v1/createshortcut: post: - tags: - - Shortcuts + operationId: createshortcut summary: Create shortcut description: Create a user-generated shortcut that contains an alias and destination URL. - operationId: createshortcut - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Shortcuts + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: CreateShortcut request content: application/json: schema: - $ref: "#/components/schemas/CreateShortcutRequest" - description: CreateShortcut request + $ref: '#/components/schemas/CreateShortcutRequest' required: true x-exportParamName: Request responses: @@ -2250,34 +2521,34 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/CreateShortcutResponse" + $ref: '#/components/schemas/CreateShortcutResponse' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: create x-speakeasy-group: client.shortcuts /rest/api/v1/deleteshortcut: post: - tags: - - Shortcuts + operationId: deleteshortcut summary: Delete shortcut description: Delete an existing user-generated shortcut. - operationId: deleteshortcut - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Shortcuts + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: DeleteShortcut request content: application/json: schema: - $ref: "#/components/schemas/DeleteShortcutRequest" - description: DeleteShortcut request + $ref: '#/components/schemas/DeleteShortcutRequest' required: true x-exportParamName: Request responses: @@ -2289,27 +2560,27 @@ paths: description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: delete x-speakeasy-group: client.shortcuts /rest/api/v1/getshortcut: post: - tags: - - Shortcuts + operationId: getshortcut summary: Read shortcut description: Read a particular shortcut's details given its ID. - operationId: getshortcut - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Shortcuts + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: GetShortcut request content: application/json: schema: - $ref: "#/components/schemas/GetShortcutRequest" - description: GetShortcut request + $ref: '#/components/schemas/GetShortcutRequest' required: true x-exportParamName: Request responses: @@ -2318,34 +2589,34 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetShortcutResponse" + $ref: '#/components/schemas/GetShortcutResponse' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-group: client.shortcuts x-speakeasy-name-override: retrieve /rest/api/v1/listshortcuts: post: - tags: - - Shortcuts + operationId: listshortcuts summary: List shortcuts description: List shortcuts editable/owned by the currently authenticated user. - operationId: listshortcuts - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Shortcuts + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Filters, sorters, paging params required for pagination content: application/json: schema: - $ref: "#/components/schemas/ListShortcutsPaginatedRequest" - description: Filters, sorters, paging params required for pagination + $ref: '#/components/schemas/ListShortcutsPaginatedRequest' required: true x-exportParamName: Request responses: @@ -2354,34 +2625,34 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ListShortcutsPaginatedResponse" + $ref: '#/components/schemas/ListShortcutsPaginatedResponse' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-group: client.shortcuts x-speakeasy-name-override: list /rest/api/v1/updateshortcut: post: - tags: - - Shortcuts + operationId: updateshortcut summary: Update shortcut description: Updates the shortcut with the given ID. - operationId: updateshortcut - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Shortcuts + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Shortcut content. Id need to be specified for the shortcut. content: application/json: schema: - $ref: "#/components/schemas/UpdateShortcutRequest" - description: Shortcut content. Id need to be specified for the shortcut. + $ref: '#/components/schemas/UpdateShortcutRequest' required: true x-exportParamName: Request responses: @@ -2390,34 +2661,34 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/UpdateShortcutResponse" + $ref: '#/components/schemas/UpdateShortcutResponse' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-group: client.shortcuts x-speakeasy-name-override: update /rest/api/v1/summarize: post: - tags: - - Summarize + operationId: summarize summary: Summarize documents description: Generate an AI summary of the requested documents. - operationId: summarize - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Summarize + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Includes request params such as the query and specs of the documents to summarize. content: application/json: schema: - $ref: "#/components/schemas/SummarizeRequest" - description: Includes request params such as the query and specs of the documents to summarize. + $ref: '#/components/schemas/SummarizeRequest' required: true x-exportParamName: Request responses: @@ -2426,34 +2697,34 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SummarizeResponse" + $ref: '#/components/schemas/SummarizeResponse' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: summarize x-speakeasy-group: client.documents /rest/api/v1/addverificationreminder: post: - tags: - - Verification + operationId: addverificationreminder summary: Create verification description: Creates a verification reminder for the document. Users can create verification reminders from different product surfaces. - operationId: addverificationreminder - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Verification + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Details about the reminder. content: application/json: schema: - $ref: "#/components/schemas/ReminderRequest" - description: Details about the reminder. + $ref: '#/components/schemas/ReminderRequest' required: true x-exportParamName: ReminderRequest responses: @@ -2462,7 +2733,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/Verification" + $ref: '#/components/schemas/Verification' "400": description: Invalid request "401": @@ -2471,61 +2742,61 @@ paths: description: Document does not exist, does not support verification or user cannot access document "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: addReminder x-speakeasy-group: client.verification /rest/api/v1/listverifications: post: - tags: - - Verification + operationId: listverifications summary: List verifications description: Returns the information to be rendered in verification dashboard. Includes information for each document owned by user regarding their verifications. - operationId: listverifications - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Verification + security: + - APIToken: [] parameters: - - in: query - name: count + - name: count + in: query description: Maximum number of documents to return required: false schema: type: integer - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' responses: "200": description: OK content: application/json: schema: - $ref: "#/components/schemas/VerificationFeed" + $ref: '#/components/schemas/VerificationFeed' "400": description: Invalid request "401": description: Not Authorized "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: list x-speakeasy-group: client.verification /rest/api/v1/verify: post: - tags: - - Verification + operationId: verify summary: Update verification description: Verify documents to keep the knowledge up to date within customer corpus. - operationId: verify - x-visibility: Public - x-codegen-request-body-name: payload + tags: + - Verification + security: + - APIToken: [] parameters: - - $ref: "#/components/parameters/locale" + - $ref: '#/components/parameters/locale' requestBody: + description: Details about the verification request. content: application/json: schema: - $ref: "#/components/schemas/VerifyRequest" - description: Details about the verification request. + $ref: '#/components/schemas/VerifyRequest' required: true x-exportParamName: VerifyRequest responses: @@ -2534,7 +2805,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/Verification" + $ref: '#/components/schemas/Verification' "400": description: Invalid request "401": @@ -2543,36 +2814,37 @@ paths: description: Document does not exist, does not support verification or user cannot access document "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Public + x-codegen-request-body-name: payload x-speakeasy-name-override: verify x-speakeasy-group: client.verification /rest/api/v1/tools/list: get: + summary: List available tools + description: Returns a filtered set of available tools based on optional tool name parameters. If no filters are provided, all available tools are returned. tags: - Tools - Tools - summary: List available tools - description: Returns a filtered set of available tools based on optional tool name parameters. If no filters are provided, all available tools are returned. - x-visibility: Preview + security: + - APIToken: [] parameters: - - in: query - name: toolNames + - name: toolNames + in: query description: Optional array of tool names to filter by required: false + style: form + explode: false schema: type: array items: type: string - style: form - explode: false responses: "200": description: Successful operation content: application/json: schema: - $ref: "#/components/schemas/ToolsListResponse" + $ref: '#/components/schemas/ToolsListResponse' "400": description: Bad Request "401": @@ -2581,31 +2853,31 @@ paths: description: Not Found "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Preview x-speakeasy-name-override: list x-speakeasy-group: client.tools /rest/api/v1/tools/call: post: + summary: Execute the specified tool + description: Execute the specified tool with provided parameters tags: - Tools - Tools - summary: Execute the specified tool - description: Execute the specified tool with provided parameters - x-visibility: Preview + security: + - APIToken: [] requestBody: - required: true content: application/json: schema: - $ref: "#/components/schemas/ToolsCallRequest" + $ref: '#/components/schemas/ToolsCallRequest' + required: true responses: "200": description: Successful operation content: application/json: schema: - $ref: "#/components/schemas/ToolsCallResponse" + $ref: '#/components/schemas/ToolsCallResponse' "400": description: Bad Request "401": @@ -2614,35 +2886,28 @@ paths: description: Not Found "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Preview x-speakeasy-name-override: run x-speakeasy-group: client.tools /rest/api/v1/actions/actionpack/{actionPackId}/auth: - parameters: - - in: path - name: actionPackId - required: true - description: ID of the action pack to query or authorize. - schema: - type: string get: - tags: - - Tools + operationId: getActionPackAuthStatus summary: Get end-user authentication status for an action pack. description: | Reports whether the calling user is already authenticated against the third-party tool backing the specified action pack. Intended for headless / server-driven clients that render an "Authorize" prompt when the user has not yet consented to the tool. - operationId: getActionPackAuthStatus - x-visibility: Preview + tags: + - Tools + security: + - APIToken: [] responses: "200": description: Successful operation content: application/json: schema: - $ref: "#/components/schemas/ActionPackAuthStatusResponse" + $ref: '#/components/schemas/ActionPackAuthStatusResponse' "400": description: Bad Request "401": @@ -2651,11 +2916,11 @@ paths: description: Action pack not found "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Preview + x-speakeasy-name-override: retrieveActionPackAuthStatus + x-speakeasy-group: client.tools post: - tags: - - Tools + operationId: authorizeActionPack summary: Start the OAuth authorization flow for an action pack. description: | Starts the third-party OAuth flow for the specified action pack and returns the @@ -2665,21 +2930,23 @@ paths: `returnUrl` must match the tenant's configured return URL allowlist; otherwise the request is rejected with 400. - operationId: authorizeActionPack - x-visibility: Preview + tags: + - Tools + security: + - APIToken: [] requestBody: - required: true content: application/json: schema: - $ref: "#/components/schemas/AuthorizeActionPackRequest" + $ref: '#/components/schemas/AuthorizeActionPackRequest' + required: true responses: "200": description: Successful operation content: application/json: schema: - $ref: "#/components/schemas/AuthorizeActionPackResponse" + $ref: '#/components/schemas/AuthorizeActionPackResponse' "400": description: Invalid request (e.g. returnUrl not in allowlist, unsupported auth type) "401": @@ -2690,8 +2957,16 @@ paths: description: Action pack not found "429": description: Too Many Requests - security: - - APIToken: [] + x-visibility: Preview + x-speakeasy-name-override: authorizeActionPack + x-speakeasy-group: client.tools + parameters: + - name: actionPackId + in: path + description: ID of the action pack to query or authorize. + required: true + schema: + type: string /api/index/v1/indexdocument: post: summary: Index document @@ -3811,6 +4086,8 @@ paths: "429": description: Too Many Requests x-beta: true + x-speakeasy-group: indexing.documents + x-speakeasy-name-override: debugEvents /rest/api/index/document/{docId}/custom-metadata/{groupName}: put: summary: Add or update custom metadata @@ -4319,6 +4596,8 @@ paths: "500": description: Internal error x-visibility: Public + x-speakeasy-group: client.governance.data.findings + x-speakeasy-name-override: create get: operationId: listfindingsexports summary: Lists findings exports @@ -4339,6 +4618,8 @@ paths: "500": description: Internal error x-visibility: Public + x-speakeasy-group: client.governance.data.findings + x-speakeasy-name-override: list /rest/api/v1/governance/data/findings/exports/{id}: get: operationId: downloadfindingsexport @@ -4368,6 +4649,8 @@ paths: "500": description: Internal error x-visibility: Public + x-speakeasy-group: client.governance.data.findings + x-speakeasy-name-override: download delete: operationId: deletefindingsexport summary: Deletes findings export @@ -4392,6 +4675,8 @@ paths: "500": description: Internal error x-visibility: Public + x-speakeasy-group: client.governance.data.findings + x-speakeasy-name-override: delete /rest/api/v1/configure/datasources/{datasourceId}/instances/{instanceId}: get: operationId: getDatasourceInstanceConfiguration @@ -4433,6 +4718,8 @@ paths: schema: $ref: '#/components/schemas/ErrorResponse' x-visibility: Preview + x-speakeasy-group: client.datasources + x-speakeasy-name-override: retrieveConfiguration patch: operationId: updateDatasourceInstanceConfiguration summary: Update datasource instance configuration @@ -4479,6 +4766,8 @@ paths: schema: $ref: '#/components/schemas/ErrorResponse' x-visibility: Preview + x-speakeasy-group: client.datasources + x-speakeasy-name-override: updateConfiguration /rest/api/v1/datasource/{datasourceInstanceId}/credentialstatus: get: operationId: getDatasourceCredentialStatus @@ -4519,6 +4808,8 @@ paths: schema: $ref: '#/components/schemas/ErrorResponse' x-visibility: Preview + x-speakeasy-group: client.datasources + x-speakeasy-name-override: retrieveCredentialStatus /rest/api/v1/datasource/{datasourceInstanceId}/credentials: post: operationId: rotateDatasourceCredentials @@ -4566,6 +4857,8 @@ paths: schema: $ref: '#/components/schemas/ErrorResponse' x-visibility: Preview + x-speakeasy-group: client.datasources + x-speakeasy-name-override: rotateCredentials /rest/api/v1/chat#stream: post: tags: @@ -4707,16 +5000,521 @@ paths: components: securitySchemes: APIToken: - scheme: bearer type: http + scheme: bearer description: >- HTTP bearer token. Accepts a Glean-issued API token, an OAuth access token from the Glean OAuth Authorization Server (including Dynamic Client Registration clients), or an OAuth access token issued by an external identity provider. External-IdP OAuth tokens must also include the `X-Glean-Auth-Type: OAUTH` request header. OAuth is supported on the Client API only; the Indexing API requires a Glean-issued token. schemas: + PlatformAgentsSearchRequest: + type: object + additionalProperties: false + properties: + name: + type: string + description: Case-insensitive substring to match against agent names. If omitted or empty, no name filter is applied. + example: HR Policy Agent + PlatformAgentCapabilities: + type: object + additionalProperties: true + properties: + ap.io.messages: + type: boolean + description: Whether the agent supports messages as input. + ap.io.streaming: + type: boolean + description: Whether the agent supports streaming output. + PlatformAgent: + type: object + required: + - agent_id + - name + - capabilities + properties: + agent_id: + type: string + description: ID of the agent. + example: mho4lwzylcozgoc2 + name: + type: string + description: Name of the agent. + example: HR Policy Agent + description: + type: string + description: Description of the agent. + metadata: + type: object + description: Agent metadata. + additionalProperties: true + capabilities: + $ref: "#/components/schemas/PlatformAgentCapabilities" + PlatformAgentsSearchResponse: + type: object + required: + - agents + - request_id + properties: + agents: + type: array + description: Agents matching the search request. + items: + $ref: "#/components/schemas/PlatformAgent" + request_id: + type: string + description: Platform-generated request ID for support correlation. + PlatformProblemDetailCode: + type: string + description: Stable machine-readable error code. + enum: + - invalid_request + - missing_required_field + - invalid_parameter + - invalid_cursor + - expired_cursor + - invalid_filter + - invalid_datasource + - authentication_required + - token_expired + - insufficient_permissions + - resource_not_found + - method_not_allowed + - request_timeout + - conflict + - gone + - unprocessable_query + - rate_limit_exceeded + - internal_error + - service_unavailable + example: invalid_cursor + PlatformProblemDetailError: + type: object + required: + - pointer + - detail + description: Field-level validation problem for a single offending field. + properties: + pointer: + type: string + description: RFC 6901 JSON Pointer to the offending field. + example: /messages/0/role + detail: + type: string + description: Human-readable explanation for this field. + example: "Must be one of: USER, GLEAN_AI." + code: + $ref: "#/components/schemas/PlatformProblemDetailCode" + PlatformProblemDetail: + type: object + required: + - type + - title + - status + - detail + - code + - request_id + description: | + Error response following RFC 9457, extended with `code` and `documentation_url` for machine-readable classification and self-service remediation. + properties: + type: + type: string + format: uri + description: URI identifying the error type. + example: https://developer.glean.com/errors/invalid-cursor + title: + type: string + description: Short, human-readable summary of the error. + example: Invalid Pagination Cursor + status: + type: integer + description: HTTP status code mirrored from the response. + example: 400 + detail: + type: string + description: Human-readable explanation specific to this occurrence. + example: | + The provided cursor has expired. Start a new search to get a fresh cursor. + code: + $ref: "#/components/schemas/PlatformProblemDetailCode" + documentation_url: + type: string + format: uri + description: Direct URL to documentation for this error code. + example: https://developer.glean.com/errors/invalid-cursor + request_id: + type: string + description: Platform-generated request ID for support correlation. + example: req_7f8a9b0c1d2e + errors: + type: array + description: Field-level validation problems, one entry per offending field. + items: + $ref: "#/components/schemas/PlatformProblemDetailError" + PlatformAgentGetResponse: + type: object + required: + - agent + - request_id + properties: + agent: + $ref: "#/components/schemas/PlatformAgent" + request_id: + type: string + description: Platform-generated request ID for support correlation. + PlatformActionSummary: + type: object + required: + - tool_id + - display_name + properties: + tool_id: + type: string + description: Unique identifier of the action. + display_name: + type: string + description: Display name of the action. + type: + type: string + description: Tool type. + auth_type: + type: string + description: Authentication type required by the action. + write_action_type: + type: string + description: Write-action execution type. + is_setup_finished: + type: boolean + description: Whether this action has been fully configured. + data_source: + type: string + description: Kind of knowledge the action accesses or modifies. + PlatformAgentSchemasResponse: + type: object + required: + - agent_id + - input_schema + - output_schema + - request_id + properties: + agent_id: + type: string + description: ID of the agent. + name: + type: string + description: Name of the agent. + input_schema: + type: object + description: Agent input schema in JSON Schema format. + additionalProperties: true + output_schema: + type: object + description: Agent output schema in JSON Schema format. + additionalProperties: true + tools: + type: array + description: Tools that the agent can invoke, when requested. + items: + $ref: "#/components/schemas/PlatformActionSummary" + request_id: + type: string + description: Platform-generated request ID for support correlation. + PlatformMessageRole: + type: string + description: Role of the message author. + example: USER + enum: + - USER + - GLEAN_AI + PlatformContentType: + type: string + enum: + - text + PlatformMessageTextBlock: + type: object + required: + - text + - type + properties: + text: + type: string + description: Text content. + type: + $ref: "#/components/schemas/PlatformContentType" + PlatformMessage: + type: object + required: + - role + - content + properties: + role: + $ref: "#/components/schemas/PlatformMessageRole" + content: + type: array + description: Content blocks in the message. + items: + $ref: "#/components/schemas/PlatformMessageTextBlock" + PlatformAgentRunCreateRequest: + type: object + additionalProperties: false + description: | + Request to run an agent. A request MUST supply either `messages` (a non-empty conversation) or `input` (for input-form triggered agents). + properties: + input: + type: object + description: Input fields for an input-form triggered agent. + additionalProperties: true + messages: + type: array + minItems: 1 + description: | + Messages to pass to the agent. When provided, the array MUST contain at least one message and each message MUST specify a valid `role` and non-empty `content`. + items: + $ref: "#/components/schemas/PlatformMessage" + metadata: + type: object + description: Metadata to pass to the agent. + additionalProperties: true + stream: + type: boolean + description: Whether to stream the run response as server-sent events. + default: false + PlatformAgentRunCreate: + type: object + required: + - agent_id + properties: + agent_id: + type: string + description: ID of the agent being run. + input: + type: object + description: Input fields for an input-form triggered agent. + additionalProperties: true + messages: + type: array + description: Messages passed to the agent. + items: + $ref: "#/components/schemas/PlatformMessage" + metadata: + type: object + description: Metadata passed to the agent. + additionalProperties: true + PlatformAgentExecutionStatus: + type: string + description: Status of the agent run. + enum: + - error + - success + PlatformAgentRun: + allOf: + - $ref: "#/components/schemas/PlatformAgentRunCreate" + - type: object + required: + - status + properties: + status: + $ref: "#/components/schemas/PlatformAgentExecutionStatus" + PlatformAgentRunWaitResponse: + type: object + required: + - request_id + properties: + run: + $ref: "#/components/schemas/PlatformAgentRun" + messages: + type: array + description: Messages returned by the completed run. + items: + $ref: "#/components/schemas/PlatformMessage" + request_id: + type: string + description: Platform-generated request ID for support correlation. + PlatformFilterOperator: + type: string + description: Supported filter operator. + enum: + - EQUALS + - NOT_EQUALS + - GT + - GTE + - LT + - LTE + PlatformFilter: + type: object + required: + - field + - values + description: | + A single filter criterion. For `EQUALS`, multiple values within a filter are OR'd. For `NOT_EQUALS`, multiple values exclude all listed values. Filters are AND'd with each other and with any inline query operators. + properties: + field: + type: string + description: | + The field to filter on. Accepts built-in filter field names such as `type`, `owner`, `from`, `author`, `channel`, `status`, `assignee`, `reporter`, `component`, `mentions`, and `collection`, plus custom datasource property names. + example: type + values: + type: array + minItems: 1 + items: + type: string + description: One or more values to match. + example: + - spreadsheet + - presentation + operator: + allOf: + - $ref: "#/components/schemas/PlatformFilterOperator" + description: | + Comparison operator to apply to this filter. Defaults to `EQUALS`. `GT`, `GTE`, `LT`, and `LTE` range operators require exactly one value; express bounded ranges with multiple filters on the same field. + PlatformTimeRange: + type: object + description: Filter results to those last updated within this range. + properties: + start: + type: string + format: date-time + description: Inclusive lower bound in ISO 8601 format. + end: + type: string + format: date-time + description: Exclusive upper bound in ISO 8601 format. + PlatformSearchRequest: + type: object + additionalProperties: false + required: + - query + properties: + query: + type: string + description: | + The search query string. Supports inline operators such as `from:jane type:document app:confluence`. Inline operators are AND'd with structured `filters`. + example: quarterly planning 2026 + page_size: + type: integer + minimum: 1 + maximum: 100 + default: 10 + description: Number of results to return per page. + cursor: + type: string + nullable: true + description: | + Opaque pagination token from a previous response's `next_cursor` field. Omit on the first request. + datasources: + type: array + items: + type: string + description: | + Restrict results to specific datasources. Requests must not specify both `datasources` and `datasource_instances`. + example: + - confluence + - google_drive + datasource_instances: + type: array + items: + type: string + description: | + Restrict results to specific datasource instances. Values are datasource instance identifiers returned by `GET /api/search/filters`. Requests must not specify both `datasources` and `datasource_instances`. + example: + - slack_acme + - slack_eu + filters: + type: array + items: + $ref: "#/components/schemas/PlatformFilter" + description: | + Structured filters applied to search results. Equality operators OR multiple values within a filter. Multiple filters are AND'd together, including range filters on the same field. Filters are AND'd with any inline operators in `query`. Note that conflicting constraints on the same field (e.g., `type:document` in the query and `type: spreadsheet` in a filter) produce an empty result set. + time_range: + $ref: "#/components/schemas/PlatformTimeRange" + PlatformPersonReference: + type: object + description: A lightweight reference to a person, used where a payload merely points at someone. + required: + - name + properties: + id: + type: string + description: Opaque Glean person ID. + name: + type: string + description: Display name. + PlatformResult: + type: object + required: + - url + - title + - datasource + properties: + url: + type: string + format: uri + description: Canonical URL of the result. + example: https://company.atlassian.net/wiki/spaces/ENG/pages/12345 + title: + type: string + description: Result title. + example: Q2 2026 Platform Roadmap + snippets: + type: array + items: + type: string + description: Query-relevant plain-text excerpts from the result body. + example: + - The platform team will focus on API stability and... + datasource: + type: string + description: The datasource this result originates from. + example: confluence + datasource_instance: + type: string + nullable: true + description: The datasource instance this result originates from, if known. + example: confluence_acme + document_type: + type: string + nullable: true + description: The document type within the datasource. + example: page + creator: + $ref: "#/components/schemas/PlatformPersonReference" + owner: + $ref: "#/components/schemas/PlatformPersonReference" + updated_at: + type: string + format: date-time + nullable: true + description: When the result was last modified. + created_at: + type: string + format: date-time + nullable: true + description: When the result was created. + PlatformSearchResponse: + type: object + required: + - results + - has_more + - next_cursor + - request_id + properties: + results: + type: array + items: + $ref: "#/components/schemas/PlatformResult" + description: Ordered list of search results. + has_more: + type: boolean + description: Indicates whether additional pages of results are available. + next_cursor: + type: string + nullable: true + description: Opaque token to pass as `cursor` in the next request. + request_id: + type: string + description: Platform-generated request ID for support correlation. ActivityEventParams: properties: bodyContent: - description: The HTML content of the page body. type: string + description: The HTML content of the page body. datasourceInstance: type: string description: The full datasource instance name inferred from the URL of the event @@ -4727,32 +5525,35 @@ components: type: string description: The instance only name of the datasource instance, e.g. 1 for jira_1, inferred from the URL of the event duration: - description: Length in seconds of the activity. For VIEWS, this represents the amount the page was visible in the foreground. type: integer + description: Length in seconds of the activity. For VIEWS, this represents the amount the page was visible in the foreground. query: - description: The user's search query associated with a SEARCH. type: string + description: The user's search query associated with a SEARCH. referrer: - description: The referring URL of the VIEW or SEARCH. type: string + description: The referring URL of the VIEW or SEARCH. title: - description: The page title associated with the URL of the event type: string + description: The page title associated with the URL of the event truncated: - description: Indicates that the parameters are incomplete and more parameters may be sent with the same action+timestamp+URL in the future. This is used for sending the duration when a `VIEW` is finished. type: boolean + description: Indicates that the parameters are incomplete and more parameters may be sent with the same action+timestamp+URL in the future. This is used for sending the duration when a `VIEW` is finished. ActivityEvent: - required: - - action - - source - - timestamp - - url properties: id: type: string description: Universally unique identifier of the event. To allow for reliable retransmission, only the earliest received event of a given UUID is considered valid by the server and subsequent are ignored. action: type: string + enum: + - VIEW + - EDIT + - SEARCH + - COMMENT + - CRAWL + - HISTORICAL_SEARCH + - HISTORICAL_VIEW description: The type of activity this represents. x-enumDescriptions: VIEW: Represents a visit to the given `url`. @@ -4762,14 +5563,6 @@ components: CRAWL: Represents an explicit request to index the given `url` along with associated attributes in this payload. HISTORICAL_SEARCH: Represents a search performed at the given `url` as indicated by the user's history. HISTORICAL_VIEW: Represents a visit to the given `url` as indicated by the user's history. - enum: - - VIEW - - EDIT - - SEARCH - - COMMENT - - CRAWL - - HISTORICAL_SEARCH - - HISTORICAL_VIEW x-speakeasy-enum-descriptions: VIEW: Represents a visit to the given `url`. EDIT: Represents an edit of the document represented by the `url`. @@ -4779,22 +5572,27 @@ components: HISTORICAL_SEARCH: Represents a search performed at the given `url` as indicated by the user's history. HISTORICAL_VIEW: Represents a visit to the given `url` as indicated by the user's history. params: - $ref: "#/components/schemas/ActivityEventParams" + $ref: '#/components/schemas/ActivityEventParams' timestamp: type: string - description: The ISO 8601 timestamp when the activity began. format: date-time + description: The ISO 8601 timestamp when the activity began. url: - description: The URL of the activity. type: string - Activity: + description: The URL of the activity. required: - - events + - action + - source + - timestamp + - url + Activity: properties: events: type: array items: - $ref: "#/components/schemas/ActivityEvent" + $ref: '#/components/schemas/ActivityEvent' + required: + - events example: events: - url: https://example.com/ @@ -4829,11 +5627,11 @@ components: User: properties: userID: - description: An opaque user ID for the claimed authority (i.e., the actas param, or the origid if actas is not specified). type: string + description: An opaque user ID for the claimed authority (i.e., the actas param, or the origid if actas is not specified). origID: - description: An opaque user ID for the authenticated user (ignores actas). type: string + description: An opaque user ID for the authenticated user (ignores actas). FeedbackChatExchange: properties: timestamp: @@ -4851,13 +5649,13 @@ components: description: Search query performed by the agent. resultDocuments: type: array - description: List of documents read by the agent. items: properties: title: type: string url: type: string + description: List of documents read by the agent. response: type: string ManualFeedbackInfo: @@ -4868,7 +5666,6 @@ components: deprecated: true source: type: string - description: The source associated with the Feedback.event.MANUAL_FEEDBACK event. enum: - AUTOCOMPLETE - CALENDAR @@ -4892,13 +5689,13 @@ components: - SUMMARY - TASKS - TASK_EXECUTION + description: The source associated with the Feedback.event.MANUAL_FEEDBACK event. issue: type: string description: The issue the user indicated in the feedback. deprecated: true issues: type: array - description: The issue(s) the user indicated in the feedback. items: type: string enum: @@ -4917,6 +5714,7 @@ components: - RESULTS_HELPFUL - RESULTS_POOR_ORDER - TOO_MUCH_ONE_KIND + description: The issue(s) the user indicated in the feedback. imageUrls: type: array items: @@ -4947,17 +5745,17 @@ components: chatTranscript: type: array items: - $ref: "#/components/schemas/FeedbackChatExchange" + $ref: '#/components/schemas/FeedbackChatExchange' description: Array of previous request/response exchanges, ordered by oldest to newest. numQueriesFromFirstRun: type: integer description: How many times this query has been run in the past. vote: type: string - description: The vote associated with the Feedback.event.MANUAL_FEEDBACK event. enum: - UPVOTE - DOWNVOTE + description: The vote associated with the Feedback.event.MANUAL_FEEDBACK event. rating: type: integer description: A rating associated with the user feedback. The value will be between one and the maximum given by ratingScale, inclusive. @@ -4977,15 +5775,14 @@ components: description: Human-readable name for this implementation (e.g., "Variant A", "GPT-4", "Claude"). searchParams: type: object - description: The search/chat parameters used for this implementation. additionalProperties: type: string + description: The search/chat parameters used for this implementation. response: type: string description: The full response generated by this implementation. responseMetadata: type: object - description: Metadata about the response (e.g., latency, token count). properties: latencyMs: type: integer @@ -4996,6 +5793,7 @@ components: modelUsed: type: string description: The specific model version used. + description: Metadata about the response (e.g., latency, token count). ManualFeedbackSideBySideInfo: properties: email: @@ -5003,19 +5801,19 @@ components: description: The email address of the user who submitted the side-by-side feedback. source: type: string - description: The source associated with the side-by-side feedback event. enum: - LIVE_EVAL - CHAT - SEARCH + description: The source associated with the side-by-side feedback event. query: type: string description: The query or prompt that was evaluated across multiple implementations. implementations: type: array - description: Array of implementations that were compared side-by-side. items: - $ref: "#/components/schemas/SideBySideImplementation" + $ref: '#/components/schemas/SideBySideImplementation' + description: Array of implementations that were compared side-by-side. evaluationSessionId: type: string description: Unique identifier for this evaluation session to group related feedback events. @@ -5024,11 +5822,11 @@ components: description: The ID of the implementation this specific feedback event is for. vote: type: string - description: The vote for this specific implementation. enum: - UPVOTE - DOWNVOTE - NEUTRAL + description: The vote for this specific implementation. comments: type: string description: Specific feedback comments for this implementation. @@ -5058,16 +5856,12 @@ components: - HOMEPAGE description: Where the feedback of the workflow originated from Feedback: - required: - - event - - trackingTokens properties: id: type: string description: Universally unique identifier of the event. To allow for reliable retransmission, only the earliest received event of a given UUID is considered valid by the server and subsequent are ignored. category: type: string - description: The feature category to which the feedback applies. These should be broad product areas such as Announcements, Answers, Search, etc. rather than specific components or UI treatments within those areas. enum: - ANNOUNCEMENT - ANSWERS @@ -5083,46 +5877,14 @@ components: - GENERAL - PRISM - PROMPTS + description: The feature category to which the feedback applies. These should be broad product areas such as Announcements, Answers, Search, etc. rather than specific components or UI treatments within those areas. trackingTokens: type: array - description: A list of server-generated trackingTokens to which this event applies. items: type: string + description: A list of server-generated trackingTokens to which this event applies. event: type: string - description: The action the user took within a Glean client with respect to the object referred to by the given `trackingToken`. - x-enumDescriptions: - CLICK: The object's primary link was clicked with the intent to view its full representation. Depending on the object type, this may imply an external navigation or navigating to a new page or view within the Glean app. - CONTAINER_CLICK: A link to the object's parent container (e.g. the folder in which it's located) was clicked. - COPY_LINK: The user copied a link to the primary link. - CREATE: The user creates a document. - DISMISS: The user dismissed the object such that it was hidden from view. - DOWNVOTE: The user gave feedback that the object was not useful. - EMAIL: The user attempted to send an email. - EXECUTE: The user executed the object (e.g. ran a workflow). - FILTER: The user applied a filter. - FIRST_TOKEN: The first token of a streaming response is received. - FOCUS_IN: The user clicked into an interactive element, e.g. the search box. - LAST_TOKEN: The final token of a streaming response is received. - MANUAL_FEEDBACK: The user submitted textual manual feedback regarding the object. - MANUAL_FEEDBACK_SIDE_BY_SIDE: The user submitted comparative feedback for multiple side-by-side implementations. - FEEDBACK_TIME_SAVED: The user submitted feedback about time saved by an agent or workflow. - MARK_AS_READ: The user explicitly marked the content as read. - MESSAGE: The user attempted to send a message using their default messaing app. - MIDDLE_CLICK: The user middle clicked the object's primary link with the intent to open its full representation in a new tab. - PAGE_BLUR: The user puts a page out of focus but keeps it in the background. - PAGE_FOCUS: The user puts a page in focus, meaning it is the first to receive keyboard events. - PAGE_LEAVE: The user leaves a page and it is unloaded (by clicking a link, closing the tab/window, etc). - PREVIEW: The user clicked the object's inline preview affordance. - RIGHT_CLICK: The user right clicked the object's primary link. This may indicate an intent to open it in a new tab or copy it. - SECTION_CLICK: The user clicked a link to a subsection of the primary object. - SEEN: The user has likely seen the object (e.g. took action to make the object visible within the user's viewport). - SELECT: The user explicitly selected something, eg. a chat response variant they prefer. - SHARE: The user shared the object with another user. - SHOW_MORE: The user clicked the object's show more affordance. - UPVOTE: The user gave feedback that the object was useful. - VIEW: The object was visible within the user's viewport. - VISIBLE: The object was visible within the user's viewport. enum: - CLICK - CONTAINER_CLICK @@ -5156,6 +5918,39 @@ components: - UPVOTE - VIEW - VISIBLE + description: The action the user took within a Glean client with respect to the object referred to by the given `trackingToken`. + x-enumDescriptions: + CLICK: The object's primary link was clicked with the intent to view its full representation. Depending on the object type, this may imply an external navigation or navigating to a new page or view within the Glean app. + CONTAINER_CLICK: A link to the object's parent container (e.g. the folder in which it's located) was clicked. + COPY_LINK: The user copied a link to the primary link. + CREATE: The user creates a document. + DISMISS: The user dismissed the object such that it was hidden from view. + DOWNVOTE: The user gave feedback that the object was not useful. + EMAIL: The user attempted to send an email. + EXECUTE: The user executed the object (e.g. ran a workflow). + FILTER: The user applied a filter. + FIRST_TOKEN: The first token of a streaming response is received. + FOCUS_IN: The user clicked into an interactive element, e.g. the search box. + LAST_TOKEN: The final token of a streaming response is received. + MANUAL_FEEDBACK: The user submitted textual manual feedback regarding the object. + MANUAL_FEEDBACK_SIDE_BY_SIDE: The user submitted comparative feedback for multiple side-by-side implementations. + FEEDBACK_TIME_SAVED: The user submitted feedback about time saved by an agent or workflow. + MARK_AS_READ: The user explicitly marked the content as read. + MESSAGE: The user attempted to send a message using their default messaing app. + MIDDLE_CLICK: The user middle clicked the object's primary link with the intent to open its full representation in a new tab. + PAGE_BLUR: The user puts a page out of focus but keeps it in the background. + PAGE_FOCUS: The user puts a page in focus, meaning it is the first to receive keyboard events. + PAGE_LEAVE: The user leaves a page and it is unloaded (by clicking a link, closing the tab/window, etc). + PREVIEW: The user clicked the object's inline preview affordance. + RIGHT_CLICK: The user right clicked the object's primary link. This may indicate an intent to open it in a new tab or copy it. + SECTION_CLICK: The user clicked a link to a subsection of the primary object. + SEEN: The user has likely seen the object (e.g. took action to make the object visible within the user's viewport). + SELECT: The user explicitly selected something, eg. a chat response variant they prefer. + SHARE: The user shared the object with another user. + SHOW_MORE: The user clicked the object's show more affordance. + UPVOTE: The user gave feedback that the object was useful. + VIEW: The object was visible within the user's viewport. + VISIBLE: The object was visible within the user's viewport. x-speakeasy-enum-descriptions: CLICK: The object's primary link was clicked with the intent to view its full representation. Depending on the object type, this may imply an external navigation or navigating to a new page or view within the Glean app. CONTAINER_CLICK: A link to the object's parent container (e.g. the folder in which it's located) was clicked. @@ -5195,65 +5990,67 @@ components: type: string description: For type MANUAL_FEEDBACK, contains string of user feedback. For autocomplete, partial query string. For feed, string of user feedback in addition to manual feedback signals extracted from all suggested content. sessionInfo: - $ref: "#/components/schemas/SessionInfo" + $ref: '#/components/schemas/SessionInfo' timestamp: type: string - description: The ISO 8601 timestamp when the event occured. format: date-time + description: The ISO 8601 timestamp when the event occured. user: - $ref: "#/components/schemas/User" + $ref: '#/components/schemas/User' pathname: type: string description: The path the client was at when the feedback event triggered. channels: type: array - description: Where the feedback will be sent, e.g. to Glean, the user's company, or both. If no channels are specified, feedback will go only to Glean. items: type: string enum: - COMPANY - GLEAN + description: Where the feedback will be sent, e.g. to Glean, the user's company, or both. If no channels are specified, feedback will go only to Glean. url: type: string description: The URL the client was at when the feedback event triggered. uiTree: - description: The UI element tree associated with the event, if any. + type: array items: type: string - type: array + description: The UI element tree associated with the event, if any. uiElement: type: string description: The UI element associated with the event, if any. manualFeedbackInfo: - $ref: "#/components/schemas/ManualFeedbackInfo" + $ref: '#/components/schemas/ManualFeedbackInfo' manualFeedbackSideBySideInfo: - $ref: "#/components/schemas/ManualFeedbackSideBySideInfo" + $ref: '#/components/schemas/ManualFeedbackSideBySideInfo' seenFeedbackInfo: - $ref: "#/components/schemas/SeenFeedbackInfo" + $ref: '#/components/schemas/SeenFeedbackInfo' userViewInfo: - $ref: "#/components/schemas/UserViewInfo" + $ref: '#/components/schemas/UserViewInfo' workflowFeedbackInfo: - $ref: "#/components/schemas/WorkflowFeedbackInfo" + $ref: '#/components/schemas/WorkflowFeedbackInfo' applicationId: type: string description: The application ID of the client that sent the feedback event. agentId: type: string description: The agent ID of the client that sent the feedback event. + required: + - event + - trackingTokens example: trackingTokens: - trackingTokens event: VIEW StructuredTextMutableProperties: - required: - - text properties: text: type: string example: From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light. + required: + - text ConnectorType: type: string - description: The source from which document content was pulled, e.g. an API crawl or browser history enum: - API_CRAWL - BROWSER_CRAWL @@ -5263,6 +6060,7 @@ components: - PUSH_API - WEB_CRAWL - NATIVE_HISTORY + description: The source from which document content was pulled, e.g. an API crawl or browser history DocumentContent: properties: fullTextList: @@ -5279,16 +6077,16 @@ components: type: string description: The app or other repository type from which the document was extracted connectorType: - $ref: "#/components/schemas/ConnectorType" + $ref: '#/components/schemas/ConnectorType' docType: type: string description: The datasource-specific type of the document (e.g. for Jira issues, this is the issue type such as Bug or Feature Request). content: - $ref: "#/components/schemas/DocumentContent" + $ref: '#/components/schemas/DocumentContent' containerDocument: - $ref: "#/components/schemas/Document" + $ref: '#/components/schemas/Document' parentDocument: - $ref: "#/components/schemas/Document" + $ref: '#/components/schemas/Document' title: type: string description: The title of the document. @@ -5296,12 +6094,12 @@ components: type: string description: A permalink for the document. metadata: - $ref: "#/components/schemas/DocumentMetadata" + $ref: '#/components/schemas/DocumentMetadata' sections: type: array - description: A list of content sub-sections in the document, e.g. text blocks with different headings in a Drive doc or Confluence page. items: - $ref: "#/components/schemas/DocumentSection" + $ref: '#/components/schemas/DocumentSection' + description: A list of content sub-sections in the document, e.g. text blocks with different headings in a Drive doc or Confluence page. SearchProviderInfo: properties: name: @@ -5344,13 +6142,13 @@ components: - LT - GT - NOT_EQUALS + example: EQUALS x-enumDescriptions: EQUALS: The value is equal to the specified value. ID_EQUALS: The value is equal to the specified ID. LT: The value is less than the specified value. GT: The value is greater than the specified value. NOT_EQUALS: The value is not equal to the specified value. - example: EQUALS x-speakeasy-enum-descriptions: EQUALS: The value is equal to the specified value. ID_EQUALS: The value is equal to the specified ID. @@ -5359,8 +6157,8 @@ components: NOT_EQUALS: The value is not equal to the specified value. isNegated: type: boolean - deprecated: true description: DEPRECATED - please use relationType instead + deprecated: true x-glean-deprecated: id: 75a48c79-b36a-4171-a0a0-4af7189da66e introduced: "2026-02-05" @@ -5375,12 +6173,12 @@ components: values: type: array items: - $ref: "#/components/schemas/FacetFilterValue" + $ref: '#/components/schemas/FacetFilterValue' description: Within a single FacetFilter, the values are to be treated like an OR. For example, fieldName type with values [EQUALS Presentation, EQUALS Spreadsheet] means we want to show a document if it's a Presentation OR a Spreadsheet. groupName: type: string - example: Spreadsheet description: Indicates the value of a facet, if any, that the given facet is grouped under. This is only used for nested facets, for example, fieldName could be owner and groupName would be Spreadsheet if showing all owners for spreadsheets as a nested facet. + example: Spreadsheet example: fieldName: type values: @@ -5393,7 +6191,7 @@ components: filters: type: array items: - $ref: "#/components/schemas/FacetFilter" + $ref: '#/components/schemas/FacetFilter' description: Within a single FacetFilterSet, the filters are treated as AND. For example, owner Sumeet and type Spreadsheet shows documents that are by Sumeet AND are Spreadsheets. FacetBucketFilter: properties: @@ -5404,9 +6202,6 @@ components: type: string description: The per-term prefix that facet buckets should be filtered on. AuthToken: - required: - - accessToken - - datasource properties: accessToken: type: string @@ -5417,12 +6212,15 @@ components: tokenType: type: string authUser: - description: Used by Google to indicate the index of the logged in user. Useful for generating hyperlinks that support multilogin. type: string + description: Used by Google to indicate the index of the logged in user. Useful for generating hyperlinks that support multilogin. expiration: - description: Unix timestamp when this token expires (in seconds since epoch UTC). type: integer format: int64 + description: Unix timestamp when this token expires (in seconds since epoch UTC). + required: + - accessToken + - datasource example: accessToken: 123abc datasource: gmail @@ -5430,28 +6228,24 @@ components: tokenType: Bearer authUser: "1" DocumentSpec: - x-multiple-discriminators: true oneOf: - type: object - required: - - url properties: url: type: string - x-discriminator: true description: The URL of the document. - - type: object + x-discriminator: true required: - - id + - url + - type: object properties: id: type: string - x-discriminator: true description: The ID of the document. - - type: object + x-discriminator: true required: - - contentId - - ugcType + - id + - type: object properties: ugcType: type: string @@ -5464,15 +6258,15 @@ components: description: The type of the user generated content (UGC datasource). contentId: type: integer - x-discriminator: true description: The numeric id for user generated content. Used for ANNOUNCEMENTS, ANSWERS, COLLECTIONS, SHORTCUTS. + x-discriminator: true docType: type: string description: The specific type of the user generated content type. - - type: object required: + - contentId - ugcType - - ugcId + - type: object properties: ugcType: type: string @@ -5486,21 +6280,23 @@ components: description: The type of the user generated content (UGC datasource). ugcId: type: string - x-discriminator: true description: The string id for user generated content. Used for CHATS. + x-discriminator: true docType: type: string description: The specific type of the user generated content type. + required: + - ugcType + - ugcId + x-multiple-discriminators: true RestrictionFilters: properties: containerSpecs: - description: "Specifications for containers that should be used as part of the restriction (include/exclude). Memberships are recursively defined for a subset of datasources (currently: SharePoint, OneDrive, Google Drive, and Confluence). Please contact the Glean team to enable this for more datasources. Recursive memberships do not apply for Collections." type: array items: - $ref: "#/components/schemas/DocumentSpec" + $ref: '#/components/schemas/DocumentSpec' + description: 'Specifications for containers that should be used as part of the restriction (include/exclude). Memberships are recursively defined for a subset of datasources (currently: SharePoint, OneDrive, Google Drive, and Confluence). Please contact the Glean team to enable this for more datasources. Recursive memberships do not apply for Collections.' SearchRequestOptions: - required: - - facetBucketSize properties: datasourceFilter: type: string @@ -5516,15 +6312,15 @@ components: facetFilters: type: array items: - $ref: "#/components/schemas/FacetFilter" + $ref: '#/components/schemas/FacetFilter' description: A list of filters for the query. An AND is assumed between different facetFilters. For example, owner Sumeet and type Spreadsheet shows documents that are by Sumeet AND are Spreadsheets. facetFilterSets: type: array items: - $ref: "#/components/schemas/FacetFilterSet" + $ref: '#/components/schemas/FacetFilterSet' description: A list of facet filter sets that will be OR'ed together. SearchRequestOptions where both facetFilterSets and facetFilters set are considered as bad request. Callers should set only one of these fields. facetBucketFilter: - $ref: "#/components/schemas/FacetBucketFilter" + $ref: '#/components/schemas/FacetBucketFilter' facetBucketSize: type: integer description: The maximum number of FacetBuckets to return in each FacetResult. @@ -5535,17 +6331,22 @@ components: description: Facets for which FacetResults should be fetched and that don't apply to a particular datasource. If specified, these values will replace the standard default facets (last_updated_at, from, etc.). The requested facets will be returned alongside datasource-specific facets if searching a single datasource. authTokens: type: array - description: Auth tokens which may be used for non-indexed, federated results (e.g. Gmail). items: - $ref: "#/components/schemas/AuthToken" + $ref: '#/components/schemas/AuthToken' + description: Auth tokens which may be used for non-indexed, federated results (e.g. Gmail). fetchAllDatasourceCounts: type: boolean description: Hints that the QE should return result counts (via the datasource facet result) for all supported datasources, rather than just those specified in the datasource[s]Filter responseHints: type: array - description: Array of hints containing which fields should be populated in the response. items: type: string + enum: + - ALL_RESULT_COUNTS + - FACET_RESULTS + - QUERY_METADATA + - RESULTS + - SPELLCHECK_METADATA description: Hints for the response content. x-enumDescriptions: ALL_RESULT_COUNTS: Return result counts for each result set which has non-zero results, even when the request itself is limited to a subset. @@ -5553,18 +6354,13 @@ components: QUERY_METADATA: Returns result counts for each result set which has non-zero results, as well as other information about the search such as suggested spelling corrections. RESULTS: Return search result documents. SPELLCHECK_METADATA: Return metadata pertaining to spellcheck results. - enum: - - ALL_RESULT_COUNTS - - FACET_RESULTS - - QUERY_METADATA - - RESULTS - - SPELLCHECK_METADATA x-speakeasy-enum-descriptions: ALL_RESULT_COUNTS: Return result counts for each result set which has non-zero results, even when the request itself is limited to a subset. FACET_RESULTS: Return only facet results. QUERY_METADATA: Returns result counts for each result set which has non-zero results, as well as other information about the search such as suggested spelling corrections. RESULTS: Return search result documents. SPELLCHECK_METADATA: Return metadata pertaining to spellcheck results. + description: Array of hints containing which fields should be populated in the response. timezoneOffset: type: integer description: The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. @@ -5578,11 +6374,13 @@ components: type: boolean description: Enables expanded content to be returned for LLM usage. The size of content per result returned should be modified using maxSnippetSize. Server may return less or more than what is specified in maxSnippetSize. For more details, see https://developers.glean.com/guides/search/llm-content. inclusions: - $ref: "#/components/schemas/RestrictionFilters" + $ref: '#/components/schemas/RestrictionFilters' description: A list of filters which restrict the search results to only the specified content. exclusions: - $ref: "#/components/schemas/RestrictionFilters" + $ref: '#/components/schemas/RestrictionFilters' description: A list of filters specifying content to avoid getting search results from. Exclusions take precendence over inclusions and other query parameters, such as search operators and search facets. + required: + - facetBucketSize example: datasourceFilter: JIRA datasourcesFilter: @@ -5598,9 +6396,6 @@ components: - fieldValues - fieldValues TextRange: - required: - - startIndex - description: A subsection of a given string to which some special formatting should be applied. properties: startIndex: type: integer @@ -5619,8 +6414,11 @@ components: type: string description: The URL associated with the range, if applicable. For example, the linked URL for a LINK range. document: - $ref: "#/components/schemas/Document" + $ref: '#/components/schemas/Document' description: A document corresponding to the range, if applicable. For example, the cited document for a CITATION range. + required: + - startIndex + description: A subsection of a given string to which some special formatting should be applied. SearchRequestInputDetails: properties: hasCopyPaste: @@ -5629,8 +6427,6 @@ components: example: hasCopyPaste: true QuerySuggestion: - required: - - query properties: missingTerm: type: string @@ -5639,7 +6435,7 @@ components: type: string description: The query being suggested (e.g. enforcing the missing term from the original query). searchProviderInfo: - $ref: "#/components/schemas/SearchProviderInfo" + $ref: '#/components/schemas/SearchProviderInfo' description: Information about the search provider that generated this suggestion. label: type: string @@ -5648,25 +6444,24 @@ components: type: string description: The datasource associated with the suggestion. resultTab: - $ref: "#/components/schemas/ResultTab" + $ref: '#/components/schemas/ResultTab' description: The result tab associated with the suggestion. requestOptions: - $ref: "#/components/schemas/SearchRequestOptions" + $ref: '#/components/schemas/SearchRequestOptions' ranges: type: array items: - $ref: "#/components/schemas/TextRange" + $ref: '#/components/schemas/TextRange' description: The bolded ranges within the query of the QuerySuggestion. inputDetails: - $ref: "#/components/schemas/SearchRequestInputDetails" + $ref: '#/components/schemas/SearchRequestInputDetails' + required: + - query example: query: app:github type:pull author:mortimer label: Mortimer's PRs datasource: github Person: - required: - - name - - obfuscatedId properties: name: type: string @@ -5677,16 +6472,17 @@ components: relatedDocuments: type: array items: - $ref: "#/components/schemas/RelatedDocuments" + $ref: '#/components/schemas/RelatedDocuments' description: A list of documents related to this person. metadata: - $ref: "#/components/schemas/PersonMetadata" + $ref: '#/components/schemas/PersonMetadata' + required: + - name + - obfuscatedId example: name: George Clooney obfuscatedId: abc123 Company: - required: - - name properties: name: type: string @@ -5696,9 +6492,9 @@ components: description: Link to internal company company profile. websiteUrls: type: array - description: Link to company's associated websites. items: type: string + description: Link to company's associated websites. logoUrl: type: string description: The URL of the company's logo. Public, Glean-authenticated and Base64 encoded data URLs are all valid (but not third-party-authenticated URLs). @@ -5735,11 +6531,13 @@ components: type: string description: User facing description of company. example: Financial, software, data, and media company headquartered in Midtown Manhattan, New York City + required: + - name DocumentCounts: type: object - description: A map of {string, int} pairs representing counts of each document type associated with this customer. additionalProperties: type: integer + description: A map of {string, int} pairs representing counts of each document type associated with this customer. CustomDataValue: properties: displayLabel: @@ -5748,54 +6546,51 @@ components: type: string stringListValue: type: array - description: list of strings for multi-value properties items: type: string + description: list of strings for multi-value properties numberValue: type: number booleanValue: type: boolean CustomData: type: object - description: Custom fields specific to individual datasources additionalProperties: - $ref: "#/components/schemas/CustomDataValue" + $ref: '#/components/schemas/CustomDataValue' + description: Custom fields specific to individual datasources CustomerMetadata: properties: datasourceId: type: string description: The user visible id of the salesforce customer account. customData: - $ref: "#/components/schemas/CustomData" + $ref: '#/components/schemas/CustomData' Customer: - required: - - id - - company properties: id: type: string description: Unique identifier. domains: type: array - description: Link to company's associated website domains. items: type: string + description: Link to company's associated website domains. company: - $ref: "#/components/schemas/Company" + $ref: '#/components/schemas/Company' documentCounts: - $ref: "#/components/schemas/DocumentCounts" + $ref: '#/components/schemas/DocumentCounts' poc: type: array - description: A list of POC for company. items: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' + description: A list of POC for company. metadata: - $ref: "#/components/schemas/CustomerMetadata" + $ref: '#/components/schemas/CustomerMetadata' mergedCustomers: type: array - description: A list of Customers. items: - $ref: "#/components/schemas/Customer" + $ref: '#/components/schemas/Customer' + description: A list of Customers. startDate: type: string format: date @@ -5808,44 +6603,46 @@ components: type: string description: User facing (potentially generated) notes about company. example: CIO is interested in trying out the product. - RelatedObject: required: - id + - company + RelatedObject: properties: id: type: string description: The ID of the related object metadata: type: object - description: Some metadata of the object which can be displayed, while not having the actual object. properties: name: type: string description: Placeholder name of the object, not the relationship. + description: Some metadata of the object which can be displayed, while not having the actual object. + required: + - id RelatedObjectEdge: properties: objects: type: array items: - $ref: "#/components/schemas/RelatedObject" + $ref: '#/components/schemas/RelatedObject' RelatedObjects: properties: relatedObjects: type: object - description: A list of objects related to a source object. additionalProperties: - $ref: "#/components/schemas/RelatedObjectEdge" + $ref: '#/components/schemas/RelatedObjectEdge' + description: A list of objects related to a source object. ScopeType: type: string - description: Describes the scope for a ReadPermission, WritePermission, or GrantPermission object enum: - GLOBAL - OWN + description: Describes the scope for a ReadPermission, WritePermission, or GrantPermission object WritePermission: - description: Describes the write permissions levels that a user has for a specific feature properties: scopeType: - $ref: "#/components/schemas/ScopeType" + $ref: '#/components/schemas/ScopeType' create: type: boolean description: True if user has create permission for this feature and scope @@ -5855,33 +6652,31 @@ components: delete: type: boolean description: True if user has delete permission for this feature and scope + description: Describes the write permissions levels that a user has for a specific feature ObjectPermissions: properties: write: - $ref: "#/components/schemas/WritePermission" + $ref: '#/components/schemas/WritePermission' PermissionedObject: properties: permissions: - $ref: "#/components/schemas/ObjectPermissions" + $ref: '#/components/schemas/ObjectPermissions' description: The permissions the current viewer has with respect to a particular object. PersonToTeamRelationship: - required: - - person type: object - description: Metadata about the relationship of a person to a team. properties: person: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' relationship: type: string - description: The team member's relationship to the team. This defaults to MEMBER if not set. - default: MEMBER enum: - MEMBER - MANAGER - LEAD - POINT_OF_CONTACT - OTHER + description: The team member's relationship to the team. This defaults to MEMBER if not set. + default: MEMBER customRelationshipStr: type: string description: Displayed name for the relationship if relationship is set to `OTHER`. @@ -5889,7 +6684,11 @@ components: type: string format: date-time description: The team member's start date + required: + - person + description: Metadata about the relationship of a person to a team. TeamEmail: + type: object properties: email: type: string @@ -5897,9 +6696,8 @@ components: description: An email address type: type: string - default: OTHER description: An enum of `PRIMARY`, `SECONDARY`, `ONCALL`, `OTHER` - type: object + default: OTHER required: - email - type @@ -5920,17 +6718,13 @@ components: CustomFieldValuePerson: properties: person: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' CustomFieldValue: oneOf: - - $ref: "#/components/schemas/CustomFieldValueStr" - - $ref: "#/components/schemas/CustomFieldValueHyperlink" - - $ref: "#/components/schemas/CustomFieldValuePerson" + - $ref: '#/components/schemas/CustomFieldValueStr' + - $ref: '#/components/schemas/CustomFieldValueHyperlink' + - $ref: '#/components/schemas/CustomFieldValuePerson' CustomFieldData: - required: - - label - - values - - displayable properties: label: type: string @@ -5938,20 +6732,21 @@ components: values: type: array items: - $ref: "#/components/schemas/CustomFieldValue" + $ref: '#/components/schemas/CustomFieldValue' displayable: type: boolean description: Determines whether the client should display this custom field default: true - DatasourceProfile: required: - - datasource - - handle + - label + - values + - displayable + DatasourceProfile: properties: datasource: type: string - example: github description: The datasource the profile is of. + example: github handle: type: string description: The display name of the entity in the given datasource. @@ -5964,14 +6759,14 @@ components: isUserGenerated: type: boolean description: For internal use only. True iff the data source profile was manually added by a user from within Glean (aka not from the original data source) + required: + - datasource + - handle Team: allOf: - - $ref: "#/components/schemas/RelatedObjects" - - $ref: "#/components/schemas/PermissionedObject" + - $ref: '#/components/schemas/RelatedObjects' + - $ref: '#/components/schemas/PermissionedObject' - type: object - required: - - id - - name properties: id: type: string @@ -6002,27 +6797,27 @@ components: description: Link to a team page on the internet or your company's intranet members: type: array - description: The members on this team items: - $ref: "#/components/schemas/PersonToTeamRelationship" + $ref: '#/components/schemas/PersonToTeamRelationship' + description: The members on this team memberCount: type: integer description: Number of members on this team (recursive; includes all individuals that belong to this team, and all individuals that belong to a subteam within this team) emails: type: array - description: The emails for this team items: - $ref: "#/components/schemas/TeamEmail" + $ref: '#/components/schemas/TeamEmail' + description: The emails for this team customFields: type: array - description: Customizable fields for additional team information. items: - $ref: "#/components/schemas/CustomFieldData" + $ref: '#/components/schemas/CustomFieldData' + description: Customizable fields for additional team information. datasourceProfiles: type: array - description: The datasource profiles of the team items: - $ref: "#/components/schemas/DatasourceProfile" + $ref: '#/components/schemas/DatasourceProfile' + description: The datasource profiles of the team datasource: type: string description: the data source of the team, e.g. GDRIVE @@ -6035,12 +6830,12 @@ components: description: when this team was last updated. status: type: string - description: whether this team is fully processed or there are still unprocessed operations that'll affect it - default: PROCESSED enum: - PROCESSED - QUEUED_FOR_CREATION - QUEUED_FOR_DELETION + description: whether this team is fully processed or there are still unprocessed operations that'll affect it + default: PROCESSED canBeDeleted: type: boolean description: can this team be deleted. Some manually ingested teams like GCS_CSV or PUSH_API cannot @@ -6048,15 +6843,15 @@ components: loggingId: type: string description: The logging id of the team used in scrubbed logs, client analytics, and metrics. + required: + - id + - name CustomEntityMetadata: properties: customData: - $ref: "#/components/schemas/CustomData" + $ref: '#/components/schemas/CustomData' GroupType: type: string - description: The type of user group - x-enumDescriptions: - COLLECTION_AUDIENCE: Refers to any viewers of the Collection. enum: - DEPARTMENT - ALL @@ -6067,15 +6862,15 @@ components: - REGION - EXTERNAL_GROUP - COLLECTION_AUDIENCE + description: The type of user group + x-enumDescriptions: + COLLECTION_AUDIENCE: Refers to any viewers of the Collection. x-speakeasy-enum-descriptions: COLLECTION_AUDIENCE: Refers to any viewers of the Collection. Group: - required: - - type - - id properties: type: - $ref: "#/components/schemas/GroupType" + $ref: '#/components/schemas/GroupType' id: type: string description: A unique identifier for the group. May be the same as name. @@ -6088,31 +6883,34 @@ components: provisioningId: type: string description: identifier for greenlist provisioning, aka sciokey + required: + - type + - id UserRole: type: string - description: A user's role with respect to a specific document. enum: - OWNER - VIEWER - ANSWER_MODERATOR - EDITOR - VERIFIER + description: A user's role with respect to a specific document. UserRoleSpecification: - required: - - role properties: sourceDocumentSpec: - $ref: "#/components/schemas/DocumentSpec" + $ref: '#/components/schemas/DocumentSpec' description: The document spec of the object this role originates from. The object this role is included with will usually have the same information as this document spec, but if the role is inherited, then the document spec refers to the parent document that the role came from. person: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' group: - $ref: "#/components/schemas/Group" + $ref: '#/components/schemas/Group' role: - $ref: "#/components/schemas/UserRole" + $ref: '#/components/schemas/UserRole' + required: + - role CustomEntity: allOf: - - $ref: "#/components/schemas/PermissionedObject" + - $ref: '#/components/schemas/PermissionedObject' - type: object properties: id: @@ -6128,12 +6926,12 @@ components: type: string description: The type of the entity. Interpretation is specific to each datasource metadata: - $ref: "#/components/schemas/CustomEntityMetadata" + $ref: '#/components/schemas/CustomEntityMetadata' roles: type: array - description: A list of user roles for the custom entity explicitly granted by the owner. items: - $ref: "#/components/schemas/UserRoleSpecification" + $ref: '#/components/schemas/UserRoleSpecification' + description: A list of user roles for the custom entity explicitly granted by the owner. AnswerId: properties: id: @@ -6153,9 +6951,9 @@ components: example: Why is the sky blue? questionVariations: type: array - description: Additional ways of phrasing this question. items: type: string + description: Additional ways of phrasing this question. bodyText: type: string description: The plain text answer to the question. @@ -6172,26 +6970,26 @@ components: x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Answer Boards no longer supported" audienceFilters: type: array - description: Filters which restrict who should see the answer. Values are taken from the corresponding filters in people search. items: - $ref: "#/components/schemas/FacetFilter" + $ref: '#/components/schemas/FacetFilter' + description: Filters which restrict who should see the answer. Values are taken from the corresponding filters in people search. addedRoles: type: array - description: A list of user roles for the answer added by the owner. items: - $ref: "#/components/schemas/UserRoleSpecification" + $ref: '#/components/schemas/UserRoleSpecification' + description: A list of user roles for the answer added by the owner. removedRoles: type: array - description: A list of user roles for the answer removed by the owner. items: - $ref: "#/components/schemas/UserRoleSpecification" + $ref: '#/components/schemas/UserRoleSpecification' + description: A list of user roles for the answer removed by the owner. roles: type: array - description: A list of roles for this answer explicitly granted by an owner, editor, or admin. items: - $ref: "#/components/schemas/UserRoleSpecification" + $ref: '#/components/schemas/UserRoleSpecification' + description: A list of roles for this answer explicitly granted by an owner, editor, or admin. sourceDocumentSpec: - $ref: "#/components/schemas/DocumentSpec" + $ref: '#/components/schemas/DocumentSpec' sourceType: type: string enum: @@ -6205,47 +7003,44 @@ components: description: An opaque token that represents this particular UGC. To be used for `/feedback` reporting. StructuredText: allOf: - - $ref: "#/components/schemas/StructuredTextMutableProperties" + - $ref: '#/components/schemas/StructuredTextMutableProperties' - type: object properties: structuredList: type: array items: - $ref: "#/components/schemas/StructuredTextItem" + $ref: '#/components/schemas/StructuredTextItem' description: An array of objects each of which contains either a string or a link which optionally corresponds to a document. AnswerLike: properties: user: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' createTime: type: string format: date-time description: The time the user liked the answer in ISO format (ISO 8601). AnswerLikes: - required: - - likedBy - - likedByUser - - numLikes properties: likedBy: type: array items: - $ref: "#/components/schemas/AnswerLike" + $ref: '#/components/schemas/AnswerLike' likedByUser: type: boolean description: Whether the user in context liked the answer. numLikes: type: integer description: The total number of likes for the answer. - Reminder: required: - - assignee - - remindAt + - likedBy + - likedByUser + - numLikes + Reminder: properties: assignee: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' requestor: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' remindAt: type: integer description: Unix timestamp for when the reminder should trigger (in seconds since epoch UTC). @@ -6255,6 +7050,9 @@ components: reason: type: string description: An optional free-text reason for the reminder. This is particularly useful when a reminder is used to ask for verification from another user (for example, "Duplicate", "Incomplete", "Incorrect"). + required: + - assignee + - remindAt TimePoint: properties: epochSeconds: @@ -6274,27 +7072,25 @@ components: description: DEPRECATED - The number of days from now in the past to define lower boundary of time period. deprecated: true start: - $ref: "#/components/schemas/TimePoint" + $ref: '#/components/schemas/TimePoint' end: - $ref: "#/components/schemas/TimePoint" + $ref: '#/components/schemas/TimePoint' CountInfo: - required: - - count properties: count: type: integer description: The counter value period: - $ref: "#/components/schemas/Period" + $ref: '#/components/schemas/Period' org: type: string description: The unit of organization over which we did the count aggregation, e.g. org (department) or company - VerificationMetadata: required: - - documentId + - count + VerificationMetadata: properties: lastVerifier: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' lastVerificationTs: type: integer description: The unix timestamp of the verification (in seconds since epoch UTC). @@ -6302,27 +7098,27 @@ components: type: integer description: The unix timestamp of the verification expiration if applicable (in seconds since epoch UTC). document: - $ref: "#/components/schemas/Document" + $ref: '#/components/schemas/Document' reminders: type: array items: - $ref: "#/components/schemas/Reminder" + $ref: '#/components/schemas/Reminder' description: Info about all outstanding verification reminders for the document if exists. lastReminder: - $ref: "#/components/schemas/Reminder" + $ref: '#/components/schemas/Reminder' visitorCount: type: array items: - $ref: "#/components/schemas/CountInfo" + $ref: '#/components/schemas/CountInfo' description: Number of visitors to the document during included time periods. candidateVerifiers: type: array items: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' description: List of potential verifiers for the document e.g. old verifiers and/or users with view/edit permissions. - Verification: required: - - state + - documentId + Verification: properties: state: type: string @@ -6332,10 +7128,10 @@ components: - DEPRECATED description: The verification state for the document. metadata: - $ref: "#/components/schemas/VerificationMetadata" - CollectionBaseMutableProperties: + $ref: '#/components/schemas/VerificationMetadata' required: - - name + - state + CollectionBaseMutableProperties: properties: name: type: string @@ -6345,19 +7141,21 @@ components: description: A brief summary of the Collection's contents. addedRoles: type: array - description: A list of added user roles for the Collection. items: - $ref: "#/components/schemas/UserRoleSpecification" + $ref: '#/components/schemas/UserRoleSpecification' + description: A list of added user roles for the Collection. removedRoles: type: array - description: A list of removed user roles for the Collection. items: - $ref: "#/components/schemas/UserRoleSpecification" + $ref: '#/components/schemas/UserRoleSpecification' + description: A list of removed user roles for the Collection. audienceFilters: type: array items: - $ref: "#/components/schemas/FacetFilter" + $ref: '#/components/schemas/FacetFilter' description: Filters which restrict who should see this Collection. Values are taken from the corresponding filters in people search. + required: + - name Thumbnail: properties: photoId: @@ -6368,10 +7166,8 @@ components: description: Thumbnail URL. This can be user provided image and/or from downloaded images hosted by Glean. CollectionMutableProperties: allOf: - - $ref: "#/components/schemas/CollectionBaseMutableProperties" + - $ref: '#/components/schemas/CollectionBaseMutableProperties' - type: object - required: - - name properties: icon: type: string @@ -6383,10 +7179,12 @@ components: type: integer description: The parent of this Collection, or 0 if it's a top-level Collection. thumbnail: - $ref: "#/components/schemas/Thumbnail" + $ref: '#/components/schemas/Thumbnail' allowedDatasource: type: string description: The datasource type this Collection can hold. + required: + - name CollectionItemMutableProperties: properties: name: @@ -6425,30 +7223,30 @@ components: description: For variable shortcuts, contains the URL template; note, `destinationUrl` contains default URL. addedRoles: type: array - description: A list of user roles added for the Shortcut. items: - $ref: "#/components/schemas/UserRoleSpecification" + $ref: '#/components/schemas/UserRoleSpecification' + description: A list of user roles added for the Shortcut. removedRoles: type: array - description: A list of user roles removed for the Shortcut. items: - $ref: "#/components/schemas/UserRoleSpecification" + $ref: '#/components/schemas/UserRoleSpecification' + description: A list of user roles removed for the Shortcut. ShortcutMetadata: properties: createdBy: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' createTime: type: string format: date-time description: The time the shortcut was created in ISO format (ISO 8601). updatedBy: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' updateTime: type: string format: date-time description: The time the shortcut was updated in ISO format (ISO 8601). destinationDocument: - $ref: "#/components/schemas/Document" + $ref: '#/components/schemas/Document' description: Document that corresponds to the destination URL, if applicable. intermediateUrl: type: string @@ -6464,13 +7262,11 @@ components: description: The URL using which the user can access the edit page of the shortcut. Shortcut: allOf: - - $ref: "#/components/schemas/UserGeneratedContentId" - - $ref: "#/components/schemas/ShortcutMutableProperties" - - $ref: "#/components/schemas/PermissionedObject" - - $ref: "#/components/schemas/ShortcutMetadata" + - $ref: '#/components/schemas/UserGeneratedContentId' + - $ref: '#/components/schemas/ShortcutMutableProperties' + - $ref: '#/components/schemas/PermissionedObject' + - $ref: '#/components/schemas/ShortcutMetadata' - type: object - required: - - inputAlias properties: alias: type: string @@ -6480,18 +7276,17 @@ components: description: Title for the Go Link roles: type: array - description: A list of user roles for the Go Link. items: - $ref: "#/components/schemas/UserRoleSpecification" + $ref: '#/components/schemas/UserRoleSpecification' + description: A list of user roles for the Go Link. + required: + - inputAlias Collection: allOf: - - $ref: "#/components/schemas/CollectionMutableProperties" - - $ref: "#/components/schemas/PermissionedObject" - - $ref: "#/components/schemas/UgcTrackingSignals" + - $ref: '#/components/schemas/CollectionMutableProperties' + - $ref: '#/components/schemas/PermissionedObject' + - $ref: '#/components/schemas/UgcTrackingSignals' - type: object - required: - - id - - description properties: id: type: integer @@ -6503,9 +7298,9 @@ components: type: string format: date-time creator: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' updatedBy: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' itemCount: type: integer description: The number of items currently in the Collection. Separated from the actual items so we can grab the count without items. @@ -6515,10 +7310,10 @@ components: items: type: array items: - $ref: "#/components/schemas/CollectionItem" + $ref: '#/components/schemas/CollectionItem' description: The items in this Collection. pinMetadata: - $ref: "#/components/schemas/CollectionPinnedMetadata" + $ref: '#/components/schemas/CollectionPinnedMetadata' description: Metadata having what categories this Collection is pinned to and the eligible categories to pin to shortcuts: type: array @@ -6528,20 +7323,20 @@ components: children: type: array items: - $ref: "#/components/schemas/Collection" + $ref: '#/components/schemas/Collection' description: The children Collections of this Collection. roles: type: array - description: A list of user roles for the Collection. items: - $ref: "#/components/schemas/UserRoleSpecification" + $ref: '#/components/schemas/UserRoleSpecification' + description: A list of user roles for the Collection. + required: + - id + - description CollectionItem: allOf: - - $ref: "#/components/schemas/CollectionItemMutableProperties" + - $ref: '#/components/schemas/CollectionItemMutableProperties' - type: object - required: - - collectionId - - itemType properties: collectionId: type: integer @@ -6556,20 +7351,20 @@ components: type: string description: Unique identifier for the item within the Collection it belongs to. createdBy: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' description: The person who added this Collection item. createdAt: type: string format: date-time description: Unix timestamp for when the item was first added (in seconds since epoch UTC). document: - $ref: "#/components/schemas/Document" + $ref: '#/components/schemas/Document' description: The Document this CollectionItem corresponds to (omitted if item is a non-indexed URL). shortcut: - $ref: "#/components/schemas/Shortcut" + $ref: '#/components/schemas/Shortcut' description: The Shortcut this CollectionItem corresponds to (only included if item URL is for a Go Link). collection: - $ref: "#/components/schemas/Collection" + $ref: '#/components/schemas/Collection' description: The Collection this CollectionItem corresponds to (only included if item type is COLLECTION). itemType: type: string @@ -6578,69 +7373,70 @@ components: - TEXT - URL - COLLECTION + required: + - collectionId + - itemType CollectionPinnableCategories: type: string - description: Categories a Collection can be pinned to. enum: - COMPANY_RESOURCE - DEPARTMENT_RESOURCE - TEAM_RESOURCE + description: Categories a Collection can be pinned to. CollectionPinnableTargets: type: string - description: What targets can a Collection be pinned to. enum: - RESOURCE_CARD - TEAM_PROFILE_PAGE + description: What targets can a Collection be pinned to. CollectionPinTarget: - required: - - category properties: category: - $ref: "#/components/schemas/CollectionPinnableCategories" + $ref: '#/components/schemas/CollectionPinnableCategories' value: type: string description: Optional. If category supports values, then the additional value for the category e.g. department name for DEPARTMENT_RESOURCE, team name/id for TEAM_RESOURCE and so on. target: - $ref: "#/components/schemas/CollectionPinnableTargets" - CollectionPinMetadata: + $ref: '#/components/schemas/CollectionPinnableTargets' required: - - id - - target + - category + CollectionPinMetadata: properties: id: type: integer description: The ID of the Collection. target: - $ref: "#/components/schemas/CollectionPinTarget" + $ref: '#/components/schemas/CollectionPinTarget' + required: + - id + - target CollectionPinnedMetadata: properties: existingPins: type: array items: - $ref: "#/components/schemas/CollectionPinTarget" + $ref: '#/components/schemas/CollectionPinTarget' description: List of targets this Collection is pinned to. eligiblePins: type: array items: - $ref: "#/components/schemas/CollectionPinMetadata" + $ref: '#/components/schemas/CollectionPinMetadata' description: List of targets this Collection can be pinned to, excluding the targets this Collection is already pinned to. We also include Collection ID already is pinned to each eligible target, which will be 0 if the target has no pinned Collection. Answer: allOf: - - $ref: "#/components/schemas/AnswerId" - - $ref: "#/components/schemas/AnswerDocId" - - $ref: "#/components/schemas/AnswerMutableProperties" - - $ref: "#/components/schemas/PermissionedObject" - - $ref: "#/components/schemas/UgcTrackingSignals" + - $ref: '#/components/schemas/AnswerId' + - $ref: '#/components/schemas/AnswerDocId' + - $ref: '#/components/schemas/AnswerMutableProperties' + - $ref: '#/components/schemas/PermissionedObject' + - $ref: '#/components/schemas/UgcTrackingSignals' - type: object - required: - - id properties: combinedAnswerText: - $ref: "#/components/schemas/StructuredText" + $ref: '#/components/schemas/StructuredText' likes: - $ref: "#/components/schemas/AnswerLikes" + $ref: '#/components/schemas/AnswerLikes' author: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' createTime: type: string format: date-time @@ -6650,21 +7446,22 @@ components: format: date-time description: The time the answer was last updated in ISO format (ISO 8601). updatedBy: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' verification: - $ref: "#/components/schemas/Verification" + $ref: '#/components/schemas/Verification' collections: type: array - description: The collections to which the answer belongs. items: - $ref: "#/components/schemas/Collection" + $ref: '#/components/schemas/Collection' + description: The collections to which the answer belongs. documentCategory: type: string description: The document's document_category(.proto). sourceDocument: - $ref: "#/components/schemas/Document" + $ref: '#/components/schemas/Document' + required: + - id FollowupAction: - description: A follow-up action that can be invoked by the user after a response. The action parameters are not included and need to be predicted/filled separately. properties: actionRunId: type: string @@ -6677,9 +7474,9 @@ components: description: The ID of the associated action. parameters: type: object - description: Map of assistant predicted parameters and their corresponding values. additionalProperties: type: string + description: Map of assistant predicted parameters and their corresponding values. recommendationText: type: string description: Text to be displayed to the user when recommending the action instance. @@ -6689,6 +7486,7 @@ components: userConfirmationRequired: type: boolean description: Whether user confirmation is needed before executing this action instance. + description: A follow-up action that can be invoked by the user after a response. The action parameters are not included and need to be predicted/filled separately. GeneratedQna: properties: question: @@ -6703,14 +7501,14 @@ components: type: string description: List of all follow-up prompts generated for the given query or the generated question. followupActions: - description: List of follow-up actions generated for the given query or the generated question. type: array items: - $ref: "#/components/schemas/FollowupAction" + $ref: '#/components/schemas/FollowupAction' + description: List of follow-up actions generated for the given query or the generated question. ranges: type: array items: - $ref: "#/components/schemas/TextRange" + $ref: '#/components/schemas/TextRange' description: Answer subsections to mark with special formatting (citations, bolding etc) status: type: string @@ -6731,14 +7529,12 @@ components: type: string description: An opaque token that represents this particular result in this particular query. To be used for /feedback reporting. SearchResult: - required: - - url allOf: - - $ref: "#/components/schemas/Result" + - $ref: '#/components/schemas/Result' - type: object properties: document: - $ref: "#/components/schemas/Document" + $ref: '#/components/schemas/Document' title: type: string url: @@ -6749,60 +7545,62 @@ components: snippets: type: array items: - $ref: "#/components/schemas/SearchResultSnippet" + $ref: '#/components/schemas/SearchResultSnippet' description: Text content from the result document which contains search query terms, if available. fullText: type: string description: The full body text of the result if not already contained in the snippets. Only populated for conversation results (e.g. results from a messaging app such as Slack). fullTextList: type: array - description: The full body text of the result if not already contained in the snippets; each item in the array represents a separate line in the original text. Only populated for conversation results (e.g. results from a messaging app such as Slack). items: type: string + description: The full body text of the result if not already contained in the snippets; each item in the array represents a separate line in the original text. Only populated for conversation results (e.g. results from a messaging app such as Slack). relatedResults: type: array items: - $ref: "#/components/schemas/RelatedDocuments" + $ref: '#/components/schemas/RelatedDocuments' description: A list of results related to this search result. Eg. for conversation results it contains individual messages from the conversation document which will be shown on SERP. clusteredResults: type: array - description: A list of results that should be displayed as associated with this result. items: - $ref: "#/components/schemas/SearchResult" + $ref: '#/components/schemas/SearchResult' + description: A list of results that should be displayed as associated with this result. allClusteredResults: type: array - description: A list of results that should be displayed as associated with this result. items: - $ref: "#/components/schemas/ClusterGroup" + $ref: '#/components/schemas/ClusterGroup' + description: A list of results that should be displayed as associated with this result. attachmentCount: type: integer description: The total number of attachments. attachments: type: array - description: A (potentially partial) list of results representing documents attached to the main result document. items: - $ref: "#/components/schemas/SearchResult" + $ref: '#/components/schemas/SearchResult' + description: A (potentially partial) list of results representing documents attached to the main result document. backlinkResults: type: array - description: A list of results that should be displayed as backlinks of this result in reverse chronological order. items: - $ref: "#/components/schemas/SearchResult" + $ref: '#/components/schemas/SearchResult' + description: A list of results that should be displayed as backlinks of this result in reverse chronological order. clusterType: - $ref: "#/components/schemas/ClusterTypeEnum" + $ref: '#/components/schemas/ClusterTypeEnum' mustIncludeSuggestions: - $ref: "#/components/schemas/QuerySuggestionList" + $ref: '#/components/schemas/QuerySuggestionList' querySuggestion: - $ref: "#/components/schemas/QuerySuggestion" + $ref: '#/components/schemas/QuerySuggestion' prominence: - $ref: "#/components/schemas/SearchResultProminenceEnum" + $ref: '#/components/schemas/SearchResultProminenceEnum' attachmentContext: type: string description: Additional context for the relationship between the result and the document it's attached to. pins: type: array - description: A list of pins associated with this search result. items: - $ref: "#/components/schemas/PinDocument" + $ref: '#/components/schemas/PinDocument' + description: A list of pins associated with this search result. + required: + - url example: snippets: - snippet: snippet @@ -6832,10 +7630,8 @@ components: type: string description: Question text that was matched to produce this result. questionResult: - $ref: "#/components/schemas/SearchResult" + $ref: '#/components/schemas/SearchResult' CalendarAttendee: - required: - - person properties: isOrganizer: type: boolean @@ -6844,12 +7640,12 @@ components: type: boolean description: Whether or not this attendee is in a group. Needed temporarily at least to support both flat attendees and tree for compatibility. person: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' groupAttendees: type: array - description: If this attendee is a group, represents the list of individual attendees in the group. items: - $ref: "#/components/schemas/CalendarAttendee" + $ref: '#/components/schemas/CalendarAttendee' + description: If this attendee is a group, represents the list of individual attendees in the group. responseStatus: type: string enum: @@ -6857,12 +7653,14 @@ components: - DECLINED - NO_RESPONSE - TENTATIVE + required: + - person CalendarAttendees: properties: people: type: array items: - $ref: "#/components/schemas/CalendarAttendee" + $ref: '#/components/schemas/CalendarAttendee' description: Full details of some of the attendees of this event isLimit: type: boolean @@ -6899,7 +7697,7 @@ components: type: string format: date-time attendees: - $ref: "#/components/schemas/CalendarAttendees" + $ref: '#/components/schemas/CalendarAttendees' description: The attendee list, including their response status isCancelled: type: boolean @@ -6917,8 +7715,6 @@ components: type: string description: The conference provider (e.g., "Microsoft Teams", "Zoom") AppResult: - required: - - datasource properties: datasource: type: string @@ -6932,6 +7728,8 @@ components: iconUrl: type: string description: If there is available icon URL. + required: + - datasource CodeLine: properties: lineNumber: @@ -6941,7 +7739,7 @@ components: ranges: type: array items: - $ref: "#/components/schemas/TextRange" + $ref: '#/components/schemas/TextRange' description: Index ranges depicting matched sections of the line Code: properties: @@ -6954,7 +7752,7 @@ components: lines: type: array items: - $ref: "#/components/schemas/CodeLine" + $ref: '#/components/schemas/CodeLine' isLastMatch: type: boolean description: Last file match for a repo @@ -6980,11 +7778,10 @@ components: suggestions: type: array items: - $ref: "#/components/schemas/QuerySuggestion" + $ref: '#/components/schemas/QuerySuggestion' person: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' IconConfig: - description: Defines how to render an icon properties: generatedBackgroundColorKey: type: string @@ -7018,13 +7815,13 @@ components: url: type: string description: The URL to an image to be displayed if applicable, e.g. the URL for `iconType.URL` icons. + description: Defines how to render an icon example: color: "#343CED" key: person_icon iconType: GLYPH name: user ChatMetadata: - description: Metadata of a Chat a user had with Glean Assistant. This contains no actual conversational content. properties: id: type: string @@ -7033,7 +7830,7 @@ components: type: integer description: Server Unix timestamp of the creation time (in seconds since epoch UTC). createdBy: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' description: The user who created this Chat. updateTime: type: integer @@ -7048,12 +7845,12 @@ components: type: string description: The display name of the AI App that this Chat is associated to. icon: - $ref: "#/components/schemas/IconConfig" + $ref: '#/components/schemas/IconConfig' + description: Metadata of a Chat a user had with Glean Assistant. This contains no actual conversational content. RelatedDocuments: properties: relation: type: string - description: How this document relates to the including entity. enum: - ATTACHMENT - CANONICAL @@ -7071,6 +7868,7 @@ components: - TICKET - TRANSCRIPT - WITH + description: How this document relates to the including entity. x-enum-varnames: - ATTACHMENT - CANONICAL @@ -7096,11 +7894,11 @@ components: type: string description: Which entity in the response that this entity relates to. Relevant when there are multiple entities associated with the response (such as merged customers) querySuggestion: - $ref: "#/components/schemas/QuerySuggestion" + $ref: '#/components/schemas/QuerySuggestion' documents: type: array items: - $ref: "#/components/schemas/Document" + $ref: '#/components/schemas/Document' description: A truncated list of documents with this relation. TO BE DEPRECATED. deprecated: true x-glean-deprecated: @@ -7112,7 +7910,7 @@ components: results: type: array items: - $ref: "#/components/schemas/SearchResult" + $ref: '#/components/schemas/SearchResult' description: A truncated list of documents associated with this relation. To be used in favor of `documents` because it contains a trackingToken. RelatedQuestion: properties: @@ -7125,19 +7923,18 @@ components: ranges: type: array items: - $ref: "#/components/schemas/TextRange" + $ref: '#/components/schemas/TextRange' description: Subsections of the answer string to which some special formatting should be applied (eg. bold) EntityType: type: string - description: The type of entity. - x-include-enum-class-prefix: true enum: - PERSON - PROJECT - CUSTOMER + description: The type of entity. + x-include-enum-class-prefix: true Disambiguation: type: object - description: A disambiguation between multiple entities with the same name properties: name: type: string @@ -7146,7 +7943,8 @@ components: type: string description: The unique id of the entity in the knowledge graph type: - $ref: "#/components/schemas/EntityType" + $ref: '#/components/schemas/EntityType' + description: A disambiguation between multiple entities with the same name SearchResultSnippet: properties: mimeType: @@ -7161,15 +7959,15 @@ components: ranges: type: array items: - $ref: "#/components/schemas/TextRange" + $ref: '#/components/schemas/TextRange' description: The bolded ranges within text. url: type: string description: A URL, generated based on availability, that links to the position of the snippet text or to the nearest header above the snippet text. snippet: type: string - deprecated: true description: A matching snippet from the document. Query term matches are marked by the unicode characters uE006 and uE007. Use 'text' field instead. + deprecated: true x-glean-deprecated: id: e55ddf30-7c47-43a5-b775-d78f8b29411a introduced: "2026-02-05" @@ -7181,91 +7979,90 @@ components: snippet: snippet mimeType: mimeType StructuredResult: - description: A single object that can support any object in the work graph. Only a single object will be populated. properties: document: - $ref: "#/components/schemas/Document" + $ref: '#/components/schemas/Document' person: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' customer: - $ref: "#/components/schemas/Customer" + $ref: '#/components/schemas/Customer' team: - $ref: "#/components/schemas/Team" + $ref: '#/components/schemas/Team' customEntity: - $ref: "#/components/schemas/CustomEntity" + $ref: '#/components/schemas/CustomEntity' answer: - $ref: "#/components/schemas/Answer" + $ref: '#/components/schemas/Answer' generatedQna: - $ref: "#/components/schemas/GeneratedQna" + $ref: '#/components/schemas/GeneratedQna' extractedQnA: - $ref: "#/components/schemas/ExtractedQnA" + $ref: '#/components/schemas/ExtractedQnA' meeting: - $ref: "#/components/schemas/Meeting" + $ref: '#/components/schemas/Meeting' app: - $ref: "#/components/schemas/AppResult" + $ref: '#/components/schemas/AppResult' collection: - $ref: "#/components/schemas/Collection" + $ref: '#/components/schemas/Collection' code: - $ref: "#/components/schemas/Code" + $ref: '#/components/schemas/Code' shortcut: - $ref: "#/components/schemas/Shortcut" + $ref: '#/components/schemas/Shortcut' querySuggestions: - $ref: "#/components/schemas/QuerySuggestionList" + $ref: '#/components/schemas/QuerySuggestionList' chat: - $ref: "#/components/schemas/ChatMetadata" + $ref: '#/components/schemas/ChatMetadata' relatedDocuments: type: array items: - $ref: "#/components/schemas/RelatedDocuments" + $ref: '#/components/schemas/RelatedDocuments' description: A list of documents related to this structured result. relatedQuestion: - $ref: "#/components/schemas/RelatedQuestion" + $ref: '#/components/schemas/RelatedQuestion' disambiguation: - $ref: "#/components/schemas/Disambiguation" + $ref: '#/components/schemas/Disambiguation' snippets: - description: Any snippets associated to the populated object. type: array items: - $ref: "#/components/schemas/SearchResultSnippet" + $ref: '#/components/schemas/SearchResultSnippet' + description: Any snippets associated to the populated object. trackingToken: type: string description: An opaque token that represents this particular result in this particular query. To be used for /feedback reporting. prominence: type: string + enum: + - HERO + - PROMOTED + - STANDARD description: The level of visual distinction that should be given to a result. x-enumDescriptions: HERO: A high-confidence result that should feature prominently on the page. PROMOTED: May not be the best result but should be given additional visual distinction. STANDARD: Should not be distinct from any other results. - enum: - - HERO - - PROMOTED - - STANDARD x-speakeasy-enum-descriptions: HERO: A high-confidence result that should feature prominently on the page. PROMOTED: May not be the best result but should be given additional visual distinction. STANDARD: Should not be distinct from any other results. source: type: string - description: Source context for this result. Possible values depend on the result type. enum: - EXPERT_DETECTION - ENTITY_NLQ - CALENDAR_EVENT - AGENT + description: Source context for this result. Possible values depend on the result type. + description: A single object that can support any object in the work graph. Only a single object will be populated. Result: properties: structuredResults: type: array - description: An array of entities in the work graph retrieved via a data request. items: - $ref: "#/components/schemas/StructuredResult" + $ref: '#/components/schemas/StructuredResult' + description: An array of entities in the work graph retrieved via a data request. trackingToken: type: string description: An opaque token that represents this particular result in this particular query. To be used for /feedback reporting. ClusterTypeEnum: type: string - description: The reason for inclusion of clusteredResults. enum: - SIMILAR - FRESHNESS @@ -7278,32 +8075,33 @@ components: - SUFFIX - AUTHOR_PREFIX - AUTHOR_SUFFIX + description: The reason for inclusion of clusteredResults. ClusterGroup: - required: - - visibleCountHint properties: clusteredResults: type: array - description: A list of results that should be displayed as associated with this result. items: - $ref: "#/components/schemas/SearchResult" + $ref: '#/components/schemas/SearchResult' + description: A list of results that should be displayed as associated with this result. clusterType: - $ref: "#/components/schemas/ClusterTypeEnum" + $ref: '#/components/schemas/ClusterTypeEnum' visibleCountHint: type: integer description: The default number of results to display before truncating and showing a "see more" link + required: + - visibleCountHint SearchResultProminenceEnum: type: string + enum: + - HERO + - PROMOTED + - STANDARD description: | The level of visual distinction that should be given to a result. x-enumDescriptions: HERO: A high-confidence result that should feature prominently on the page. PROMOTED: May not be the best result but should be given additional visual distinction. STANDARD: Should not be distinct from any other results. - enum: - - HERO - - PROMOTED - - STANDARD x-speakeasy-enum-descriptions: HERO: A high-confidence result that should feature prominently on the page. PROMOTED: May not be the best result but should be given additional visual distinction. @@ -7312,20 +8110,18 @@ components: properties: queries: type: array - description: The query strings for which the pinned result will show. items: type: string + description: The query strings for which the pinned result will show. audienceFilters: type: array - description: Filters which restrict who should see the pinned document. Values are taken from the corresponding filters in people search. items: - $ref: "#/components/schemas/FacetFilter" + $ref: '#/components/schemas/FacetFilter' + description: Filters which restrict who should see the pinned document. Values are taken from the corresponding filters in people search. PinDocument: allOf: - - $ref: "#/components/schemas/PinDocumentMutableProperties" + - $ref: '#/components/schemas/PinDocumentMutableProperties' - type: object - required: - - documentId properties: id: type: string @@ -7335,21 +8131,22 @@ components: description: The document which should be a pinned result. audienceFilters: type: array - description: Filters which restrict who should see the pinned document. Values are taken from the corresponding filters in people search. items: - $ref: "#/components/schemas/FacetFilter" + $ref: '#/components/schemas/FacetFilter' + description: Filters which restrict who should see the pinned document. Values are taken from the corresponding filters in people search. attribution: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' updatedBy: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' createTime: type: string format: date-time updateTime: type: string format: date-time + required: + - documentId PersonTeam: - description: Use `id` if you index teams via Glean, and use `name` and `externalLink` if you want to use your own team pages properties: id: type: string @@ -7363,21 +8160,21 @@ components: description: Link to a team page on the internet or your company's intranet relationship: type: string - description: The team member's relationship to the team. This defaults to MEMBER if not set. - default: MEMBER enum: - MEMBER - MANAGER - LEAD - POINT_OF_CONTACT - OTHER + description: The team member's relationship to the team. This defaults to MEMBER if not set. + default: MEMBER joinDate: type: string format: date-time description: The team member's start date + description: Use `id` if you index teams via Glean, and use `name` and `externalLink` if you want to use your own team pages StructuredLocation: type: object - description: Detailed location with information about country, state, city etc. properties: deskLocation: type: string @@ -7406,10 +8203,8 @@ components: countryCode: type: string description: Alpha-2 or Alpha-3 ISO 3166 country code, e.g. US or USA. + description: Detailed location with information about country, state, city etc. SocialNetwork: - required: - - name - - profileUrl properties: name: type: string @@ -7421,11 +8216,10 @@ components: type: string format: url description: Link to profile. - PersonDistance: required: - name - - obfuscatedId - - distance + - profileUrl + PersonDistance: properties: name: type: string @@ -7437,23 +8231,26 @@ components: type: number format: float description: Distance to person, refer to PeopleDistance pipeline on interpretation of the value. + required: + - name + - obfuscatedId + - distance CommunicationChannel: type: string enum: - COMMUNICATION_CHANNEL_EMAIL - COMMUNICATION_CHANNEL_SLACK ChannelInviteInfo: - description: Information regarding the invite status of a person for a particular channel. properties: channel: + $ref: '#/components/schemas/CommunicationChannel' description: Channel through which the invite was sent - $ref: "#/components/schemas/CommunicationChannel" isAutoInvite: - description: Bit that tracks if this invite was automatically sent or user-sent type: boolean + description: Bit that tracks if this invite was automatically sent or user-sent inviter: + $ref: '#/components/schemas/Person' description: The person that invited this person. - $ref: "#/components/schemas/Person" inviteTime: type: string format: date-time @@ -7462,8 +8259,8 @@ components: type: string format: date-time description: The time this person was reminded in ISO format (ISO 8601) if a reminder was sent. + description: Information regarding the invite status of a person for a particular channel. InviteInfo: - description: Information regarding the invite status of a person. properties: signUpTime: type: string @@ -7472,12 +8269,12 @@ components: invites: type: array items: - $ref: "#/components/schemas/ChannelInviteInfo" + $ref: '#/components/schemas/ChannelInviteInfo' description: Latest invites received by the user for each channel inviter: - deprecated: true + $ref: '#/components/schemas/Person' description: The person that invited this person. - $ref: "#/components/schemas/Person" + deprecated: true x-glean-deprecated: id: 1d3cd23f-9085-4378-b466-9bdc2e344a71 introduced: "2026-02-05" @@ -7485,10 +8282,10 @@ components: removal: "2026-10-15" x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead" inviteTime: - deprecated: true type: string format: date-time description: The time this person was invited in ISO format (ISO 8601). + deprecated: true x-glean-deprecated: id: 2dc3f572-cded-483d-af07-fc9fc7fd0ae4 introduced: "2026-02-05" @@ -7496,51 +8293,49 @@ components: removal: "2026-10-15" x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead" reminderTime: - deprecated: true type: string format: date-time description: The time this person was reminded in ISO format (ISO 8601) if a reminder was sent. + deprecated: true x-glean-deprecated: id: d02d58cf-eb90-45d0-ab90-f7a9d707ae3c introduced: "2026-02-05" message: Use ChannelInviteInfo instead removal: "2026-10-15" x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use ChannelInviteInfo instead" + description: Information regarding the invite status of a person. ReadPermission: - description: Describes the read permission level that a user has for a specific feature properties: scopeType: - $ref: "#/components/schemas/ScopeType" + $ref: '#/components/schemas/ScopeType' + description: Describes the read permission level that a user has for a specific feature ReadPermissions: - description: Describes the read permission levels that a user has for permissioned features. Key must be PermissionedFeatureOrObject additionalProperties: type: array - description: List of read permissions (for different scopes but same feature) items: - $ref: "#/components/schemas/ReadPermission" + $ref: '#/components/schemas/ReadPermission' + description: List of read permissions (for different scopes but same feature) + description: Describes the read permission levels that a user has for permissioned features. Key must be PermissionedFeatureOrObject WritePermissions: - description: Describes the write permissions levels that a user has for permissioned features. Key must be PermissionedFeatureOrObject additionalProperties: type: array - description: List of write permissions (for different scopes but same feature) items: - $ref: "#/components/schemas/WritePermission" + $ref: '#/components/schemas/WritePermission' + description: List of write permissions (for different scopes but same feature) + description: Describes the write permissions levels that a user has for permissioned features. Key must be PermissionedFeatureOrObject GrantPermission: - description: Describes the grant permission level that a user has for a specific feature properties: scopeType: - $ref: "#/components/schemas/ScopeType" + $ref: '#/components/schemas/ScopeType' + description: Describes the grant permission level that a user has for a specific feature GrantPermissions: - description: Describes the grant permission levels that a user has for permissioned features. Key must be PermissionedFeatureOrObject additionalProperties: type: array - description: List of grant permissions (for different scopes but same feature) items: - $ref: "#/components/schemas/GrantPermission" + $ref: '#/components/schemas/GrantPermission' + description: List of grant permissions (for different scopes but same feature) + description: Describes the grant permission levels that a user has for permissioned features. Key must be PermissionedFeatureOrObject Permissions: - description: |- - Describes the permissions levels that a user has for permissioned features. When the client sends this, Permissions.read and Permissions.write are the additional permissions granted to a user on top of what they have via their roles. - When the server sends this, Permissions.read and Permissions.write are the complete (merged) set of permissions the user has, and Permissions.roles is just for display purposes. properties: canAdminSearch: type: boolean @@ -7552,23 +8347,23 @@ components: type: boolean description: TODO--deprecate in favor of the read and write properties. True if the user has access to data loss prevention (DLP) features read: - $ref: "#/components/schemas/ReadPermissions" + $ref: '#/components/schemas/ReadPermissions' write: - $ref: "#/components/schemas/WritePermissions" + $ref: '#/components/schemas/WritePermissions' grant: - $ref: "#/components/schemas/GrantPermissions" + $ref: '#/components/schemas/GrantPermissions' role: type: string description: The roleId of the canonical role a user has. The displayName is equal to the roleId. roles: type: array - description: The roleIds of the roles a user has. items: type: string + description: The roleIds of the roles a user has. + description: |- + Describes the permissions levels that a user has for permissioned features. When the client sends this, Permissions.read and Permissions.write are the additional permissions granted to a user on top of what they have via their roles. + When the server sends this, Permissions.read and Permissions.write are the complete (merged) set of permissions the user has, and Permissions.roles is just for display purposes. TimeInterval: - required: - - start - - end properties: start: type: string @@ -7576,21 +8371,23 @@ components: end: type: string description: The RFC3339 timestamp formatted end time of this event. + required: + - start + - end AnonymousEvent: - description: A generic, light-weight calendar event. type: object properties: time: - $ref: "#/components/schemas/TimeInterval" + $ref: '#/components/schemas/TimeInterval' eventType: - description: The nature of the event, for example "out of office". type: string enum: - DEFAULT - OUT_OF_OFFICE + description: The nature of the event, for example "out of office". + description: A generic, light-weight calendar event. Badge: type: object - description: Displays a user's accomplishment or milestone properties: key: type: string @@ -7599,10 +8396,11 @@ components: type: string description: The badge name displayed to users iconConfig: - $ref: "#/components/schemas/IconConfig" + $ref: '#/components/schemas/IconConfig' pinned: type: boolean description: The badge should be shown on the PersonAttribution + description: Displays a user's accomplishment or milestone example: key: deployment_name_new_hire displayName: New hire @@ -7615,17 +8413,17 @@ components: properties: type: type: string - x-enumDescriptions: - FULL_TIME: The person is a current full-time employee of the company. - CONTRACTOR: The person is a current contractor of the company. - NON_EMPLOYEE: The person object represents a non-human actor such as a service or admin account. - FORMER_EMPLOYEE: The person is a previous employee of the company. enum: - FULL_TIME - CONTRACTOR - NON_EMPLOYEE - FORMER_EMPLOYEE example: FULL_TIME + x-enumDescriptions: + FULL_TIME: The person is a current full-time employee of the company. + CONTRACTOR: The person is a current contractor of the company. + NON_EMPLOYEE: The person object represents a non-human actor such as a service or admin account. + FORMER_EMPLOYEE: The person is a previous employee of the company. x-speakeasy-enum-descriptions: FULL_TIME: The person is a current full-time employee of the company. CONTRACTOR: The person is a current contractor of the company. @@ -7647,10 +8445,10 @@ components: type: string description: An organizational unit where everyone has a similar task, e.g. `Engineering`. teams: - description: Info about the employee's team(s). type: array items: - $ref: "#/components/schemas/PersonTeam" + $ref: '#/components/schemas/PersonTeam' + description: Info about the employee's team(s). departmentCount: type: integer description: The number of people in this person's department. @@ -7659,24 +8457,24 @@ components: description: The user's primary email address aliasEmails: type: array - description: Additional email addresses of this user beyond the primary, if any. items: type: string + description: Additional email addresses of this user beyond the primary, if any. location: type: string description: User facing string representing the person's location. structuredLocation: - $ref: "#/components/schemas/StructuredLocation" + $ref: '#/components/schemas/StructuredLocation' externalProfileLink: type: string description: Link to a customer's internal profile page. This is set to '#' when no link is desired. manager: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' managementChain: - description: The chain of reporting in the company as far up as it goes. The last entry is this person's direct manager. type: array items: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' + description: The chain of reporting in the company as far up as it goes. The last entry is this person's direct manager. phone: type: string description: Phone number as a number string. @@ -7705,11 +8503,11 @@ components: reports: type: array items: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' startDate: type: string - description: The date when the employee started. format: date + description: The date when the employee started. endDate: type: string format: date @@ -7730,24 +8528,24 @@ components: type: string description: The preferred name of the person, or a nickname. socialNetwork: - description: List of social network profiles. type: array items: - $ref: "#/components/schemas/SocialNetwork" + $ref: '#/components/schemas/SocialNetwork' + description: List of social network profiles. datasourceProfile: type: array - description: List of profiles this user has in different datasources / tools that they use. items: - $ref: "#/components/schemas/DatasourceProfile" + $ref: '#/components/schemas/DatasourceProfile' + description: List of profiles this user has in different datasources / tools that they use. querySuggestions: - $ref: "#/components/schemas/QuerySuggestionList" + $ref: '#/components/schemas/QuerySuggestionList' peopleDistance: type: array items: - $ref: "#/components/schemas/PersonDistance" + $ref: '#/components/schemas/PersonDistance' description: List of people and distances to those people from this person. Optionally with metadata. inviteInfo: - $ref: "#/components/schemas/InviteInfo" + $ref: '#/components/schemas/InviteInfo' isSignedUp: type: boolean description: Whether the user has signed into Glean at least once. @@ -7756,12 +8554,12 @@ components: format: date-time description: The last time the user has used the Glean extension in ISO 8601 format. permissions: - $ref: "#/components/schemas/Permissions" + $ref: '#/components/schemas/Permissions' customFields: type: array - description: User customizable fields for additional people information. items: - $ref: "#/components/schemas/CustomFieldData" + $ref: '#/components/schemas/CustomFieldData' + description: User customizable fields for additional people information. loggingId: type: string description: The logging id of the person used in scrubbed logs, tracking GA metrics. @@ -7772,7 +8570,7 @@ components: busyEvents: type: array items: - $ref: "#/components/schemas/AnonymousEvent" + $ref: '#/components/schemas/AnonymousEvent' description: Intervals of busy time for this person, along with the type of event they're busy with. profileBoolSettings: type: object @@ -7782,7 +8580,7 @@ components: badges: type: array items: - $ref: "#/components/schemas/Badge" + $ref: '#/components/schemas/Badge' description: The badges that a user has earned over their lifetime. isOrgRoot: type: boolean @@ -7797,6 +8595,13 @@ components: title: Actor DocumentVisibility: type: string + enum: + - PRIVATE + - SPECIFIC_PEOPLE_AND_GROUPS + - DOMAIN_LINK + - DOMAIN_VISIBLE + - PUBLIC_LINK + - PUBLIC_VISIBLE description: The level of visibility of the document as understood by our system. x-enumDescriptions: PRIVATE: Only one person is able to see the document. @@ -7805,13 +8610,6 @@ components: DOMAIN_VISIBLE: Anyone in the domain can search for the document. PUBLIC_LINK: Anyone with the link can see the document. PUBLIC_VISIBLE: Anyone on the internet can search for the document. - enum: - - PRIVATE - - SPECIFIC_PEOPLE_AND_GROUPS - - DOMAIN_LINK - - DOMAIN_VISIBLE - - PUBLIC_LINK - - PUBLIC_VISIBLE x-speakeasy-enum-descriptions: PRIVATE: Only one person is able to see the document. SPECIFIC_PEOPLE_AND_GROUPS: Only specific people and/or groups can see the document. @@ -7829,22 +8627,22 @@ components: reactors: type: array items: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' reactedByViewer: type: boolean description: Whether the user in context reacted with this type to the document. Share: - description: Search endpoint will only fill out numDays ago since that's all we need to display shared badge; docmetadata endpoint will fill out all the fields so that we can display shared badge tooltip - required: - - numDaysAgo properties: numDaysAgo: type: integer description: The number of days that has passed since the share happened sharer: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' sharingDocument: - $ref: "#/components/schemas/Document" + $ref: '#/components/schemas/Document' + required: + - numDaysAgo + description: Search endpoint will only fill out numDays ago since that's all we need to display shared badge; docmetadata endpoint will fill out all the fields so that we can display shared badge tooltip DocumentInteractions: properties: numComments: @@ -7855,10 +8653,10 @@ components: description: The count of reactions on the document. reactions: type: array - description: To be deprecated in favor of reacts. A (potentially non-exhaustive) list of reactions for the document. - deprecated: true items: type: string + description: To be deprecated in favor of reacts. A (potentially non-exhaustive) list of reactions for the document. + deprecated: true x-glean-deprecated: id: cd754845-6eec-480f-b395-c93478aff563 introduced: "2026-02-05" @@ -7868,14 +8666,14 @@ components: reacts: type: array items: - $ref: "#/components/schemas/Reaction" + $ref: '#/components/schemas/Reaction' shares: type: array items: - $ref: "#/components/schemas/Share" + $ref: '#/components/schemas/Share' description: Describes instances of someone posting a link to this document in one of our indexed datasources. visitorCount: - $ref: "#/components/schemas/CountInfo" + $ref: '#/components/schemas/CountInfo' ViewerInfo: properties: role: @@ -7899,13 +8697,13 @@ components: IndexStatus: properties: lastCrawledTime: - description: When the document was last crawled type: string format: date-time + description: When the document was last crawled lastIndexedTime: - description: When the document was last indexed type: string format: date-time + description: When the document was last indexed DocumentMetadata: properties: datasource: @@ -7946,21 +8744,21 @@ components: type: string format: date-time author: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' owner: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' mentionedPeople: type: array items: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' description: A list of people mentioned in the document. visibility: - $ref: "#/components/schemas/DocumentVisibility" + $ref: '#/components/schemas/DocumentVisibility' components: type: array - description: A list of components this result is associated with. Interpretation is specific to each datasource. (e.g. for Jira issues, these are [components](https://confluence.atlassian.com/jirasoftwarecloud/organizing-work-with-components-764478279.html).) items: type: string + description: A list of components this result is associated with. Interpretation is specific to each datasource. (e.g. for Jira issues, these are [components](https://confluence.atlassian.com/jirasoftwarecloud/organizing-work-with-components-764478279.html).) status: type: string description: The status or disposition of the result. Interpretation is specific to each datasource. (e.g. for Jira issues, this is the issue status such as Done, In Progress or Will Not Fix). @@ -7969,64 +8767,64 @@ components: description: The status category of the result. Meant to be more general than status. Interpretation is specific to each datasource. pins: type: array - description: A list of stars associated with this result. "Pin" is an older name. items: - $ref: "#/components/schemas/PinDocument" + $ref: '#/components/schemas/PinDocument' + description: A list of stars associated with this result. "Pin" is an older name. priority: type: string description: The document priority. Interpretation is datasource specific. assignedTo: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' updatedBy: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' labels: type: array - description: A list of tags for the document. Interpretation is datasource specific. items: type: string + description: A list of tags for the document. Interpretation is datasource specific. collections: type: array - description: A list of collections that the document belongs to. items: - $ref: "#/components/schemas/Collection" + $ref: '#/components/schemas/Collection' + description: A list of collections that the document belongs to. datasourceId: type: string description: The user-visible datasource specific id (e.g. Salesforce case number for example, GitHub PR number). interactions: - $ref: "#/components/schemas/DocumentInteractions" + $ref: '#/components/schemas/DocumentInteractions' verification: - $ref: "#/components/schemas/Verification" + $ref: '#/components/schemas/Verification' viewerInfo: - $ref: "#/components/schemas/ViewerInfo" + $ref: '#/components/schemas/ViewerInfo' permissions: - $ref: "#/components/schemas/ObjectPermissions" + $ref: '#/components/schemas/ObjectPermissions' visitCount: - $ref: "#/components/schemas/CountInfo" + $ref: '#/components/schemas/CountInfo' shortcuts: type: array - description: A list of shortcuts of which destination URL is for the document. items: - $ref: "#/components/schemas/Shortcut" + $ref: '#/components/schemas/Shortcut' + description: A list of shortcuts of which destination URL is for the document. path: type: string description: For file datasources like onedrive/github etc this has the path to the file customData: - $ref: "#/components/schemas/CustomData" + $ref: '#/components/schemas/CustomData' documentCategory: type: string description: The document's document_category(.proto). contactPerson: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' thumbnail: - $ref: "#/components/schemas/Thumbnail" + $ref: '#/components/schemas/Thumbnail' description: A thumbnail image representing this document. indexStatus: - $ref: "#/components/schemas/IndexStatus" + $ref: '#/components/schemas/IndexStatus' ancestors: type: array - description: A list of documents that are ancestors of this document in the hierarchy of the document's datasource, for example parent folders or containers. Ancestors can be of different types and some may not be indexed. Higher level ancestors appear earlier in the list. items: - $ref: "#/components/schemas/Document" + $ref: '#/components/schemas/Document' + description: A list of documents that are ancestors of this document in the hierarchy of the document's datasource, for example parent folders or containers. Ancestors can be of different types and some may not be indexed. Higher level ancestors appear earlier in the list. example: container: container parentId: JIRA_EN-1337 @@ -8060,14 +8858,14 @@ components: type: string example: https://en.wikipedia.org/wiki/Diffuse_sky_radiation document: - deprecated: true + $ref: '#/components/schemas/Document' description: Deprecated. To be gradually migrated to structuredResult. - $ref: "#/components/schemas/Document" + deprecated: true text: type: string example: 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. structuredResult: - $ref: "#/components/schemas/StructuredResult" + $ref: '#/components/schemas/StructuredResult' AnnouncementMutableProperties: properties: startTime: @@ -8082,20 +8880,20 @@ components: type: string description: The headline of the announcement. body: - $ref: "#/components/schemas/StructuredText" + $ref: '#/components/schemas/StructuredText' emoji: type: string description: An emoji used to indicate the nature of the announcement. thumbnail: - $ref: "#/components/schemas/Thumbnail" + $ref: '#/components/schemas/Thumbnail' banner: - $ref: "#/components/schemas/Thumbnail" + $ref: '#/components/schemas/Thumbnail' description: Optional variant of thumbnail cropped for header background. audienceFilters: type: array - description: Filters which restrict who should see the announcement. Values are taken from the corresponding filters in people search. items: - $ref: "#/components/schemas/FacetFilter" + $ref: '#/components/schemas/FacetFilter' + description: Filters which restrict who should see the announcement. Values are taken from the corresponding filters in people search. sourceDocumentId: type: string description: The Glean Document ID of the source document this Announcement was created from (e.g. Slack thread). @@ -8122,7 +8920,7 @@ components: description: URL for viewing the announcement. It will be set to document URL for announcements from other datasources e.g. simpplr. Can only be written when channel="SOCIAL_FEED". CreateAnnouncementRequest: allOf: - - $ref: "#/components/schemas/AnnouncementMutableProperties" + - $ref: '#/components/schemas/AnnouncementMutableProperties' - type: object required: - title @@ -8137,17 +8935,17 @@ components: draftId: 342 Announcement: allOf: - - $ref: "#/components/schemas/AnnouncementMutableProperties" - - $ref: "#/components/schemas/DraftProperties" - - $ref: "#/components/schemas/PermissionedObject" - - $ref: "#/components/schemas/UgcTrackingSignals" + - $ref: '#/components/schemas/AnnouncementMutableProperties' + - $ref: '#/components/schemas/DraftProperties' + - $ref: '#/components/schemas/PermissionedObject' + - $ref: '#/components/schemas/UgcTrackingSignals' - type: object properties: id: type: integer description: The opaque id of the announcement. author: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' createTimestamp: type: integer description: Server Unix timestamp of the creation time (in seconds since epoch UTC). @@ -8155,7 +8953,7 @@ components: type: integer description: Server Unix timestamp of the last update time (in seconds since epoch UTC). updatedBy: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' viewerInfo: type: object properties: @@ -8166,31 +8964,31 @@ components: type: boolean description: Whether the viewer has read the announcement. sourceDocument: - $ref: "#/components/schemas/Document" + $ref: '#/components/schemas/Document' description: The source document if the announcement is created from one. isPublished: type: boolean description: Whether or not the announcement is published. DeleteAnnouncementRequest: - required: - - id properties: id: type: integer description: The opaque id of the announcement to be deleted. + required: + - id UpdateAnnouncementRequest: allOf: - - $ref: "#/components/schemas/AnnouncementMutableProperties" + - $ref: '#/components/schemas/AnnouncementMutableProperties' - type: object + properties: + id: + type: integer + description: The opaque id of the announcement. required: - id - title - startTime - endTime - properties: - id: - type: integer - description: The opaque id of the announcement. AddedCollections: properties: addedCollections: @@ -8200,22 +8998,22 @@ components: description: IDs of Collections to which a document is added. AnswerCreationData: allOf: - - $ref: "#/components/schemas/AnswerMutableProperties" - - $ref: "#/components/schemas/AddedCollections" + - $ref: '#/components/schemas/AnswerMutableProperties' + - $ref: '#/components/schemas/AddedCollections' - type: object properties: combinedAnswerText: - $ref: "#/components/schemas/StructuredTextMutableProperties" + $ref: '#/components/schemas/StructuredTextMutableProperties' CreateAnswerRequest: - required: - - data properties: data: - $ref: "#/components/schemas/AnswerCreationData" + $ref: '#/components/schemas/AnswerCreationData' + required: + - data DeleteAnswerRequest: allOf: - - $ref: "#/components/schemas/AnswerId" - - $ref: "#/components/schemas/AnswerDocId" + - $ref: '#/components/schemas/AnswerId' + - $ref: '#/components/schemas/AnswerDocId' - type: object required: - id @@ -8228,27 +9026,25 @@ components: description: IDs of Collections from which a document is removed. EditAnswerRequest: allOf: - - $ref: "#/components/schemas/AnswerId" - - $ref: "#/components/schemas/AnswerDocId" - - $ref: "#/components/schemas/AnswerMutableProperties" - - $ref: "#/components/schemas/AddedCollections" - - $ref: "#/components/schemas/RemovedCollections" + - $ref: '#/components/schemas/AnswerId' + - $ref: '#/components/schemas/AnswerDocId' + - $ref: '#/components/schemas/AnswerMutableProperties' + - $ref: '#/components/schemas/AddedCollections' + - $ref: '#/components/schemas/RemovedCollections' - type: object - required: - - id properties: combinedAnswerText: - $ref: "#/components/schemas/StructuredTextMutableProperties" + $ref: '#/components/schemas/StructuredTextMutableProperties' + required: + - id GetAnswerRequest: allOf: - - $ref: "#/components/schemas/AnswerId" - - $ref: "#/components/schemas/AnswerDocId" + - $ref: '#/components/schemas/AnswerId' + - $ref: '#/components/schemas/AnswerDocId' AnswerResult: - required: - - answer properties: answer: - $ref: "#/components/schemas/Answer" + $ref: '#/components/schemas/Answer' trackingToken: type: string description: Use `answer.trackingToken` instead. @@ -8259,6 +9055,8 @@ components: message: Use `answer.trackingToken` instead. removal: "2027-01-15" x-speakeasy-deprecation-message: "Deprecated on 2026-05-07, removal scheduled for 2027-01-15: Use `answer.trackingToken` instead." + required: + - answer GetAnswerError: properties: errorType: @@ -8267,37 +9065,37 @@ components: - NO_PERMISSION - INVALID_ID answerAuthor: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' GetAnswerResponse: properties: answerResult: - $ref: "#/components/schemas/AnswerResult" + $ref: '#/components/schemas/AnswerResult' error: - $ref: "#/components/schemas/GetAnswerError" + $ref: '#/components/schemas/GetAnswerError' ListAnswersRequest: properties: boardId: type: integer description: The Answer Board Id to list answers on. ListAnswersResponse: - required: - - answers - - answerResults properties: answerResults: type: array items: - $ref: "#/components/schemas/AnswerResult" + $ref: '#/components/schemas/AnswerResult' description: List of answers with tracking tokens. + required: + - answers + - answerResults AuthStatus: type: string - description: The per-user authorization status for a datasource. enum: - DISABLED - AWAITING_AUTH - AUTHORIZED - STALE_OAUTH - SEG_MIGRATION + description: The per-user authorization status for a datasource. x-enum-varnames: - AUTH_STATUS_DISABLED - AUTH_STATUS_AWAITING_AUTH @@ -8305,8 +9103,6 @@ components: - AUTH_STATUS_STALE_OAUTH - AUTH_STATUS_SEG_MIGRATION UnauthorizedDatasourceInstance: - description: | - A datasource instance that could not return results for this request because the user has not completed or has expired per-user OAuth. properties: datasourceInstance: type: string @@ -8318,48 +9114,56 @@ components: description: Human-readable name of the datasource instance for display. example: Slack authStatus: - $ref: "#/components/schemas/AuthStatus" + $ref: '#/components/schemas/AuthStatus' authUrlRelativePath: type: string description: | Relative path to initiate or resume OAuth for the current user and instance, including a one-time authentication token as a query parameter. Clients should prepend their configured Glean backend base URL. + description: | + A datasource instance that could not return results for this request because the user has not completed or has expired per-user OAuth. CheckDatasourceAuthResponse: - required: - - unauthorizedDatasourceInstances properties: unauthorizedDatasourceInstances: type: array + items: + $ref: '#/components/schemas/UnauthorizedDatasourceInstance' description: | Datasource instances that require per-user OAuth authorization. Empty when all datasources are authorized. - items: - $ref: "#/components/schemas/UnauthorizedDatasourceInstance" - CreateAuthTokenResponse: required: - - token - - expirationTime + - unauthorizedDatasourceInstances + CreateAuthTokenResponse: properties: token: type: string description: An authentication token that can be passed to any endpoint via Bearer Authentication expirationTime: - description: Unix timestamp for when this token expires (in seconds since epoch UTC). type: integer format: int64 + description: Unix timestamp for when this token expires (in seconds since epoch UTC). + required: + - token + - expirationTime ToolSets: type: object - description: The types of tools that the agent is allowed to use. Only works with FAST and ADVANCED `agent` values properties: enableWebSearch: type: boolean - description: "Whether the agent is allowed to use web search (default: true)." + description: 'Whether the agent is allowed to use web search (default: true).' enableCompanyTools: type: boolean - description: "Whether the agent is allowed to search internal company resources (default: true)." + description: 'Whether the agent is allowed to search internal company resources (default: true).' + description: The types of tools that the agent is allowed to use. Only works with FAST and ADVANCED `agent` values AgentConfig: - description: Describes the agent that executes the request. properties: agent: type: string + enum: + - DEFAULT + - GPT + - UNIVERSAL + - FAST + - ADVANCED + - AUTO description: Name of the agent. x-enumDescriptions: DEFAULT: Integrates with your company's knowledge. This will soon be deprecated in favor of the FAST and ADVANCED `agent` values @@ -8368,13 +9172,6 @@ components: FAST: Uses an agent powered by the agentic engine that responds faster but may have lower quality results. Requires the agentic engine to be enabled in the deployment. ADVANCED: Uses an agent powered by the agentic engine that thinks for longer and potentially makes more LLM calls to return higher quality results. Requires the agentic engine to be enabled in the deployment. AUTO: Uses an agent powered by the agentic engine that routes between reasoning efforts based on the question and context. - enum: - - DEFAULT - - GPT - - UNIVERSAL - - FAST - - ADVANCED - - AUTO x-speakeasy-enum-descriptions: DEFAULT: Integrates with your company's knowledge. This will soon be deprecated in favor of the FAST and ADVANCED `agent` values GPT: Communicates directly with the LLM. This will soon be deprecated in favor of the FAST and ADVANCED `agent` values @@ -8383,36 +9180,35 @@ components: ADVANCED: Uses an agent powered by the agentic engine that thinks for longer and potentially makes more LLM calls to return higher quality results. Requires the agentic engine to be enabled in the deployment. AUTO: Uses an agent powered by the agentic engine that routes between reasoning efforts based on the question and context. toolSets: - $ref: "#/components/schemas/ToolSets" + $ref: '#/components/schemas/ToolSets' mode: type: string + enum: + - DEFAULT + - QUICK description: Top level modes to run GleanChat in. x-enumDescriptions: DEFAULT: Used if no mode supplied. QUICK: Deprecated. - enum: - - DEFAULT - - QUICK x-speakeasy-enum-descriptions: DEFAULT: Used if no mode supplied. QUICK: Deprecated. useImageGeneration: type: boolean description: Whether the agent should create an image. + description: Describes the agent that executes the request. ChatFileStatus: type: string - description: Current status of the file. - x-include-enum-class-prefix: true enum: - PROCESSING - PROCESSED - PARTIALLY_PROCESSED - FAILED - DELETED + description: Current status of the file. + x-include-enum-class-prefix: true ChatFileFailureReason: type: string - description: Reason for failed status. - x-include-enum-class-prefix: true enum: - PARSE_FAILED - AV_SCAN_FAILED @@ -8425,12 +9221,13 @@ components: - URL_FETCH_FAILED - EMPTY_CONTENT - AUTH_REQUIRED + description: Reason for failed status. + x-include-enum-class-prefix: true ChatFileMetadata: type: object - description: Metadata of a file uploaded by a user for Chat. properties: status: - $ref: "#/components/schemas/ChatFileStatus" + $ref: '#/components/schemas/ChatFileStatus' uploadTime: type: integer format: int64 @@ -8440,13 +9237,13 @@ components: format: int64 description: Size of the processed file in bytes. failureReason: - $ref: "#/components/schemas/ChatFileFailureReason" + $ref: '#/components/schemas/ChatFileFailureReason' mimeType: - description: MIME type of the file. type: string + description: MIME type of the file. + description: Metadata of a file uploaded by a user for Chat. ChatFile: type: object - description: Structure for file uploaded by a user for Chat. properties: id: type: string @@ -8461,38 +9258,39 @@ components: description: Name of the uploaded file. example: sample.pdf metadata: - $ref: "#/components/schemas/ChatFileMetadata" + $ref: '#/components/schemas/ChatFileMetadata' + description: Structure for file uploaded by a user for Chat. ReferenceRange: - description: Each text range from the response can correspond to an array of snippets from the citation source. properties: textRange: - $ref: "#/components/schemas/TextRange" + $ref: '#/components/schemas/TextRange' snippets: type: array items: - $ref: "#/components/schemas/SearchResultSnippet" + $ref: '#/components/schemas/SearchResultSnippet' + description: Each text range from the response can correspond to an array of snippets from the citation source. ChatMessageCitation: - description: Information about the source for a ChatMessage. properties: trackingToken: type: string description: An opaque token that represents this particular result in this particular ChatMessage. To be used for /feedback reporting. sourceDocument: - $ref: "#/components/schemas/Document" + $ref: '#/components/schemas/Document' sourceFile: - $ref: "#/components/schemas/ChatFile" + $ref: '#/components/schemas/ChatFile' sourcePerson: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' sourceCustomEntity: - $ref: "#/components/schemas/CustomEntity" + $ref: '#/components/schemas/CustomEntity' referenceRanges: - description: Each reference range and its corresponding snippets type: array items: - $ref: "#/components/schemas/ReferenceRange" + $ref: '#/components/schemas/ReferenceRange' + description: Each reference range and its corresponding snippets + description: Information about the source for a ChatMessage. displayName: - description: Human understandable name of the tool. Max 50 characters. type: string + description: Human understandable name of the tool. Max 50 characters. logoUrl: type: string description: URL used to fetch the logo. @@ -8504,9 +9302,6 @@ components: - Email - Chat message PersonObject: - required: - - name - - obfuscatedId properties: name: type: string @@ -8514,8 +9309,10 @@ components: obfuscatedId: type: string description: An opaque identifier that can be used to request metadata for a Person. + required: + - name + - obfuscatedId AuthConfig: - description: Config for tool's authentication method. type: object properties: isOnPrem: @@ -8547,11 +9344,11 @@ components: description: The type of grant type being used. status: type: string - description: Auth status of the tool. enum: - AWAITING_AUTH - AUTHORIZED - AUTH_DISABLED + description: Auth status of the tool. client_url: type: string format: url @@ -8585,46 +9382,41 @@ components: type: string format: date-time description: The time the tool was last authorized in ISO format (ISO 8601). + description: Config for tool's authentication method. ToolMetadata: - description: The manifest for a tool that can be used to augment Glean Assistant. - required: - - type - - name - - displayName - - displayDescription properties: type: - description: The type of tool. type: string enum: - RETRIEVAL - ACTION + description: The type of tool. name: - description: Unique identifier for the tool. Name should be understandable by the LLM, and will be used to invoke a tool. type: string + description: Unique identifier for the tool. Name should be understandable by the LLM, and will be used to invoke a tool. displayName: - $ref: "#/components/schemas/displayName" + $ref: '#/components/schemas/displayName' toolId: type: string description: An opaque id which is unique identifier for the tool. displayDescription: - description: Description of the tool meant for a human. type: string + description: Description of the tool meant for a human. logoUrl: - $ref: "#/components/schemas/logoUrl" + $ref: '#/components/schemas/logoUrl' objectName: - $ref: "#/components/schemas/objectName" + $ref: '#/components/schemas/objectName' knowledgeType: type: string - description: Indicates the kind of knowledge a tool would access or modify. enum: - NEUTRAL_KNOWLEDGE - COMPANY_KNOWLEDGE - WORLD_KNOWLEDGE + description: Indicates the kind of knowledge a tool would access or modify. createdBy: - $ref: "#/components/schemas/PersonObject" + $ref: '#/components/schemas/PersonObject' lastUpdatedBy: - $ref: "#/components/schemas/PersonObject" + $ref: '#/components/schemas/PersonObject' createdAt: type: string format: date-time @@ -8635,11 +9427,11 @@ components: description: The time the tool was last updated in ISO format (ISO 8601) writeActionType: type: string - description: Valid only for write actions. Represents the type of write action. REDIRECT - The client renders the URL which contains information for carrying out the action. EXECUTION - Send a request to an external server and execute the action. MCP - Send a tools/call request to an MCP server to execute the action. enum: - REDIRECT - EXECUTION - MCP + description: Valid only for write actions. Represents the type of write action. REDIRECT - The client renders the URL which contains information for carrying out the action. EXECUTION - Send a request to an external server and execute the action. MCP - Send a tools/call request to an MCP server to execute the action. authType: type: string enum: @@ -8656,20 +9448,25 @@ components: 'OAUTH_USER' uses individual user tokens for external API calls. 'DWD' refers to domain wide delegation. auth: + $ref: '#/components/schemas/AuthConfig' deprecated: true - $ref: "#/components/schemas/AuthConfig" permissions: + $ref: '#/components/schemas/ObjectPermissions' deprecated: true - $ref: "#/components/schemas/ObjectPermissions" usageInstructions: - description: Usage instructions for the LLM to use this action. type: string + description: Usage instructions for the LLM to use this action. isSetupFinished: type: boolean description: Whether this action has been fully configured and validated. + required: + - type + - name + - displayName + - displayDescription + description: The manifest for a tool that can be used to augment Glean Assistant. PossibleValue: type: object - description: Possible value of a specific parameter properties: value: type: string @@ -8677,17 +9474,18 @@ components: label: type: string description: User-friendly label associated with the value + description: Possible value of a specific parameter WriteActionParameter: type: object properties: type: type: string - description: The type of the value (e.g., integer, string, boolean, etc.) enum: - UNKNOWN - INTEGER - STRING - BOOLEAN + description: The type of the value (e.g., integer, string, boolean, etc.) displayName: type: string description: Human readable display name for the key. @@ -8703,54 +9501,53 @@ components: possibleValues: type: array items: - $ref: "#/components/schemas/PossibleValue" + $ref: '#/components/schemas/PossibleValue' description: Possible values that the parameter can take. ToolInfo: type: object properties: metadata: - $ref: "#/components/schemas/ToolMetadata" + $ref: '#/components/schemas/ToolMetadata' parameters: type: object - description: Parameters supported by the tool. additionalProperties: - $ref: "#/components/schemas/WriteActionParameter" + $ref: '#/components/schemas/WriteActionParameter' + description: Parameters supported by the tool. ChatMessageFragment: - description: Represents a part of a ChatMessage that originates from a single action/tool. It is designed to support rich data formats beyond simple text, allowing for a more dynamic and interactive chat experience. Each fragment can include various types of content, such as text, search queries, action information, and more. Also, each ChatMessageFragment should only have one of structuredResults, querySuggestion, writeAction, followupAction, agentRecommendation, followupRoutingSuggestion or file. allOf: - - $ref: "#/components/schemas/Result" + - $ref: '#/components/schemas/Result' - type: object properties: text: type: string querySuggestion: + $ref: '#/components/schemas/QuerySuggestion' description: The search queries issued while responding. - $ref: "#/components/schemas/QuerySuggestion" file: + $ref: '#/components/schemas/ChatFile' description: Files referenced in the message fragment. This is used to construct rich-text messages with file references. - $ref: "#/components/schemas/ChatFile" action: + $ref: '#/components/schemas/ToolInfo' description: Basic information about an action. This can be used to construct rich-text messages with action references. - $ref: "#/components/schemas/ToolInfo" citation: + $ref: '#/components/schemas/ChatMessageCitation' description: Inline citation. - $ref: "#/components/schemas/ChatMessageCitation" + description: Represents a part of a ChatMessage that originates from a single action/tool. It is designed to support rich data formats beyond simple text, allowing for a more dynamic and interactive chat experience. Each fragment can include various types of content, such as text, search queries, action information, and more. Also, each ChatMessageFragment should only have one of structuredResults, querySuggestion, writeAction, followupAction, agentRecommendation, followupRoutingSuggestion or file. ChatMessage: - description: A message that is rendered as one coherent unit with one given sender. properties: agentConfig: - $ref: "#/components/schemas/AgentConfig" + $ref: '#/components/schemas/AgentConfig' description: Describes the agent config that generated this message. Populated on responses and not required on requests. author: - default: USER enum: - USER - GLEAN_AI + default: USER citations: type: array items: - $ref: "#/components/schemas/ChatMessageCitation" - description: "Deprecated: Use inline citations via ChatMessageFragment.citation instead. For detailed reference information, use ChatMessageCitation.referenceRanges. This field is still populated for backward compatibility." + $ref: '#/components/schemas/ChatMessageCitation' + description: 'Deprecated: Use inline citations via ChatMessageFragment.citation instead. For detailed reference information, use ChatMessageCitation.referenceRanges. This field is still populated for backward compatibility.' deprecated: true x-glean-deprecated: id: 6446f85e-c90e-4c00-9717-796f9db3dc61 @@ -8765,9 +9562,9 @@ components: description: IDs of files uploaded in the message that are referenced to generate the answer. fragments: type: array - description: A list of rich data used to represent the response or formulate a request. These are linearly stitched together to support richer data formats beyond simple text. items: - $ref: "#/components/schemas/ChatMessageFragment" + $ref: '#/components/schemas/ChatMessageFragment' + description: A list of rich data used to represent the response or formulate a request. These are linearly stitched together to support richer data formats beyond simple text. ts: type: string description: Response timestamp of the message. @@ -8779,8 +9576,24 @@ components: description: Opaque tracking token generated server-side. messageType: type: string - default: CONTENT + enum: + - UPDATE + - CONTENT + - CONTEXT + - CONTROL + - CONTROL_START + - CONTROL_FINISH + - CONTROL_CANCEL + - CONTROL_RETRY + - CONTROL_UNKNOWN + - DEBUG + - DEBUG_EXTERNAL + - ERROR + - HEADING + - WARNING + - SERVER_TOOL description: Semantically groups content of a certain type. It can be used for purposes such as differential UI treatment. USER authored messages should be of type CONTENT and do not need `messageType` specified. + default: CONTENT x-enumDescriptions: UPDATE: An intermediate state message for progress updates. CONTENT: A user query or response message. @@ -8797,22 +9610,6 @@ components: HEADING: A heading message used to distinguish different sections of the holistic response. WARNING: A warning message to be shown to the user. SERVER_TOOL: A message used to for server-side tool auth/use, for request and response. - enum: - - UPDATE - - CONTENT - - CONTEXT - - CONTROL - - CONTROL_START - - CONTROL_FINISH - - CONTROL_CANCEL - - CONTROL_RETRY - - CONTROL_UNKNOWN - - DEBUG - - DEBUG_EXTERNAL - - ERROR - - HEADING - - WARNING - - SERVER_TOOL x-speakeasy-enum-descriptions: UPDATE: An intermediate state message for progress updates. CONTENT: A user query or response message. @@ -8830,22 +9627,20 @@ components: WARNING: A warning message to be shown to the user. SERVER_TOOL: A message used to for server-side tool auth/use, for request and response. hasMoreFragments: - deprecated: true type: boolean description: Signals there are additional response fragments incoming. + deprecated: true + description: A message that is rendered as one coherent unit with one given sender. ChatRequestBase: - required: - - messages - description: The minimal set of fields that form a chat request. properties: messages: type: array - description: A list of chat messages, from most recent to least recent. At least one message must specify a USER author. items: - $ref: "#/components/schemas/ChatMessage" + $ref: '#/components/schemas/ChatMessage' + description: A list of chat messages, from most recent to least recent. At least one message must specify a USER author. sessionInfo: + $ref: '#/components/schemas/SessionInfo' description: Optional object for tracking the session used by the client and for debugging purposes. - $ref: "#/components/schemas/SessionInfo" saveChat: type: boolean description: Save the current interaction as a Chat for the user to access and potentially continue later. @@ -8853,31 +9648,34 @@ components: type: string description: The id of the Chat that context should be retrieved from and messages added to. An empty id starts a new Chat, and the Chat is saved if saveChat is true. agentConfig: - $ref: "#/components/schemas/AgentConfig" + $ref: '#/components/schemas/AgentConfig' description: Describes the agent that will execute the request. + required: + - messages + description: The minimal set of fields that form a chat request. ChatRestrictionFilters: allOf: - - $ref: "#/components/schemas/RestrictionFilters" + - $ref: '#/components/schemas/RestrictionFilters' - type: object properties: documentSpecs: type: array items: - $ref: "#/components/schemas/DocumentSpec" + $ref: '#/components/schemas/DocumentSpec' datasourceInstances: type: array items: type: string ChatRequest: allOf: - - $ref: "#/components/schemas/ChatRequestBase" + - $ref: '#/components/schemas/ChatRequestBase' - type: object properties: inclusions: - $ref: "#/components/schemas/ChatRestrictionFilters" + $ref: '#/components/schemas/ChatRestrictionFilters' description: A list of filters which only allows chat to access certain content. exclusions: - $ref: "#/components/schemas/ChatRestrictionFilters" + $ref: '#/components/schemas/ChatRestrictionFilters' description: A list of filters which disallows chat from accessing certain content. If content is in both inclusions and exclusions, it'll be excluded. timeoutMillis: type: integer @@ -8893,17 +9691,16 @@ components: type: boolean description: If set, response lines will be streamed one-by-one as they become available. Each will be a ChatResponse, formatted as JSON, and separated by a new line. If false, the entire response will be returned at once. Note that if this is set and the model being used does not support streaming, the model's response will not be streamed, but other messages from the endpoint still will be. ChatResponse: - description: A single response from the /chat backend. properties: messages: type: array items: - $ref: "#/components/schemas/ChatMessage" + $ref: '#/components/schemas/ChatMessage' chatId: type: string description: The id of the associated Chat the messages belong to, if one exists. chat: - $ref: "#/components/schemas/ChatMetadata" + $ref: '#/components/schemas/ChatMetadata' followUpPrompts: type: array items: @@ -8917,53 +9714,54 @@ components: chatSessionTrackingToken: type: string description: A token that is used to track the session. + description: A single response from the /chat backend. DeleteChatsRequest: - required: - - ids properties: ids: type: array items: type: string description: A non-empty list of ids of the Chats to be deleted. - GetChatRequest: required: - - id + - ids + GetChatRequest: properties: id: type: string description: The id of the Chat to be retrieved. + required: + - id Chat: - description: A historical representation of a series of chat messages a user had with Glean Assistant. allOf: - - $ref: "#/components/schemas/ChatMetadata" - - $ref: "#/components/schemas/PermissionedObject" + - $ref: '#/components/schemas/ChatMetadata' + - $ref: '#/components/schemas/PermissionedObject' properties: messages: type: array items: - $ref: "#/components/schemas/ChatMessage" + $ref: '#/components/schemas/ChatMessage' description: The chat messages within a Chat. roles: type: array items: - $ref: "#/components/schemas/UserRoleSpecification" + $ref: '#/components/schemas/UserRoleSpecification' description: A list of roles for this Chat. + description: A historical representation of a series of chat messages a user had with Glean Assistant. ChatResult: properties: chat: - $ref: "#/components/schemas/Chat" + $ref: '#/components/schemas/Chat' trackingToken: type: string description: An opaque token that represents this particular Chat. To be used for `/feedback` reporting. GetChatResponse: properties: chatResult: - $ref: "#/components/schemas/ChatResult" + $ref: '#/components/schemas/ChatResult' ChatMetadataResult: properties: chat: - $ref: "#/components/schemas/ChatMetadata" + $ref: '#/components/schemas/ChatMetadata' trackingToken: type: string description: An opaque token that represents this particular Chat. To be used for `/feedback` reporting. @@ -8972,26 +9770,24 @@ components: chatResults: type: array items: - $ref: "#/components/schemas/ChatMetadataResult" + $ref: '#/components/schemas/ChatMetadataResult' x-includeEmpty: true cursor: type: string description: An opaque cursor for fetching the next page of results. If empty, there are no more results. GetChatApplicationRequest: - required: - - id properties: id: type: string description: The id of the Chat application to be retrieved. + required: + - id ChatApplicationDetails: {} GetChatApplicationResponse: properties: application: - $ref: "#/components/schemas/ChatApplicationDetails" + $ref: '#/components/schemas/ChatApplicationDetails' UploadChatFilesRequest: - required: - - files properties: files: type: array @@ -8999,38 +9795,40 @@ components: type: string format: binary description: Raw files to be uploaded for chat in binary format. + required: + - files UploadChatFilesResponse: properties: files: type: array items: - $ref: "#/components/schemas/ChatFile" + $ref: '#/components/schemas/ChatFile' description: Files uploaded for chat. GetChatFilesRequest: - required: - - fileIds properties: fileIds: type: array items: type: string description: IDs of files to fetch. + required: + - fileIds GetChatFilesResponse: properties: files: - description: A map of file IDs to ChatFile structs. type: object additionalProperties: - $ref: "#/components/schemas/ChatFile" + $ref: '#/components/schemas/ChatFile' + description: A map of file IDs to ChatFile structs. DeleteChatFilesRequest: - required: - - fileIds properties: fileIds: type: array items: type: string description: IDs of files to delete. + required: + - fileIds WorkflowDraftableProperties: properties: name: @@ -9039,11 +9837,11 @@ components: WorkflowMutableProperties: type: object allOf: - - $ref: "#/components/schemas/WorkflowDraftableProperties" + - $ref: '#/components/schemas/WorkflowDraftableProperties' - type: object CreateWorkflowRequest: allOf: - - $ref: "#/components/schemas/WorkflowMutableProperties" + - $ref: '#/components/schemas/WorkflowMutableProperties' - type: object properties: transient: @@ -9057,7 +9855,7 @@ components: - type: object properties: author: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' createTimestamp: type: integer description: Server Unix timestamp of the creation time. @@ -9068,20 +9866,20 @@ components: type: integer description: Server Unix timestamp of the last time the draft was saved. lastDraftSavedBy: + $ref: '#/components/schemas/Person' description: The person who last saved the draft. - $ref: "#/components/schemas/Person" lastDraftGitAuthorId: type: string description: ID of the VCS user (e.g. GitHub username) who last saved the draft. Set only by the draft save path via the external Git integration API. lastUpdatedBy: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' AttributionProperties: {} Workflow: allOf: - - $ref: "#/components/schemas/PermissionedObject" - - $ref: "#/components/schemas/WorkflowMutableProperties" - - $ref: "#/components/schemas/WorkflowMetadata" - - $ref: "#/components/schemas/AttributionProperties" + - $ref: '#/components/schemas/PermissionedObject' + - $ref: '#/components/schemas/WorkflowMutableProperties' + - $ref: '#/components/schemas/WorkflowMetadata' + - $ref: '#/components/schemas/AttributionProperties' - type: object properties: id: @@ -9089,29 +9887,24 @@ components: description: The ID of the workflow. verified: type: boolean - readOnly: true description: When present, indicates this workflow is admin-verified. Set via the dedicated admin settings endpoint, not by regular edits. + readOnly: true showOrganizationAsAuthor: type: boolean - readOnly: true description: When true, displays organization name instead of author name in agent card. Set via the dedicated admin settings endpoint, not by regular edits. + readOnly: true WorkflowResult: type: object - required: - - workflow properties: workflow: - $ref: "#/components/schemas/Workflow" + $ref: '#/components/schemas/Workflow' + required: + - workflow CreateWorkflowResponse: allOf: - - $ref: "#/components/schemas/WorkflowResult" + - $ref: '#/components/schemas/WorkflowResult' Agent: - title: Agent type: object - required: - - agent_id - - name - - capabilities properties: agent_id: type: string @@ -9134,12 +9927,6 @@ components: description: The agent metadata. Currently not implemented. capabilities: type: object - title: Agent Capabilities - description: |- - Describes features that the agent supports. example: { - "ap.io.messages": true, - "ap.io.streaming": true - } properties: ap.io.messages: type: boolean @@ -9149,17 +9936,28 @@ components: type: boolean title: Streaming description: Whether the agent supports streaming output. If true, you you can stream agent ouput. All agents currently support streaming. + title: Agent Capabilities additionalProperties: true + description: |- + Describes features that the agent supports. example: { + "ap.io.messages": true, + "ap.io.streaming": true + } + title: Agent + required: + - agent_id + - name + - capabilities ErrorResponse: type: object - description: Error response returned for failed requests properties: message: type: string description: Client-facing error message describing what went wrong + description: Error response returned for failed requests EditWorkflowRequest: allOf: - - $ref: "#/components/schemas/WorkflowMutableProperties" + - $ref: '#/components/schemas/WorkflowMutableProperties' - type: object properties: id: @@ -9167,10 +9965,6 @@ components: description: The workflow ID we want to update. ActionSummary: type: object - description: Represents a minimal summary of an action. - required: - - tool_id - - display_name properties: tool_id: type: string @@ -9203,7 +9997,12 @@ components: Neutral knowledge: - Native tools that don't access or modify content via APIs (e.g., file analyst, think) - Platform read or write tools (creator has to determine their knowledge implications) + required: + - tool_id + - display_name + description: Represents a minimal summary of an action. AgentSchemas: + type: object properties: agent_id: type: string @@ -9225,16 +10024,15 @@ components: description: The schema for the agent output. In JSON Schema format. tools: type: array + items: + $ref: '#/components/schemas/ActionSummary' title: Tools description: List of tools that the agent can invoke. Only included when include_tools query parameter is set to true. - items: - $ref: "#/components/schemas/ActionSummary" - type: object + title: AgentSchemas required: - agent_id - input_schema - output_schema - title: AgentSchemas description: Defines the structure and properties of an agent. SearchAgentsRequest: type: object @@ -9245,12 +10043,12 @@ components: example: HR Policy Agent SearchAgentsResponse: type: object - title: Response Search Agents properties: agents: type: array items: - $ref: "#/components/schemas/Agent" + $ref: '#/components/schemas/Agent' + title: Response Search Agents ContentType: type: string enum: @@ -9264,8 +10062,6 @@ components: description: The role of the message. example: USER content: - title: Content - description: The content of the message. type: array items: type: object @@ -9273,16 +10069,15 @@ components: text: type: string type: - $ref: "#/components/schemas/ContentType" + $ref: '#/components/schemas/ContentType' + title: MessageTextBlock required: - text - type - title: MessageTextBlock + title: Content + description: The content of the message. AgentRunCreate: - description: "Payload for creating a run. **Important**: If the agent uses an input form trigger, the `input` field is required and must include all fields defined in the form schema. Even fields marked as optional in the UI must be included in the request—use an empty string (`\"\"`) for optional fields without values. Omitting required form fields will result in a 500 error." type: object - required: - - agent_id properties: agent_id: type: string @@ -9291,49 +10086,52 @@ components: input: type: object title: Input - description: The input to the agent. Required when the agent uses an input form trigger. additionalProperties: true + description: The input to the agent. Required when the agent uses an input form trigger. messages: type: array items: - $ref: "#/components/schemas/Message" + $ref: '#/components/schemas/Message' title: Messages description: The messages to pass an input to the agent. metadata: type: object title: Metadata - description: The metadata to pass to the agent. additionalProperties: true + description: The metadata to pass to the agent. + required: + - agent_id + description: 'Payload for creating a run. **Important**: If the agent uses an input form trigger, the `input` field is required and must include all fields defined in the form schema. Even fields marked as optional in the UI must be included in the request—use an empty string (`""`) for optional fields without values. Omitting required form fields will result in a 500 error.' AgentExecutionStatus: - description: The status of the run. One of 'error', 'success'. type: string + title: AgentExecutionStatus enum: - error - success - title: AgentExecutionStatus + description: The status of the run. One of 'error', 'success'. AgentRun: allOf: - - $ref: "#/components/schemas/AgentRunCreate" + - $ref: '#/components/schemas/AgentRunCreate' - type: object properties: status: - $ref: "#/components/schemas/AgentExecutionStatus" + $ref: '#/components/schemas/AgentExecutionStatus' AgentRunWaitResponse: type: object properties: run: - $ref: "#/components/schemas/AgentRun" + $ref: '#/components/schemas/AgentRun' title: Run description: The run information. messages: type: array items: - $ref: "#/components/schemas/Message" + $ref: '#/components/schemas/Message' title: Messages description: The messages returned by the run. CollectionItemDescriptor: allOf: - - $ref: "#/components/schemas/CollectionItemMutableProperties" + - $ref: '#/components/schemas/CollectionItemMutableProperties' properties: url: type: string @@ -9351,8 +10149,6 @@ components: - TEXT - URL AddCollectionItemsRequest: - required: - - collectionId properties: collectionId: type: number @@ -9360,8 +10156,10 @@ components: addedCollectionItemDescriptors: type: array items: - $ref: "#/components/schemas/CollectionItemDescriptor" + $ref: '#/components/schemas/CollectionItemDescriptor' description: The CollectionItemDescriptors of the items being added. + required: + - collectionId AddCollectionItemsError: properties: errorType: @@ -9372,21 +10170,19 @@ components: AddCollectionItemsResponse: properties: collection: - $ref: "#/components/schemas/Collection" + $ref: '#/components/schemas/Collection' description: The modified Collection. Only CollectionItemMutableProperties are set for each item. error: - $ref: "#/components/schemas/AddCollectionItemsError" + $ref: '#/components/schemas/AddCollectionItemsError' CreateCollectionRequest: allOf: - - $ref: "#/components/schemas/CollectionMutableProperties" + - $ref: '#/components/schemas/CollectionMutableProperties' - type: object properties: newNextItemId: type: string description: The (optional) ItemId of the next CollectionItem in sequence. If omitted, will be added to the end of the Collection. Only used if parentId is specified. CollectionError: - required: - - errorCode properties: errorCode: type: string @@ -9399,6 +10195,8 @@ components: - WIDTH_VIOLATION - NO_PERMISSIONS - CORRUPT_ITEM + required: + - errorCode CreateCollectionResponse: allOf: - type: object @@ -9409,12 +10207,10 @@ components: - error properties: collection: - $ref: "#/components/schemas/Collection" + $ref: '#/components/schemas/Collection' error: - $ref: "#/components/schemas/CollectionError" + $ref: '#/components/schemas/CollectionError' DeleteCollectionRequest: - required: - - ids properties: ids: type: array @@ -9424,10 +10220,9 @@ components: allowedDatasource: type: string description: The datasource allowed in the Collection to be deleted. - DeleteCollectionItemRequest: required: - - collectionId - - itemId + - ids + DeleteCollectionItemRequest: properties: collectionId: type: number @@ -9438,37 +10233,37 @@ components: documentId: type: string description: The (optional) Glean Document ID of the CollectionItem to remove from this Collection if this is an indexed document. + required: + - collectionId + - itemId DeleteCollectionItemResponse: properties: collection: - $ref: "#/components/schemas/Collection" + $ref: '#/components/schemas/Collection' description: The modified Collection. Only CollectionItemMutableProperties are set for each item. EditCollectionRequest: allOf: - - $ref: "#/components/schemas/CollectionMutableProperties" + - $ref: '#/components/schemas/CollectionMutableProperties' - type: object - required: - - id properties: id: type: integer description: The ID of the Collection to modify. + required: + - id EditCollectionResponse: allOf: - - $ref: "#/components/schemas/Collection" - - $ref: "#/components/schemas/CollectionError" + - $ref: '#/components/schemas/Collection' + - $ref: '#/components/schemas/CollectionError' - type: object properties: collection: - $ref: "#/components/schemas/Collection" + $ref: '#/components/schemas/Collection' error: - $ref: "#/components/schemas/CollectionError" + $ref: '#/components/schemas/CollectionError' EditCollectionItemRequest: - required: - - collectionId - - itemId allOf: - - $ref: "#/components/schemas/CollectionItemMutableProperties" + - $ref: '#/components/schemas/CollectionItemMutableProperties' - type: object properties: collectionId: @@ -9477,14 +10272,15 @@ components: itemId: type: string description: The ID of the CollectionItem to edit. + required: + - collectionId + - itemId EditCollectionItemResponse: properties: collection: - $ref: "#/components/schemas/Collection" + $ref: '#/components/schemas/Collection' description: The modified Collection. Only CollectionItemMutableProperties are set for each item. GetCollectionRequest: - required: - - id properties: id: type: integer @@ -9498,14 +10294,16 @@ components: allowedDatasource: type: string description: The datasource allowed in the Collection returned. + required: + - id GetCollectionResponse: properties: collection: - $ref: "#/components/schemas/Collection" + $ref: '#/components/schemas/Collection' rootCollection: - $ref: "#/components/schemas/Collection" + $ref: '#/components/schemas/Collection' error: - $ref: "#/components/schemas/CollectionError" + $ref: '#/components/schemas/CollectionError' trackingToken: type: string description: Use `collection.trackingToken` instead. @@ -9530,14 +10328,14 @@ components: The datasource type this Collection can hold. ANSWERS - for Collections representing answer boards ListCollectionsResponse: - required: - - collections properties: collections: type: array items: - $ref: "#/components/schemas/Collection" + $ref: '#/components/schemas/Collection' description: List of all Collections, no Collection items are fetched. + required: + - collections GetDocPermissionsRequest: type: object properties: @@ -9553,16 +10351,13 @@ components: type: string description: A list of emails of users who have access to the document. If the document is visible to all Glean users, a list with only a single value of 'VISIBLE_TO_ALL'. GetDocumentsRequest: - required: - - documentSpecs properties: documentSpecs: type: array items: - $ref: "#/components/schemas/DocumentSpec" + $ref: '#/components/schemas/DocumentSpec' description: The specification for the documents to be retrieved. includeFields: - description: List of Document fields to return (that aren't returned by default) type: array items: type: string @@ -9572,28 +10367,29 @@ components: - RECENT_SHARES - DOCUMENT_CONTENT - CUSTOM_METADATA + description: List of Document fields to return (that aren't returned by default) + required: + - documentSpecs DocumentOrError: - x-omit-error-on-success: true oneOf: - - $ref: "#/components/schemas/Document" + - $ref: '#/components/schemas/Document' - type: object - required: - - error properties: error: type: string description: The text for error, reason. x-is-error-field: true + required: + - error + x-omit-error-on-success: true GetDocumentsResponse: properties: documents: type: object additionalProperties: - $ref: "#/components/schemas/DocumentOrError" + $ref: '#/components/schemas/DocumentOrError' description: The document details or the error if document is not found. GetDocumentsByFacetsRequest: - required: - - filterSets properties: datasourcesFilter: type: array @@ -9603,17 +10399,19 @@ components: filterSets: type: array items: - $ref: "#/components/schemas/FacetFilterSet" + $ref: '#/components/schemas/FacetFilterSet' description: A list of facet filter sets that will be OR'ed together. An AND is assumed between different filters in each set. cursor: type: string description: Pagination cursor. A previously received opaque token representing the position in the overall results at which to start. + required: + - filterSets GetDocumentsByFacetsResponse: properties: documents: type: array items: - $ref: "#/components/schemas/Document" + $ref: '#/components/schemas/Document' description: The document details, ordered by score. hasMoreResults: type: boolean @@ -9634,7 +10432,7 @@ components: type: string description: Manager emails whose teams should be filtered for. Empty array means no filtering. dayRange: - $ref: "#/components/schemas/Period" + $ref: '#/components/schemas/Period' description: Time period for which Insights are requested. InsightsAssistantRequest: properties: @@ -9649,7 +10447,7 @@ components: type: string description: Manager emails whose teams should be filtered for. Empty array means no filtering. dayRange: - $ref: "#/components/schemas/Period" + $ref: '#/components/schemas/Period' description: Time period for which Insights are requested. AgentsInsightsV2Request: properties: @@ -9669,7 +10467,7 @@ components: type: string description: Manager emails whose teams should be filtered for. Empty array means no filtering. dayRange: - $ref: "#/components/schemas/Period" + $ref: '#/components/schemas/Period' description: Time period for which Insights are requested. McpInsightsRequest: properties: @@ -9689,7 +10487,7 @@ components: type: string description: Manager emails whose teams should be filtered for. Empty array means no filtering. dayRange: - $ref: "#/components/schemas/Period" + $ref: '#/components/schemas/Period' description: Time period for which Insights are requested. McpBreakdownInsightsRequest: properties: @@ -9709,7 +10507,7 @@ components: type: string description: Manager emails whose teams should be filtered for. Empty array means no filtering. dayRange: - $ref: "#/components/schemas/Period" + $ref: '#/components/schemas/Period' description: Time period for which Insights are requested. breakdownType: type: string @@ -9737,32 +10535,29 @@ components: InsightsRequest: properties: overviewRequest: - $ref: "#/components/schemas/InsightsOverviewRequest" - x-visibility: Public + $ref: '#/components/schemas/InsightsOverviewRequest' description: If specified, will return data for the Overview section of the Insights Dashboard. - assistantRequest: - $ref: "#/components/schemas/InsightsAssistantRequest" x-visibility: Public + assistantRequest: + $ref: '#/components/schemas/InsightsAssistantRequest' description: If specified, will return data for the Assistant section of the Insights Dashboard. - agentsRequest: - $ref: "#/components/schemas/AgentsInsightsV2Request" x-visibility: Public + agentsRequest: + $ref: '#/components/schemas/AgentsInsightsV2Request' description: If specified, will return data for the Agents section of the Insights Dashboard. + x-visibility: Public mcpRequest: - $ref: "#/components/schemas/McpInsightsRequest" + $ref: '#/components/schemas/McpInsightsRequest' description: If specified, will return data for the MCP section of the Insights Dashboard. mcpBreakdownRequest: - $ref: "#/components/schemas/McpBreakdownInsightsRequest" + $ref: '#/components/schemas/McpBreakdownInsightsRequest' disablePerUserInsights: type: boolean description: If true, suppresses the generation of per-user Insights in the response. Default is false. UserActivityInsight: - required: - - user - - activity properties: user: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' activity: type: string enum: @@ -9773,9 +10568,12 @@ components: type: integer description: Unix timestamp of the last activity (in seconds since epoch UTC). activityCount: - $ref: "#/components/schemas/CountInfo" + $ref: '#/components/schemas/CountInfo' activeDayCount: - $ref: "#/components/schemas/CountInfo" + $ref: '#/components/schemas/CountInfo' + required: + - user + - activity GleanAssistInsightsResponse: properties: lastLogTimestamp: @@ -9784,7 +10582,7 @@ components: activityInsights: type: array items: - $ref: "#/components/schemas/UserActivityInsight" + $ref: '#/components/schemas/UserActivityInsight' description: Insights for all active users with respect to set of actions. totalActiveUsers: type: integer @@ -9809,7 +10607,7 @@ components: description: Number of current Weekly Active Users. InsightsSearchSummary: allOf: - - $ref: "#/components/schemas/CurrentActiveUsers" + - $ref: '#/components/schemas/CurrentActiveUsers' - type: object properties: numSearches: @@ -9820,7 +10618,7 @@ components: description: Total number of distinct users who searched over the specified time period. InsightsChatSummary: allOf: - - $ref: "#/components/schemas/CurrentActiveUsers" + - $ref: '#/components/schemas/CurrentActiveUsers' - type: object properties: numChats: @@ -9831,7 +10629,7 @@ components: description: Total number of distinct users who used Chat over the specified time period. InsightsDepartmentsSummary: allOf: - - $ref: "#/components/schemas/CurrentActiveUsers" + - $ref: '#/components/schemas/CurrentActiveUsers' - type: object properties: departments: @@ -9846,28 +10644,26 @@ components: type: integer description: Number of current signed up employees in the specified departments, according to the Org Chart. searchSummary: - $ref: "#/components/schemas/InsightsSearchSummary" + $ref: '#/components/schemas/InsightsSearchSummary' chatSummary: - $ref: "#/components/schemas/InsightsChatSummary" + $ref: '#/components/schemas/InsightsChatSummary' searchActiveUsers: - $ref: "#/components/schemas/CurrentActiveUsers" + $ref: '#/components/schemas/CurrentActiveUsers' description: Search-specific active user counts for the specified departments. assistantActiveUsers: - $ref: "#/components/schemas/CurrentActiveUsers" + $ref: '#/components/schemas/CurrentActiveUsers' description: Assistant-specific active user counts for the specified departments. agentsActiveUsers: - $ref: "#/components/schemas/CurrentActiveUsers" + $ref: '#/components/schemas/CurrentActiveUsers' description: Agents-specific active user counts for the specified departments. mcpActiveUsers: - $ref: "#/components/schemas/CurrentActiveUsers" + $ref: '#/components/schemas/CurrentActiveUsers' description: MCP active user counts for the specified departments. extensionSummary: - $ref: "#/components/schemas/CurrentActiveUsers" + $ref: '#/components/schemas/CurrentActiveUsers' ugcSummary: - $ref: "#/components/schemas/CurrentActiveUsers" + $ref: '#/components/schemas/CurrentActiveUsers' LabeledCountInfo: - required: - - label properties: label: type: string @@ -9875,12 +10671,14 @@ components: countInfo: type: array items: - $ref: "#/components/schemas/CountInfo" + $ref: '#/components/schemas/CountInfo' description: List of data points for counts for a given date period. + required: + - label PerUserInsight: properties: person: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' numSearches: type: integer description: Total number of searches by this user over the specified time period. @@ -9910,7 +10708,7 @@ components: description: Total number of MCP calls for this user over the specified time period. InsightsOverviewResponse: allOf: - - $ref: "#/components/schemas/InsightsDepartmentsSummary" + - $ref: '#/components/schemas/InsightsDepartmentsSummary' - type: object properties: lastUpdatedTs: @@ -9928,43 +10726,43 @@ components: removal: "2027-01-15" x-speakeasy-deprecation-message: "Deprecated on 2026-05-13, removal scheduled for 2027-01-15: This property is no longer supported. Please contact Support for alternatives." monthlyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' weeklyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' dailyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' searchMonthlyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' searchWeeklyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' searchDailyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' assistantMonthlyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' assistantWeeklyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' assistantDailyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' agentsMonthlyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' agentsWeeklyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' agentsDailyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' mcpMonthlyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' mcpWeeklyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' mcpDailyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' searchesTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' assistantInteractionsTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' agentRunsTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' mcpCallsTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' searchDatasourceCounts: type: object additionalProperties: @@ -9978,12 +10776,12 @@ components: perUserInsights: type: array items: - $ref: "#/components/schemas/PerUserInsight" + $ref: '#/components/schemas/PerUserInsight' description: Per-user insights, over the specified time period in the specified departments. All current users in the organization who have signed into Glean at least once are included. PerUserAssistantInsight: properties: person: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' numChatMessages: type: integer description: Total number of chat messages sent by this user over the specified time period. @@ -10001,37 +10799,37 @@ components: description: Total number of days this user was active on the Assistant over the specified time period. AssistantInsightsResponse: allOf: - - $ref: "#/components/schemas/CurrentActiveUsers" + - $ref: '#/components/schemas/CurrentActiveUsers' - type: object properties: lastUpdatedTs: type: integer description: Unix timestamp of the last update for the insights data in the response. monthlyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' weeklyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' dailyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' totalSignups: type: integer description: Number of current signed up employees in the specified departments, according to the Org Chart. chatMessagesTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' summarizationsTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' aiAnswersTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' gleanbotInteractionsTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' perUserInsights: type: array items: - $ref: "#/components/schemas/PerUserAssistantInsight" + $ref: '#/components/schemas/PerUserAssistantInsight' upvotesTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' downvotesTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' PerAgentInsight: properties: agentId: @@ -10041,7 +10839,7 @@ components: type: string description: Agent name icon: - $ref: "#/components/schemas/IconConfig" + $ref: '#/components/schemas/IconConfig' description: Agent icon configuration isDeleted: type: boolean @@ -10059,7 +10857,7 @@ components: type: integer description: Total number of downvotes for this agent over the specified time period. owner: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' description: | The creator/owner of the agent. Absent if agent is deleted or owner is unknown. AgentUseCaseInsight: @@ -10084,7 +10882,7 @@ components: type: string description: Name of the most-used agent for this use case. topAgentIcon: - $ref: "#/components/schemas/IconConfig" + $ref: '#/components/schemas/IconConfig' description: Icon of the most-used agent for this use case. topAgentIsDeleted: type: boolean @@ -10111,7 +10909,7 @@ components: type: string description: Name of the agent to be shown in the agent column in this department over the specified time period. icon: - $ref: "#/components/schemas/IconConfig" + $ref: '#/components/schemas/IconConfig' description: Agent icon configuration isDeleted: type: boolean @@ -10119,7 +10917,7 @@ components: AgentUsersInsight: properties: person: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' departmentName: type: string description: Department name @@ -10145,7 +10943,7 @@ components: type: string description: Agent name icon: - $ref: "#/components/schemas/IconConfig" + $ref: '#/components/schemas/IconConfig' description: Agent icon configuration isDeleted: type: boolean @@ -10162,75 +10960,75 @@ components: description: Total number of users who provided feedback on time saved for this agent over the specified time period. AgentsInsightsV2Response: allOf: - - $ref: "#/components/schemas/CurrentActiveUsers" + - $ref: '#/components/schemas/CurrentActiveUsers' - type: object properties: monthlyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' weeklyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' dailyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' sharedAgentsCount: type: integer description: Total number of shared agents. topAgentsInsights: type: array items: - $ref: "#/components/schemas/PerAgentInsight" + $ref: '#/components/schemas/PerAgentInsight' topUseCasesInsights: type: array items: - $ref: "#/components/schemas/AgentUseCaseInsight" + $ref: '#/components/schemas/AgentUseCaseInsight' agentsUsageByDepartmentInsights: type: array items: - $ref: "#/components/schemas/AgentsUsageByDepartmentInsight" + $ref: '#/components/schemas/AgentsUsageByDepartmentInsight' agentUsersInsights: type: array items: - $ref: "#/components/schemas/AgentUsersInsight" + $ref: '#/components/schemas/AgentUsersInsight' agentsTimeSavedInsights: type: array items: - $ref: "#/components/schemas/AgentsTimeSavedInsight" + $ref: '#/components/schemas/AgentsTimeSavedInsight' description: Insights for agents time saved over the specified time period. dailyAgentRunsTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' successfulRunsTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' failedRunsTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' pausedRunsTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' upvotesTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' downvotesTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' McpInsightsResponse: allOf: - - $ref: "#/components/schemas/CurrentActiveUsers" + - $ref: '#/components/schemas/CurrentActiveUsers' - type: object properties: dailyActiveUsers: type: integer description: Number of current Daily Active Users. monthlyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' weeklyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' dailyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' overallDailyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' topHostApplicationsActiveUserTimeseries: type: array items: - $ref: "#/components/schemas/LabeledCountInfo" + $ref: '#/components/schemas/LabeledCountInfo' McpUserBreakdown: properties: person: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' totalCalls: type: integer description: Total number of MCP calls made by this user in the specified time period. @@ -10297,24 +11095,24 @@ components: usersBreakdown: type: array items: - $ref: "#/components/schemas/McpUserBreakdown" + $ref: '#/components/schemas/McpUserBreakdown' hostApplicationsBreakdown: type: array items: - $ref: "#/components/schemas/McpHostApplicationBreakdown" + $ref: '#/components/schemas/McpHostApplicationBreakdown' toolsBreakdown: type: array items: - $ref: "#/components/schemas/McpToolBreakdown" + $ref: '#/components/schemas/McpToolBreakdown' serversBreakdown: type: array items: - $ref: "#/components/schemas/McpServerBreakdown" + $ref: '#/components/schemas/McpServerBreakdown' InsightsResponse: properties: gleanAssist: + $ref: '#/components/schemas/GleanAssistInsightsResponse' deprecated: true - $ref: "#/components/schemas/GleanAssistInsightsResponse" x-glean-deprecated: id: 15850758-4d95-4d98-8d57-39c50663a796 introduced: "2026-02-05" @@ -10322,20 +11120,16 @@ components: removal: "2026-10-15" x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Field is deprecated" overviewResponse: - $ref: "#/components/schemas/InsightsOverviewResponse" + $ref: '#/components/schemas/InsightsOverviewResponse' assistantResponse: - $ref: "#/components/schemas/AssistantInsightsResponse" + $ref: '#/components/schemas/AssistantInsightsResponse' agentsResponse: - $ref: "#/components/schemas/AgentsInsightsV2Response" + $ref: '#/components/schemas/AgentsInsightsV2Response' mcpResponse: - $ref: "#/components/schemas/McpInsightsResponse" + $ref: '#/components/schemas/McpInsightsResponse' mcpBreakdownResponse: - $ref: "#/components/schemas/McpBreakdownInsightsResponse" + $ref: '#/components/schemas/McpBreakdownInsightsResponse' MessagesRequest: - required: - - id - - idType - - datasource properties: idType: type: string @@ -10375,19 +11169,23 @@ components: datasourceInstanceDisplayName: type: string description: The datasource instance display name from which the document was extracted. This is used for appinstance facet filter for datasources that support multiple instances. + required: + - id + - idType + - datasource InvalidOperatorValueError: properties: key: - description: The operator key that has an invalid value. type: string + description: The operator key that has an invalid value. value: - description: The invalid operator value. type: string + description: The invalid operator value. ErrorMessage: properties: source: - description: The datasource this message relates to. type: string + description: The datasource this message relates to. errorMessage: type: string ErrorInfo: @@ -10400,13 +11198,13 @@ components: description: Indicates the outlook results could not be fetched due to bad token. invalidOperators: type: array - description: Indicates results could not be fetched due to invalid operators in the query. items: - $ref: "#/components/schemas/InvalidOperatorValueError" + $ref: '#/components/schemas/InvalidOperatorValueError' + description: Indicates results could not be fetched due to invalid operators in the query. errorMessages: type: array items: - $ref: "#/components/schemas/ErrorMessage" + $ref: '#/components/schemas/ErrorMessage' federatedSearchRateLimitError: type: boolean description: Indicates the federated search results could not be fetched due to rate limiting. @@ -10417,19 +11215,19 @@ components: type: string description: A token that should be passed for additional requests related to this request (such as more results requests). sessionInfo: - $ref: "#/components/schemas/SessionInfo" + $ref: '#/components/schemas/SessionInfo' results: type: array items: - $ref: "#/components/schemas/SearchResult" + $ref: '#/components/schemas/SearchResult' structuredResults: type: array items: - $ref: "#/components/schemas/StructuredResult" + $ref: '#/components/schemas/StructuredResult' generatedQnaResult: - $ref: "#/components/schemas/GeneratedQna" + $ref: '#/components/schemas/GeneratedQna' errorInfo: - $ref: "#/components/schemas/ErrorInfo" + $ref: '#/components/schemas/ErrorInfo' requestID: type: string description: A platform-generated request ID to correlate backend logs. @@ -10447,8 +11245,6 @@ components: format: int64 description: List of experiment ids for the corresponding request. SearchWarning: - required: - - warningType properties: warningType: type: string @@ -10472,6 +11268,8 @@ components: items: type: string description: A list of query terms that were ignored when generating search results, if any. For example, terms containing invalid filters such as "updated:invalid_date" will be ignored. + required: + - warningType SearchResponseMetadata: properties: rewrittenQuery: @@ -10487,16 +11285,16 @@ components: searchedQueryRanges: type: array items: - $ref: "#/components/schemas/TextRange" + $ref: '#/components/schemas/TextRange' description: The bolded ranges within the searched query. originalQuery: type: string description: The query text sent by the client in the request. querySuggestion: - $ref: "#/components/schemas/QuerySuggestion" + $ref: '#/components/schemas/QuerySuggestion' description: An alternative query to the one provided that may give better results, e.g. a spelling suggestion. additionalQuerySuggestions: - $ref: "#/components/schemas/QuerySuggestionList" + $ref: '#/components/schemas/QuerySuggestionList' description: Other alternative queries that may provide better or more specific results than the original query. negatedTerms: type: array @@ -10510,7 +11308,7 @@ components: type: boolean description: No results were found for the original query. The usage of this bit in conjunction with modifiedQueryWasUsed will dictate whether the full page replacement is 0-result or few-result based. searchWarning: - $ref: "#/components/schemas/SearchWarning" + $ref: '#/components/schemas/SearchWarning' triggeredExpertDetection: type: boolean description: Whether the query triggered expert detection results in the People tab. @@ -10521,17 +11319,17 @@ components: properties: stringValue: type: string - example: engineering description: The value that should be set in the FacetFilter when applying this filter to a search request. + example: engineering integerValue: type: integer example: 5 displayLabel: type: string - example: engineering description: An optional user-friendly label to display in place of the facet value. + example: engineering iconConfig: - $ref: "#/components/schemas/IconConfig" + $ref: '#/components/schemas/IconConfig' FacetBucket: properties: count: @@ -10540,14 +11338,14 @@ components: example: 1 datasource: type: string - example: jira description: The datasource the value belongs to. This will be used by the all tab to show types across all datasources. + example: jira percentage: type: integer description: Estimated percentage of results in this facet. example: 5 value: - $ref: "#/components/schemas/FacetValue" + $ref: '#/components/schemas/FacetValue' FacetResult: properties: sourceName: @@ -10560,9 +11358,9 @@ components: example: SelectMultiple buckets: type: array - description: A list of unique buckets that exist within this result set. items: - $ref: "#/components/schemas/FacetBucket" + $ref: '#/components/schemas/FacetBucket' + description: A list of unique buckets that exist within this result set. hasMoreBuckets: type: boolean description: Returns true if more buckets exist than those returned. Additional buckets can be retrieve by requesting again with a higher facetBucketSize. @@ -10577,24 +11375,24 @@ components: type: string description: Textual description of the results. Can be shown at the top of SERP, e.g. 'People who write about this topic' for experts in people tab. iconConfig: - $ref: "#/components/schemas/IconConfig" + $ref: '#/components/schemas/IconConfig' description: The config for the icon that's displayed with this description SearchResponse: allOf: - - $ref: "#/components/schemas/ResultsResponse" - - $ref: "#/components/schemas/BackendExperimentsContext" + - $ref: '#/components/schemas/ResultsResponse' + - $ref: '#/components/schemas/BackendExperimentsContext' - type: object properties: metadata: - $ref: "#/components/schemas/SearchResponseMetadata" + $ref: '#/components/schemas/SearchResponseMetadata' facetResults: type: array items: - $ref: "#/components/schemas/FacetResult" + $ref: '#/components/schemas/FacetResult' resultTabs: type: array items: - $ref: "#/components/schemas/ResultTab" + $ref: '#/components/schemas/ResultTab' description: All result tabs available for the current query. Populated if QUERY_METADATA is specified in the request. resultTabIds: type: array @@ -10602,11 +11400,11 @@ components: type: string description: The unique IDs of the result tabs to which this response belongs. resultsDescription: - $ref: "#/components/schemas/ResultsDescription" + $ref: '#/components/schemas/ResultsDescription' rewrittenFacetFilters: type: array items: - $ref: "#/components/schemas/FacetFilter" + $ref: '#/components/schemas/FacetFilter' description: The actual applied facet filters based on the operators and facetFilters in the query. Useful for mapping typed operators to visual facets. cursor: type: string @@ -10696,19 +11494,19 @@ components: - fieldValues - fieldValues MessagesResponse: - required: - - hasMore properties: hasMore: type: boolean description: Whether there are more results for client to continue requesting. searchResponse: - $ref: "#/components/schemas/SearchResponse" + $ref: '#/components/schemas/SearchResponse' rootMessage: - $ref: "#/components/schemas/SearchResult" + $ref: '#/components/schemas/SearchResult' + required: + - hasMore EditPinRequest: allOf: - - $ref: "#/components/schemas/PinDocumentMutableProperties" + - $ref: '#/components/schemas/PinDocumentMutableProperties' - type: object properties: id: @@ -10722,19 +11520,19 @@ components: GetPinResponse: properties: pin: - $ref: "#/components/schemas/PinDocument" + $ref: '#/components/schemas/PinDocument' ListPinsResponse: - required: - - pins properties: pins: type: array items: - $ref: "#/components/schemas/PinDocument" + $ref: '#/components/schemas/PinDocument' description: List of pinned documents. + required: + - pins PinRequest: allOf: - - $ref: "#/components/schemas/PinDocumentMutableProperties" + - $ref: '#/components/schemas/PinDocumentMutableProperties' - type: object properties: documentId: @@ -10749,29 +11547,27 @@ components: properties: timestamp: type: string - description: The ISO 8601 timestamp associated with the client request. format: date-time + description: The ISO 8601 timestamp associated with the client request. trackingToken: type: string description: A previously received trackingToken for a search associated with the same query. Useful for more requests and requests for other tabs. sessionInfo: - $ref: "#/components/schemas/SessionInfo" + $ref: '#/components/schemas/SessionInfo' sourceDocument: - $ref: "#/components/schemas/Document" + $ref: '#/components/schemas/Document' description: The document from which the ResultsRequest is issued, if any. pageSize: type: integer - example: 100 description: Hint to the server about how many results to send back. Server may return less or more. Structured results and clustered results don't count towards pageSize. + example: 100 maxSnippetSize: type: integer description: Hint to the server about how many characters long a snippet may be. Server may return less or more. example: 400 SearchRequest: - required: - - query allOf: - - $ref: "#/components/schemas/ResultsRequest" + - $ref: '#/components/schemas/ResultsRequest' - type: object properties: query: @@ -10787,9 +11583,9 @@ components: type: string description: The unique IDs of the result tabs for which to fetch results. This will have precedence over datasource filters if both are specified and in conflict. inputDetails: - $ref: "#/components/schemas/SearchRequestInputDetails" + $ref: '#/components/schemas/SearchRequestInputDetails' requestOptions: - $ref: "#/components/schemas/SearchRequestOptions" + $ref: '#/components/schemas/SearchRequestOptions' timeoutMillis: type: integer description: Timeout in milliseconds for the request. A `408` error will be returned if handling the request takes longer. @@ -10797,6 +11593,8 @@ components: disableSpellcheck: type: boolean description: Whether or not to disable spellcheck. + required: + - query example: trackingToken: trackingToken query: vacation policy @@ -10819,7 +11617,7 @@ components: trackingToken: type: string sessionInfo: - $ref: "#/components/schemas/SessionInfo" + $ref: '#/components/schemas/SessionInfo' query: type: string description: Partially typed query. @@ -10834,7 +11632,6 @@ components: description: Filter to only return results relevant to the given datasource. resultTypes: type: array - description: Filter to only return results of the given type(s). All types may be returned if omitted. items: type: string enum: @@ -10852,6 +11649,7 @@ components: - OPERATOR_VALUE - QUICKLINK - SUGGESTION + description: Filter to only return results of the given type(s). All types may be returned if omitted. resultSize: type: integer description: | @@ -10859,9 +11657,9 @@ components: example: 10 authTokens: type: array - description: Auth tokens which may be used for federated results. items: - $ref: "#/components/schemas/AuthToken" + $ref: '#/components/schemas/AuthToken' + description: Auth tokens which may be used for federated results. example: trackingToken: trackingToken query: what is a que @@ -10874,8 +11672,6 @@ components: docType: type: string OperatorMetadata: - required: - - name properties: name: type: string @@ -10894,13 +11690,15 @@ components: scopes: type: array items: - $ref: "#/components/schemas/OperatorScope" + $ref: '#/components/schemas/OperatorScope' value: type: string description: Raw/canonical value of the operator. Only applies when result is an operator value. displayValue: type: string description: Human readable value of the operator that can be shown to the user. Only applies when result is an operator value. + required: + - name example: name: Last Updated operatorType: DATE @@ -10909,7 +11707,6 @@ components: docType: Document - datasource: ZENDESK Quicklink: - description: An action for a specific datasource that will show up in autocomplete and app card, e.g. "Create new issue" for jira. properties: name: type: string @@ -10921,14 +11718,13 @@ components: type: string description: The URL of the action. iconConfig: - $ref: "#/components/schemas/IconConfig" + $ref: '#/components/schemas/IconConfig' description: The config for the icon for this quicklink id: type: string description: Unique identifier of this quicklink scopes: type: array - description: The scopes for which this quicklink is applicable items: type: string enum: @@ -10937,10 +11733,9 @@ components: - AUTOCOMPLETE_FUZZY_MATCH - AUTOCOMPLETE_ZERO_QUERY - NEW_TAB_PAGE + description: The scopes for which this quicklink is applicable + description: An action for a specific datasource that will show up in autocomplete and app card, e.g. "Create new issue" for jira. AutocompleteResult: - required: - - result - - result_type properties: result: type: string @@ -10970,23 +11765,26 @@ components: type: number description: Higher indicates a more confident match. operatorMetadata: - $ref: "#/components/schemas/OperatorMetadata" + $ref: '#/components/schemas/OperatorMetadata' quicklink: - $ref: "#/components/schemas/Quicklink" + $ref: '#/components/schemas/Quicklink' document: - $ref: "#/components/schemas/Document" + $ref: '#/components/schemas/Document' url: type: string structuredResult: - $ref: "#/components/schemas/StructuredResult" + $ref: '#/components/schemas/StructuredResult' trackingToken: type: string description: A token to be passed in /feedback events associated with this autocomplete result. ranges: type: array items: - $ref: "#/components/schemas/TextRange" + $ref: '#/components/schemas/TextRange' description: Subsections of the result string to which some special formatting should be applied (eg. bold) + required: + - result + - result_type example: result: sample result resultType: DOCUMENT @@ -10997,7 +11795,6 @@ components: - datasource: confluence - objectType: page AutocompleteResultGroup: - description: A subsection of the results list from which distinct sections should be created. properties: startIndex: type: integer @@ -11008,27 +11805,28 @@ components: title: type: string description: The title of the result group to be displayed. Empty means no title. + description: A subsection of the results list from which distinct sections should be created. AutocompleteResponse: allOf: - - $ref: "#/components/schemas/BackendExperimentsContext" + - $ref: '#/components/schemas/BackendExperimentsContext' - type: object properties: trackingToken: type: string description: An opaque token that represents this particular set of autocomplete results. To be used for /feedback reporting. sessionInfo: - $ref: "#/components/schemas/SessionInfo" + $ref: '#/components/schemas/SessionInfo' results: type: array items: - $ref: "#/components/schemas/AutocompleteResult" + $ref: '#/components/schemas/AutocompleteResult' groups: type: array items: - $ref: "#/components/schemas/AutocompleteResultGroup" + $ref: '#/components/schemas/AutocompleteResultGroup' description: Subsections of the results list from which distinct sections should be created. errorInfo: - $ref: "#/components/schemas/ErrorInfo" + $ref: '#/components/schemas/ErrorInfo' backendTimeMillis: type: integer format: int64 @@ -11042,8 +11840,6 @@ components: type: string description: The Chat Application ID this feed request should be scoped to. Empty means there is no Chat Application ID.. FeedRequestOptions: - required: - - resultSize properties: resultSize: type: integer @@ -11065,10 +11861,10 @@ components: type: string description: Datasources for which content should be included. Empty is for all. chatZeroStateSuggestionOptions: - $ref: "#/components/schemas/ChatZeroStateSuggestionOptions" - FeedRequest: + $ref: '#/components/schemas/ChatZeroStateSuggestionOptions' required: - - refreshType + - resultSize + FeedRequest: properties: categories: type: array @@ -11119,13 +11915,15 @@ components: - OOO_CATCH_UP description: Categories of content requested. An allowlist gives flexibility to request content separately or together. requestOptions: - $ref: "#/components/schemas/FeedRequestOptions" + $ref: '#/components/schemas/FeedRequestOptions' timeoutMillis: type: integer description: Timeout in milliseconds for the request. A `408` error will be returned if handling the request takes longer. example: 5000 sessionInfo: - $ref: "#/components/schemas/SessionInfo" + $ref: '#/components/schemas/SessionInfo' + required: + - refreshType DisplayableListFormat: properties: format: @@ -11135,15 +11933,12 @@ components: description: defines how to render this particular displayable list card DisplayableListItemUIConfig: type: object - description: UI configurations for each item of the list properties: showNewIndicator: type: boolean description: show a "New" pill next to the item + description: UI configurations for each item of the list ConferenceData: - required: - - provider - - uri properties: provider: type: string @@ -11159,14 +11954,16 @@ components: - NATIVE_CONFERENCE - LOCATION - DESCRIPTION + required: + - provider + - uri EventClassificationName: - description: The name for a generated classification of an event. type: string enum: - External Event + description: The name for a generated classification of an event. EventStrategyName: type: string - description: The name of method used to surface relevant data for a given calendar event. enum: - customerCard - news @@ -11177,17 +11974,17 @@ components: - relevantDocuments - chatFollowUps - conversations + description: The name of method used to surface relevant data for a given calendar event. EventClassification: - description: A generated classification of a given event. properties: name: - $ref: "#/components/schemas/EventClassificationName" + $ref: '#/components/schemas/EventClassificationName' strategies: type: array items: - $ref: "#/components/schemas/EventStrategyName" + $ref: '#/components/schemas/EventStrategyName' + description: A generated classification of a given event. StructuredLink: - description: The display configuration for a link. properties: name: type: string @@ -11196,47 +11993,45 @@ components: type: string description: The URL for the link. iconConfig: - $ref: "#/components/schemas/IconConfig" + $ref: '#/components/schemas/IconConfig' + description: The display configuration for a link. GeneratedAttachmentContent: - description: Content that has been generated or extrapolated from the documents present in the document field. properties: displayHeader: - description: The header describing the generated content. type: string + description: The header describing the generated content. text: - description: The content that has been generated. type: string + description: The content that has been generated. + description: Content that has been generated or extrapolated from the documents present in the document field. example: displayHeader: Action Items content: You said you'd send over the design document after the meeting. GeneratedAttachment: - description: These are attachments that aren't natively present on the event, and have been smartly suggested. properties: strategyName: - $ref: "#/components/schemas/EventStrategyName" + $ref: '#/components/schemas/EventStrategyName' documents: type: array items: - $ref: "#/components/schemas/Document" + $ref: '#/components/schemas/Document' person: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' customer: - $ref: "#/components/schemas/Customer" + $ref: '#/components/schemas/Customer' externalLinks: - description: A list of links to external sources outside of Glean. type: array items: - $ref: "#/components/schemas/StructuredLink" + $ref: '#/components/schemas/StructuredLink' + description: A list of links to external sources outside of Glean. content: type: array items: - $ref: "#/components/schemas/GeneratedAttachmentContent" + $ref: '#/components/schemas/GeneratedAttachmentContent' + description: These are attachments that aren't natively present on the event, and have been smartly suggested. CalendarEvent: - required: - - id - - url allOf: - - $ref: "#/components/schemas/AnonymousEvent" + - $ref: '#/components/schemas/AnonymousEvent' - type: object properties: id: @@ -11246,12 +12041,12 @@ components: type: string description: A permalink for this calendar event attendees: - $ref: "#/components/schemas/CalendarAttendees" + $ref: '#/components/schemas/CalendarAttendees' location: type: string description: The location that this event is taking place at. conferenceData: - $ref: "#/components/schemas/ConferenceData" + $ref: '#/components/schemas/ConferenceData' description: type: string description: The HTML description of the event. @@ -11267,35 +12062,38 @@ components: classifications: type: array items: - $ref: "#/components/schemas/EventClassification" + $ref: '#/components/schemas/EventClassification' generatedAttachments: type: array items: - $ref: "#/components/schemas/GeneratedAttachment" + $ref: '#/components/schemas/GeneratedAttachment' + required: + - id + - url SectionType: type: string + enum: + - CHANNEL + - MENTIONS + - TOPIC description: Type of the section. This defines how the section should be interpreted and rendered in the digest. x-enumDescriptions: CHANNEL: A standard section for channel-based digests (e.g. from Slack, Teams). MENTIONS: A dedicated section that surfaces user mentions (actionable, informative, or all). TOPIC: A section driven by a generic topic, not tied to any specific channel or instance. - enum: - - CHANNEL - - MENTIONS - - TOPIC x-speakeasy-enum-descriptions: CHANNEL: A standard section for channel-based digests (e.g. from Slack, Teams). MENTIONS: A dedicated section that surfaces user mentions (actionable, informative, or all). TOPIC: A section driven by a generic topic, not tied to any specific channel or instance. UpdateType: type: string + enum: + - ACTIONABLE + - INFORMATIVE description: Optional type classification for the update. x-enumDescriptions: ACTIONABLE: Updates that require user attention or action INFORMATIVE: Updates that are purely informational - enum: - - ACTIONABLE - - INFORMATIVE x-speakeasy-enum-descriptions: ACTIONABLE: Updates that require user attention or action INFORMATIVE: Updates that are purely informational @@ -11304,9 +12102,9 @@ components: properties: urls: type: array - description: List of URLs for similar updates that are grouped together and rendered as a single update. items: type: string + description: List of URLs for similar updates that are grouped together and rendered as a single update. url: type: string description: URL link to the content or document. @@ -11320,19 +12118,15 @@ components: type: string description: Brief summary or description of the update content. type: - $ref: "#/components/schemas/UpdateType" + $ref: '#/components/schemas/UpdateType' DigestSection: type: object - required: - - id - - type - - updates properties: id: type: string description: Unique identifier for the digest section. type: - $ref: "#/components/schemas/SectionType" + $ref: '#/components/schemas/SectionType' displayName: type: string description: Human-readable name for the digest section. @@ -11353,8 +12147,12 @@ components: updates: type: array items: - $ref: "#/components/schemas/DigestUpdate" + $ref: '#/components/schemas/DigestUpdate' description: List of updates within this digest section. + required: + - id + - type + - updates Digest: type: object properties: @@ -11372,7 +12170,7 @@ components: sections: type: array items: - $ref: "#/components/schemas/DigestSection" + $ref: '#/components/schemas/DigestSection' description: Array of digest sections from which the podcast was created. ChatSuggestion: properties: @@ -11391,8 +12189,6 @@ components: type: string description: Document IDs that grounded the suggestion. PromptTemplateMutableProperties: - required: - - template properties: name: type: string @@ -11404,30 +12200,32 @@ components: type: string description: The Application Id the prompt template should be created under. Empty for default assistant. inclusions: - $ref: "#/components/schemas/ChatRestrictionFilters" + $ref: '#/components/schemas/ChatRestrictionFilters' description: A list of filters which only allows the prompt template to access certain content. addedRoles: type: array - description: A list of added user roles for the Workflow. items: - $ref: "#/components/schemas/UserRoleSpecification" + $ref: '#/components/schemas/UserRoleSpecification' + description: A list of added user roles for the Workflow. removedRoles: type: array - description: A list of removed user roles for the Workflow. items: - $ref: "#/components/schemas/UserRoleSpecification" + $ref: '#/components/schemas/UserRoleSpecification' + description: A list of removed user roles for the Workflow. + required: + - template PromptTemplate: allOf: - - $ref: "#/components/schemas/PromptTemplateMutableProperties" - - $ref: "#/components/schemas/PermissionedObject" - - $ref: "#/components/schemas/AttributionProperties" + - $ref: '#/components/schemas/PromptTemplateMutableProperties' + - $ref: '#/components/schemas/PermissionedObject' + - $ref: '#/components/schemas/AttributionProperties' - type: object properties: id: type: string description: Opaque id for this prompt template author: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' createTimestamp: type: integer description: Server Unix timestamp of the creation time. @@ -11435,12 +12233,12 @@ components: type: integer description: Server Unix timestamp of the last update time. lastUpdatedBy: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' roles: type: array - description: A list of roles for this prompt template explicitly granted. items: - $ref: "#/components/schemas/UserRoleSpecification" + $ref: '#/components/schemas/UserRoleSpecification' + description: A list of roles for this prompt template explicitly granted. UgcType: enum: - AGENT_TYPE @@ -11467,34 +12265,34 @@ components: type: object properties: ugcType: - $ref: "#/components/schemas/UgcType" + $ref: '#/components/schemas/UgcType' id: type: string description: Opaque id of the UGC. count: type: integer - x-includeEmpty: true description: Number of users this object has been favorited by. + x-includeEmpty: true favoritedByUser: type: boolean - x-includeEmpty: true description: If the requesting user has favorited this object. + x-includeEmpty: true PromptTemplateResult: properties: promptTemplate: - $ref: "#/components/schemas/PromptTemplate" + $ref: '#/components/schemas/PromptTemplate' trackingToken: type: string description: An opaque token that represents this prompt template favoriteInfo: - $ref: "#/components/schemas/FavoriteInfo" + $ref: '#/components/schemas/FavoriteInfo' runCount: - $ref: "#/components/schemas/CountInfo" + $ref: '#/components/schemas/CountInfo' description: This tracks how many times this prompt template was run. If user runs a prompt template after modifying the original one, it still counts as a run for the original template. UserActivity: properties: actor: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' timestamp: type: integer description: Unix timestamp of the activity (in seconds since epoch UTC). @@ -11517,10 +12315,8 @@ components: - VIEW description: The action for the activity aggregateVisitCount: - $ref: "#/components/schemas/CountInfo" + $ref: '#/components/schemas/CountInfo' FeedEntry: - required: - - title properties: entryId: type: string @@ -11529,16 +12325,16 @@ components: type: string description: Title for the result. Can be document title, event title and so on. thumbnail: - $ref: "#/components/schemas/Thumbnail" + $ref: '#/components/schemas/Thumbnail' createdBy: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' uiConfig: allOf: - - $ref: "#/components/schemas/DisplayableListFormat" + - $ref: '#/components/schemas/DisplayableListFormat' - type: object properties: additionalFlags: - $ref: "#/components/schemas/DisplayableListItemUIConfig" + $ref: '#/components/schemas/DisplayableListItemUIConfig' justificationType: type: string enum: @@ -11608,38 +12404,37 @@ components: type: string description: View URL for the entry if based on links that are not documents in Glean. document: - $ref: "#/components/schemas/Document" + $ref: '#/components/schemas/Document' event: - $ref: "#/components/schemas/CalendarEvent" + $ref: '#/components/schemas/CalendarEvent' announcement: - $ref: "#/components/schemas/Announcement" + $ref: '#/components/schemas/Announcement' digest: - $ref: "#/components/schemas/Digest" + $ref: '#/components/schemas/Digest' collection: - $ref: "#/components/schemas/Collection" + $ref: '#/components/schemas/Collection' collectionItem: - $ref: "#/components/schemas/CollectionItem" + $ref: '#/components/schemas/CollectionItem' person: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' app: - $ref: "#/components/schemas/AppResult" + $ref: '#/components/schemas/AppResult' chatSuggestion: - $ref: "#/components/schemas/ChatSuggestion" + $ref: '#/components/schemas/ChatSuggestion' promptTemplate: - $ref: "#/components/schemas/PromptTemplateResult" + $ref: '#/components/schemas/PromptTemplateResult' workflow: - $ref: "#/components/schemas/WorkflowResult" + $ref: '#/components/schemas/WorkflowResult' activities: type: array items: - $ref: "#/components/schemas/UserActivity" + $ref: '#/components/schemas/UserActivity' description: List of activity where each activity has user, action, timestamp. documentVisitorCount: - $ref: "#/components/schemas/CountInfo" - FeedResult: + $ref: '#/components/schemas/CountInfo' required: - - category - - primaryEntry + - title + FeedResult: properties: category: type: string @@ -11688,11 +12483,11 @@ components: - OOO_CATCH_UP description: Category of the result, one of the requested categories in incoming request. primaryEntry: - $ref: "#/components/schemas/FeedEntry" + $ref: '#/components/schemas/FeedEntry' secondaryEntries: type: array items: - $ref: "#/components/schemas/FeedEntry" + $ref: '#/components/schemas/FeedEntry' description: Secondary entries for the result e.g. suggested docs for the calendar, carousel. rank: type: integer @@ -11703,11 +12498,12 @@ components: - ORGANIC - PROMO description: Placement source for ranked feed results. ORGANIC means the card was emitted by normal feed ranking. PROMO means the card was inserted by the homepage cards promo framework. - FeedResponse: required: - - serverTimestamp + - category + - primaryEntry + FeedResponse: allOf: - - $ref: "#/components/schemas/BackendExperimentsContext" + - $ref: '#/components/schemas/BackendExperimentsContext' - type: object properties: trackingToken: @@ -11719,17 +12515,19 @@ components: results: type: array items: - $ref: "#/components/schemas/FeedResult" + $ref: '#/components/schemas/FeedResult' facetResults: type: object additionalProperties: type: array items: - $ref: "#/components/schemas/FacetResult" + $ref: '#/components/schemas/FacetResult' description: Map from category to the list of facets that can be used to filter the entry's content. mentionsTimeWindowInHours: type: integer description: The time window (in hours) used for generating user mentions. + required: + - serverTimestamp RecommendationsRequestOptions: properties: datasourceFilter: @@ -11743,30 +12541,30 @@ components: facetFilterSets: type: array items: - $ref: "#/components/schemas/FacetFilterSet" + $ref: '#/components/schemas/FacetFilterSet' description: A list of facet filter sets that will be OR'ed together. context: - $ref: "#/components/schemas/Document" + $ref: '#/components/schemas/Document' description: Content for either a new or unindexed document, or additional content for an indexed document, which may be used to generate recommendations. resultProminence: - description: The types of prominence wanted in results returned. Default is any type. type: array items: - $ref: "#/components/schemas/SearchResultProminenceEnum" + $ref: '#/components/schemas/SearchResultProminenceEnum' + description: The types of prominence wanted in results returned. Default is any type. RecommendationsRequest: allOf: - - $ref: "#/components/schemas/ResultsRequest" + - $ref: '#/components/schemas/ResultsRequest' - type: object properties: recommendationDocumentSpec: - $ref: "#/components/schemas/DocumentSpec" + $ref: '#/components/schemas/DocumentSpec' description: Retrieve recommendations for this document. Glean Document ID is preferred over URL. requestOptions: - $ref: "#/components/schemas/RecommendationsRequestOptions" + $ref: '#/components/schemas/RecommendationsRequestOptions' description: Options for adjusting the request for recommendations. RecommendationsResponse: allOf: - - $ref: "#/components/schemas/ResultsResponse" + - $ref: '#/components/schemas/ResultsResponse' SortOptions: type: object properties: @@ -11783,19 +12581,19 @@ components: filter: type: array items: - $ref: "#/components/schemas/FacetFilter" + $ref: '#/components/schemas/FacetFilter' sort: - description: Use EntitiesSortOrder enum for SortOptions.sortBy type: array items: - $ref: "#/components/schemas/SortOptions" + $ref: '#/components/schemas/SortOptions' + description: Use EntitiesSortOrder enum for SortOptions.sortBy entityType: type: string - default: PEOPLE enum: - PEOPLE - TEAMS - CUSTOM_ENTITIES + default: PEOPLE datasource: type: string description: The datasource associated with the entity type, most commonly used with CUSTOM_ENTITIES @@ -11803,7 +12601,6 @@ components: type: string description: A query string to search for entities that each entity in the response must conform to. An empty query does not filter any entities. includeFields: - description: List of entity fields to return (that aren't returned by default) type: array items: type: string @@ -11817,10 +12614,11 @@ components: - LAST_EXTENSION_USE - MANAGEMENT_DETAILS - UNPROCESSED_TEAMS + description: List of entity fields to return (that aren't returned by default) pageSize: type: integer - example: 100 description: Hint to the server about how many results to send back. Server may return less. + example: 100 cursor: type: string description: Pagination cursor. A previously received opaque token representing the position in the overall results at which to start. @@ -11829,20 +12627,19 @@ components: description: A string denoting the search surface from which the endpoint is called. requestType: type: string - default: STANDARD + enum: + - STANDARD + - FULL_DIRECTORY description: The type of request being made. + default: STANDARD x-enumDescriptions: STANDARD: Used by default for all requests and satisfies all standard use cases for list requests. Limited to 10000 entities. FULL_DIRECTORY: Used exclusively to return a comprehensive list of all people entities in the organization, typically for audit like purposes. The recommended approach is to sort by FIRST_NAME or LAST_NAME, and use pagination for large organizations. - enum: - - STANDARD - - FULL_DIRECTORY x-speakeasy-enum-descriptions: STANDARD: Used by default for all requests and satisfies all standard use cases for list requests. Limited to 10000 entities. FULL_DIRECTORY: Used exclusively to return a comprehensive list of all people entities in the organization, typically for audit like purposes. The recommended approach is to sort by FIRST_NAME or LAST_NAME, and use pagination for large organizations. EntitiesSortOrder: type: string - description: Different ways of sorting entities enum: - ENTITY_NAME - FIRST_NAME @@ -11851,25 +12648,26 @@ components: - START_DATE - TEAM_SIZE - RELEVANCE + description: Different ways of sorting entities ListEntitiesResponse: type: object properties: results: type: array items: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' teamResults: type: array items: - $ref: "#/components/schemas/Team" + $ref: '#/components/schemas/Team' customEntityResults: type: array items: - $ref: "#/components/schemas/CustomEntity" + $ref: '#/components/schemas/CustomEntity' facetResults: type: array items: - $ref: "#/components/schemas/FacetResult" + $ref: '#/components/schemas/FacetResult' cursor: type: string description: Pagination cursor. A previously received opaque token representing the position in the overall results at which to start. @@ -11881,14 +12679,14 @@ components: description: Whether or not more entities can be fetched. sortOptions: type: array - description: Sort options from EntitiesSortOrder supported for this response. Default is empty list. items: - $ref: "#/components/schemas/EntitiesSortOrder" + $ref: '#/components/schemas/EntitiesSortOrder' + description: Sort options from EntitiesSortOrder supported for this response. Default is empty list. customFacetNames: type: array - description: list of Person attributes that are custom setup by deployment items: type: string + description: list of Person attributes that are custom setup by deployment PeopleRequest: type: object properties: @@ -11906,7 +12704,6 @@ components: type: string description: The email IDs to retrieve. The result is the deduplicated union of emailIds and obfuscatedIds. includeFields: - description: List of PersonMetadata fields to return (that aren't returned by default) type: array items: type: string @@ -11921,17 +12718,18 @@ components: - MANAGEMENT_DETAILS - PEOPLE_PROFILE_SETTINGS - PEOPLE_WITHOUT_MANAGER + description: List of PersonMetadata fields to return (that aren't returned by default) includeTypes: - description: The types of people entities to include in the response in addition to those returned by default. - x-enumDescriptions: - PEOPLE_WITHOUT_MANAGER: Returns all people without a manager apart from the requested IDs. - INVALID_ENTITIES: Includes invalid entities in the response if any of the requested IDs are invalid. type: array items: type: string enum: - PEOPLE_WITHOUT_MANAGER - INVALID_ENTITIES + description: The types of people entities to include in the response in addition to those returned by default. + x-enumDescriptions: + PEOPLE_WITHOUT_MANAGER: Returns all people without a manager apart from the requested IDs. + INVALID_ENTITIES: Includes invalid entities in the response if any of the requested IDs are invalid. x-speakeasy-enum-descriptions: PEOPLE_WITHOUT_MANAGER: Returns all people without a manager apart from the requested IDs. INVALID_ENTITIES: Includes invalid entities in the response if any of the requested IDs are invalid. @@ -11947,12 +12745,12 @@ components: results: type: array items: - $ref: "#/components/schemas/Person" + $ref: '#/components/schemas/Person' description: A Person for each ID in the request, each with PersonMetadata populated. relatedDocuments: type: array items: - $ref: "#/components/schemas/RelatedDocuments" + $ref: '#/components/schemas/RelatedDocuments' description: A list of documents related to this people response. This is only included if DOCUMENT_ACTIVITY is requested and only 1 person is included in the request. errors: type: array @@ -11960,11 +12758,11 @@ components: type: string description: A list of IDs that could not be found. CreateShortcutRequest: - required: - - data properties: data: - $ref: "#/components/schemas/ShortcutMutableProperties" + $ref: '#/components/schemas/ShortcutMutableProperties' + required: + - data ShortcutError: properties: errorType: @@ -11977,44 +12775,42 @@ components: CreateShortcutResponse: properties: shortcut: - $ref: "#/components/schemas/Shortcut" + $ref: '#/components/schemas/Shortcut' error: - $ref: "#/components/schemas/ShortcutError" + $ref: '#/components/schemas/ShortcutError' DeleteShortcutRequest: allOf: - - $ref: "#/components/schemas/UserGeneratedContentId" + - $ref: '#/components/schemas/UserGeneratedContentId' - type: object required: - id GetShortcutRequest: oneOf: - - $ref: "#/components/schemas/UserGeneratedContentId" + - $ref: '#/components/schemas/UserGeneratedContentId' - type: object - required: - - alias properties: alias: type: string description: The alias for the shortcut, including any arguments for variable shortcuts. + required: + - alias GetShortcutResponse: properties: shortcut: - $ref: "#/components/schemas/Shortcut" + $ref: '#/components/schemas/Shortcut' description: Shortcut given the input alias with any provided arguments substituted into the destination URL. error: - $ref: "#/components/schemas/ShortcutError" + $ref: '#/components/schemas/ShortcutError' ListShortcutsPaginatedRequest: - required: - - pageSize properties: includeFields: - description: Array of fields/data to be included in response that are not included by default type: array items: type: string enum: - FACETS - PEOPLE_DETAILS + description: Array of fields/data to be included in response that are not included by default pageSize: type: integer example: 10 @@ -12024,14 +12820,16 @@ components: filters: type: array items: - $ref: "#/components/schemas/FacetFilter" + $ref: '#/components/schemas/FacetFilter' description: A list of filters for the query. An AND is assumed between different filters. We support filters on Go Link name, author, department and type. sort: - $ref: "#/components/schemas/SortOptions" + $ref: '#/components/schemas/SortOptions' description: Specifies fieldname to sort on and order (ASC|DESC) to sort in query: type: string description: Search query that should be a substring in atleast one of the fields (alias , inputAlias, destinationUrl, description). Empty query does not filter shortcuts. + required: + - pageSize ShortcutsPaginationMetadata: properties: cursor: @@ -12042,44 +12840,41 @@ components: totalItemCount: type: integer ListShortcutsPaginatedResponse: - required: - - shortcuts - - meta properties: shortcuts: type: array items: - $ref: "#/components/schemas/Shortcut" + $ref: '#/components/schemas/Shortcut' description: List of all shortcuts accessible to the user facetResults: type: array items: - $ref: "#/components/schemas/FacetResult" + $ref: '#/components/schemas/FacetResult' meta: - $ref: "#/components/schemas/ShortcutsPaginationMetadata" + $ref: '#/components/schemas/ShortcutsPaginationMetadata' description: Contains metadata like total item count and whether next page exists + required: + - shortcuts + - meta UpdateShortcutRequest: allOf: - - $ref: "#/components/schemas/UserGeneratedContentId" - - $ref: "#/components/schemas/ShortcutMutableProperties" + - $ref: '#/components/schemas/UserGeneratedContentId' + - $ref: '#/components/schemas/ShortcutMutableProperties' - type: object required: - id UpdateShortcutResponse: properties: shortcut: - $ref: "#/components/schemas/Shortcut" + $ref: '#/components/schemas/Shortcut' error: - $ref: "#/components/schemas/ShortcutError" + $ref: '#/components/schemas/ShortcutError' SummarizeRequest: - description: Summary of the document - required: - - documentSpecs properties: timestamp: type: string - description: The ISO 8601 timestamp associated with the client request. format: date-time + description: The ISO 8601 timestamp associated with the client request. query: type: string description: Optional query that the summary should be about @@ -12089,11 +12884,14 @@ components: documentSpecs: type: array items: - $ref: "#/components/schemas/DocumentSpec" + $ref: '#/components/schemas/DocumentSpec' description: Specifications of documents to summarize trackingToken: type: string description: An opaque token that represents this particular result. To be used for /feedback reporting. + required: + - documentSpecs + description: Summary of the document Summary: properties: text: @@ -12111,13 +12909,11 @@ components: message: type: string summary: - $ref: "#/components/schemas/Summary" + $ref: '#/components/schemas/Summary' trackingToken: type: string description: An opaque token that represents this summary in this particular query. To be used for /feedback reporting. ReminderRequest: - required: - - documentId properties: documentId: type: string @@ -12131,16 +12927,16 @@ components: reason: type: string description: An optional free-text reason for the reminder. This is particularly useful when a reminder is used to ask for verification from another user (for example, "Duplicate", "Incomplete", "Incorrect"). + required: + - documentId VerificationFeed: properties: documents: type: array items: - $ref: "#/components/schemas/Verification" + $ref: '#/components/schemas/Verification' description: List of document infos that include verification related information for them. VerifyRequest: - required: - - documentId properties: documentId: type: string @@ -12152,18 +12948,20 @@ components: - DEPRECATE - UNVERIFY description: The verification action requested. + required: + - documentId ToolParameter: type: object properties: type: type: string - description: Parameter type (string, number, boolean, object, array) enum: - string - number - boolean - object - array + description: Parameter type (string, number, boolean, object, array) name: type: string description: The name of the parameter @@ -12175,27 +12973,27 @@ components: description: Whether the parameter is required possibleValues: type: array - description: The possible values for the parameter. Can contain only primitive values or arrays of primitive values. items: type: string + description: The possible values for the parameter. Can contain only primitive values or arrays of primitive values. items: + $ref: '#/components/schemas/ToolParameter' type: object description: When type is 'array', this describes the structure of the item in the array. - $ref: "#/components/schemas/ToolParameter" properties: type: object - description: When type is 'object', this describes the structure of the object. additionalProperties: - $ref: "#/components/schemas/ToolParameter" + $ref: '#/components/schemas/ToolParameter' + description: When type is 'object', this describes the structure of the object. Tool: type: object properties: type: type: string - description: Type of tool (READ, WRITE) enum: - READ - WRITE + description: Type of tool (READ, WRITE) name: type: string description: Unique identifier for the tool @@ -12207,21 +13005,18 @@ components: description: LLM friendly description of the tool parameters: type: object - description: The parameters for the tool. Each key is the name of the parameter and the value is the parameter object. additionalProperties: - $ref: "#/components/schemas/ToolParameter" + $ref: '#/components/schemas/ToolParameter' + description: The parameters for the tool. Each key is the name of the parameter and the value is the parameter object. ToolsListResponse: type: object properties: tools: type: array items: - $ref: "#/components/schemas/Tool" + $ref: '#/components/schemas/Tool' ToolsCallParameter: type: object - required: - - name - - value properties: name: type: string @@ -12231,91 +13026,94 @@ components: description: The value of the parameter (for primitive types) items: type: array - description: The value of the parameter (for array types) items: - $ref: "#/components/schemas/ToolsCallParameter" + $ref: '#/components/schemas/ToolsCallParameter' + description: The value of the parameter (for array types) properties: type: object - description: The value of the parameter (for object types) additionalProperties: - $ref: "#/components/schemas/ToolsCallParameter" - ToolsCallRequest: - type: object + $ref: '#/components/schemas/ToolsCallParameter' + description: The value of the parameter (for object types) required: - name - - parameters + - value + ToolsCallRequest: + type: object properties: name: type: string description: Required name of the tool to execute parameters: type: object - description: The parameters for the tool. Each key is the name of the parameter and the value is the parameter object. additionalProperties: - $ref: "#/components/schemas/ToolsCallParameter" + $ref: '#/components/schemas/ToolsCallParameter' + description: The parameters for the tool. Each key is the name of the parameter and the value is the parameter object. + required: + - name + - parameters ToolsCallResponse: type: object properties: rawResponse: - additionalProperties: true type: object + additionalProperties: true description: The raw response from the tool error: type: string description: The error message if applicable ActionAuthType: type: string + enum: + - AUTH_USER_OAUTH + - AUTH_ADMIN + - AUTH_NONE description: | Authentication mechanism used by an action pack. - `AUTH_USER_OAUTH`: Requires per-user OAuth consent to the third-party tool. - `AUTH_ADMIN`: Uses a service-account / admin-owned credential. End users do not authorize individually. - `AUTH_NONE`: Action pack requires no authentication. - enum: - - AUTH_USER_OAUTH - - AUTH_ADMIN - - AUTH_NONE ActionPackAuthStatus: type: object - required: - - authenticated - - authType properties: authenticated: type: boolean description: Whether the calling user is already authenticated to the tool backing the action pack. authType: - $ref: "#/components/schemas/ActionAuthType" + $ref: '#/components/schemas/ActionAuthType' + required: + - authenticated + - authType ActionPackAuthStatusResponse: type: object - required: - - actionPack properties: actionPack: - $ref: "#/components/schemas/ActionPackAuthStatus" + $ref: '#/components/schemas/ActionPackAuthStatus' description: | Action-pack-scoped authentication status. Wrapped under `actionPack` so the response shape clearly conveys that the status applies to the whole pack and leaves room to add sibling fields (e.g. per-action status) later without a breaking change. + required: + - actionPack AuthorizeActionPackRequest: type: object - required: - - returnUrl properties: returnUrl: type: string description: | URL on the customer's domain to redirect the end user's browser back to after the third-party OAuth callback completes. Must be present in the tenant's return URL allowlist. + required: + - returnUrl AuthorizeActionPackResponse: type: object - required: - - redirectUrl properties: redirectUrl: type: string description: | URL that the customer UI should navigate the end user to in order to begin the third-party OAuth flow. After the user consents, control returns to `returnUrl` from the request. + required: + - redirectUrl IndexDocumentRequest: type: object properties: @@ -14927,6 +15725,97 @@ components: required: - name - propertyType + responses: + PlatformBadRequest: + description: Invalid request (malformed JSON, invalid parameter values, unknown fields). + content: + application/problem+json: + schema: + $ref: "#/components/schemas/PlatformProblemDetail" + PlatformUnauthorized: + description: Missing or invalid authentication token. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/PlatformProblemDetail" + PlatformForbidden: + description: Token valid but lacks permission for the requested operation. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/PlatformProblemDetail" + PlatformNotFound: + description: Resource not found. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/PlatformProblemDetail" + PlatformRequestTimeout: + description: Backend did not respond within the timeout window. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/PlatformProblemDetail" + PlatformTooManyRequests: + description: Rate limit exceeded. Includes Retry-After header. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/PlatformProblemDetail" + PlatformInternalServerError: + description: Unexpected server-side failure. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/PlatformProblemDetail" + PlatformServiceUnavailable: + description: Backend temporarily unavailable. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/PlatformProblemDetail" + PlatformConflict: + description: Request conflicts with current state of the resource. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/PlatformProblemDetail" + SuccessResponse: + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/SuccessResponse' + BadRequestError: + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorInfoResponse' + UnauthorizedError: + description: Not Authorized + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorInfoResponse' + NotFoundError: + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorInfoResponse' + TooManyRequestsError: + description: Too Many Requests + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorInfoResponse' + InternalServerError: + description: Internal Server Error + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorInfoResponse' parameters: locale: name: locale @@ -14965,43 +15854,17 @@ components: schema: type: string example: o365sharepoint_abc123 - responses: - SuccessResponse: - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/SuccessResponse' - BadRequestError: - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorInfoResponse' - UnauthorizedError: - description: Not Authorized - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorInfoResponse' - NotFoundError: - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorInfoResponse' - TooManyRequestsError: - description: Too Many Requests - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorInfoResponse' - InternalServerError: - description: Internal Server Error - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorInfoResponse' +tags: + - name: Datasources + description: Manage datasources. + - name: Documents + description: Index documents from a datasource. + - name: People + description: Index employee people data. + - name: Permissions + description: Manage users, groups and membership. + - name: Authentication + description: Manage indexing API tokens. x-tagGroups: - name: Search & Generative AI tags: @@ -15031,14 +15894,3 @@ x-tagGroups: - Authentication - Insights - User -tags: - - name: Datasources - description: Manage datasources. - - name: Documents - description: Index documents from a datasource. - - name: People - description: Index employee people data. - - name: Permissions - description: Manage users, groups and membership. - - name: Authentication - description: Manage indexing API tokens. diff --git a/.speakeasy/tests.arazzo.yaml b/.speakeasy/tests.arazzo.yaml index 6b035185..e4d0670f 100644 --- a/.speakeasy/tests.arazzo.yaml +++ b/.speakeasy/tests.arazzo.yaml @@ -164301,7 +164301,7 @@ workflows: condition: | {} type: simple - x-speakeasy-test-group: Governance + x-speakeasy-test-group: findings x-speakeasy-test-rebuild: true - workflowId: downloadfindingsexport steps: @@ -164318,7 +164318,7 @@ workflows: condition: | "" type: simple - x-speakeasy-test-group: Governance + x-speakeasy-test-group: findings x-speakeasy-test-rebuild: true - workflowId: checkdatasourceauth steps: @@ -164331,7 +164331,7 @@ workflows: condition: | {"unauthorizedDatasourceInstances":[{"datasourceInstance":"slack_0","displayName":"Slack"}]} type: simple - x-speakeasy-test-group: Authentication + x-speakeasy-test-group: client_authentication x-speakeasy-test-rebuild: true - workflowId: getDatasourceInstanceConfiguration steps: @@ -164351,7 +164351,7 @@ workflows: condition: | {"configuration":{"values":{"key":{}}}} type: simple - x-speakeasy-test-group: Datasources + x-speakeasy-test-group: client_datasources x-speakeasy-test-rebuild: true - workflowId: updateDatasourceInstanceConfiguration steps: @@ -164376,7 +164376,7 @@ workflows: condition: | {"configuration":{"values":{}}} type: simple - x-speakeasy-test-group: Datasources + x-speakeasy-test-group: client_datasources x-speakeasy-test-rebuild: true - workflowId: getChatFile steps: @@ -164393,7 +164393,7 @@ workflows: condition: | "x-file: example.file" type: simple - x-speakeasy-test-group: Chat + x-speakeasy-test-group: chat x-speakeasy-test-rebuild: true - workflowId: getPersonPhoto steps: @@ -164410,7 +164410,7 @@ workflows: condition: | "x-file: example.file" type: simple - x-speakeasy-test-group: Entities + x-speakeasy-test-group: entities x-speakeasy-test-rebuild: true - workflowId: getActionPackAuthStatus steps: @@ -164427,7 +164427,7 @@ workflows: condition: | {"actionPack":{"authenticated":true,"authType":"AUTH_USER_OAUTH"}} type: simple - x-speakeasy-test-group: Tools + x-speakeasy-test-group: tools x-speakeasy-test-rebuild: true - workflowId: authorizeActionPack steps: @@ -164448,7 +164448,7 @@ workflows: condition: | {"redirectUrl":"https://unconscious-diversity.net"} type: simple - x-speakeasy-test-group: Tools + x-speakeasy-test-group: tools x-speakeasy-test-rebuild: true - workflowId: put_/rest/api/index/document/{docId}/custom-metadata/{groupName} steps: @@ -164564,7 +164564,7 @@ workflows: condition: | {"status":"VALID"} type: simple - x-speakeasy-test-group: Datasources + x-speakeasy-test-group: client_datasources x-speakeasy-test-rebuild: true - workflowId: rotateDatasourceCredentials steps: @@ -164587,7 +164587,7 @@ workflows: condition: | {"status":"MISSING"} type: simple - x-speakeasy-test-group: Datasources + x-speakeasy-test-group: client_datasources x-speakeasy-test-rebuild: true - workflowId: createAgent steps: @@ -164603,5 +164603,112 @@ workflows: condition: | {"workflow":{"author":{"name":"George Clooney","obfuscatedId":"abc123"},"lastDraftSavedBy":{"name":"George Clooney","obfuscatedId":"abc123"},"lastUpdatedBy":{"name":"George Clooney","obfuscatedId":"abc123"}}} type: simple - x-speakeasy-test-group: Agents + x-speakeasy-test-group: client_agents + x-speakeasy-test-rebuild: true + - workflowId: platform-agents-search + steps: + - stepId: test + operationId: platform-agents-search + requestBody: + contentType: application/json + payload: + name: HR Policy Agent + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"agents":[],"request_id":""} + type: simple + x-speakeasy-test-group: agents + x-speakeasy-test-rebuild: true + - workflowId: platform-agents-get + steps: + - stepId: test + operationId: platform-agents-get + parameters: + - name: agent_id + in: path + value: + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"agent":{"agent_id":"mho4lwzylcozgoc2","name":"HR Policy Agent","capabilities":{}},"request_id":""} + type: simple + x-speakeasy-test-group: agents + x-speakeasy-test-rebuild: true + - workflowId: platform-agents-get-schemas + steps: + - stepId: test + operationId: platform-agents-get-schemas + parameters: + - name: agent_id + in: path + value: + - name: include_tools + in: query + value: false + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"agent_id":"","input_schema":{},"output_schema":{"key":"","key1":"","key2":""},"request_id":""} + type: simple + x-speakeasy-test-group: agents + x-speakeasy-test-rebuild: true + - workflowId: platform-agents-create-run + steps: + - stepId: test + operationId: platform-agents-create-run + parameters: + - name: agent_id + in: path + value: + requestBody: + contentType: application/json + payload: + messages: + - content: [] + role: USER + stream: false + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"run":{"agent_id":"","messages":[{"role":"USER","content":[]}],"status":"error"},"messages":[{"role":"USER","content":[]}],"request_id":""} + type: simple + x-speakeasy-test-group: agents + x-speakeasy-test-rebuild: true + - workflowId: platform-search + steps: + - stepId: test + operationId: platform-search + requestBody: + contentType: application/json + payload: + datasource_instances: + - slack_acme + - slack_eu + datasources: + - confluence + - google_drive + filters: + - field: type + values: + - spreadsheet + - presentation + page_size: 10 + query: quarterly planning 2026 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"results":[],"has_more":false,"next_cursor":"","request_id":""} + type: simple + x-speakeasy-test-group: search x-speakeasy-test-rebuild: true diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index da0a8723..04718c17 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.786.1 +speakeasyVersion: 1.788.0 sources: Glean API: sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:0aa65878b670fc7e74d43157917386f382a83dd69272c819f65dc186effea962 - sourceBlobDigest: sha256:66de041a153c12380523286537f7f653aa3d86951046900093aed63f8a7828fd + sourceRevisionDigest: sha256:246abdd49c246fce5b73bbb889da02141eaebcb7518c0ec21dbfbb75b3a53294 + sourceBlobDigest: sha256:def1b0c41f5ee4bd90ba40af9ce88738cd00213633e1ca6b261558b6d885ab04 tags: - latest Glean Client API: @@ -17,10 +17,10 @@ targets: glean: source: Glean API sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:0aa65878b670fc7e74d43157917386f382a83dd69272c819f65dc186effea962 - sourceBlobDigest: sha256:66de041a153c12380523286537f7f653aa3d86951046900093aed63f8a7828fd + sourceRevisionDigest: sha256:246abdd49c246fce5b73bbb889da02141eaebcb7518c0ec21dbfbb75b3a53294 + sourceBlobDigest: sha256:def1b0c41f5ee4bd90ba40af9ce88738cd00213633e1ca6b261558b6d885ab04 codeSamplesNamespace: glean-api-specs-typescript-code-samples - codeSamplesRevisionDigest: sha256:1f9c79ebc65bfab681f8507908e77158b278a57eda696ae2a716603b709b0566 + codeSamplesRevisionDigest: sha256:fd55d7c832894fd469250408a7575157906b9ebfe2a2b96b55cce9bd95747b17 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/REACT_QUERY.md b/REACT_QUERY.md index 4471763c..832fb713 100644 --- a/REACT_QUERY.md +++ b/REACT_QUERY.md @@ -50,10 +50,10 @@ from TanStack Query. [use-query]: https://tanstack.com/query/v5/docs/framework/react/reference/useQuery ```tsx -import { useClientAgentsRetrieve } from "@gleanwork/api-client/react-query/clientAgentsRetrieve.js"; +import { useAgentsGet } from "@gleanwork/api-client/react-query/agentsGet.js"; export function Example() { - const { data, error, status } = useClientAgentsRetrieve(""); + const { data, error, status } = useAgentsGet(""); // Render the UI here... } @@ -66,11 +66,11 @@ more options provided by the query hooks to control these behaviors. ```tsx import { useState } from "react"; -import { useClientAgentsRetrieve } from "@gleanwork/api-client/react-query/clientAgentsRetrieve.js"; +import { useAgentsGet } from "@gleanwork/api-client/react-query/agentsGet.js"; export function ExampleWithOptions() { const [enabled, setEnabled] = useState(true); - const { data, error, status } = useClientAgentsRetrieve( + const { data, error, status } = useAgentsGet( "", { // TanStack Query options: @@ -108,10 +108,10 @@ Query. [use-mutation]: https://tanstack.com/query/v5/docs/framework/react/reference/useMutation ```tsx -import { useClientActivityReportMutation } from "@gleanwork/api-client/react-query/clientActivityReport.js"; +import { useAgentsSearchMutation } from "@gleanwork/api-client/react-query/agentsSearch.js"; export function Example() { - const { mutate, status } = useClientActivityReportMutation(); + const { mutate, status } = useAgentsSearchMutation(); return (
@@ -161,10 +138,10 @@ Since the underlying SDK handles request timeouts and retries, there are a few more options provided by the mutation hooks to control these behaviors. ```tsx -import { useClientActivityReportMutation } from "@gleanwork/api-client/react-query/clientActivityReport.js"; +import { useAgentsSearchMutation } from "@gleanwork/api-client/react-query/agentsSearch.js"; export function ExampleWithOptions() { - const { mutate, status } = useClientActivityReportMutation({ + const { mutate, status } = useAgentsSearchMutation({ // TanStack Query options: networkMode: "online", gcTime: 5 * 60 * 1000, // 5 minutes @@ -196,7 +173,7 @@ query hook there are two functions that help invalidate cached data: ```tsx import { useQueryClient } from "@tanstack/react-query"; -import { invalidateClientAgentsRetrieve, invalidateAllClientAgentsRetrieve } from "@gleanwork/api-client/react-query/clientAgentsRetrieve.js"; +import { invalidateAgentsGet, invalidateAllAgentsGet } from "@gleanwork/api-client/react-query/agentsGet.js"; // Replace this with a real mutation import { useExampleMutation } from "@gleanwork/api-client/react-query/example.js"; @@ -214,9 +191,9 @@ export function Example() { mutate(formData, { onSuccess: () => { // Invalidate a single cache entry: - invalidateClientAgentsRetrieve(queryClient, /* ... arguments ... */); + invalidateAgentsGet(queryClient, /* ... arguments ... */); // OR, invalidate all cache entries for the query targets: - invalidateAllClientAgentsRetrieve(queryClient); + invalidateAllAgentsGet(queryClient); }, }); }} @@ -244,7 +221,7 @@ import { ErrorBoundary } from "react-error-boundary"; import { GleanCore } from "@gleanwork/api-client"; import { GleanProvider } from "@gleanwork/api-client/react-query"; -import { useClientAgentsRetrieveSuspense } from "@gleanwork/api-client/react-query/clientAgentsRetrieve.js"; +import { useAgentsGetSuspense } from "@gleanwork/api-client/react-query/agentsGet.js"; const queryClient = new QueryClient(); const glean = new GleanCore({ @@ -279,7 +256,7 @@ export function App() { } function Example() { - const { data } = useClientAgentsRetrieveSuspense(""); + const { data } = useAgentsGetSuspense(""); // Render the UI here... } @@ -299,7 +276,7 @@ import { QueryClient, } from "@tanstack/react-query"; import { GleanCore } from "@gleanwork/api-client"; -import { prefetchClientAgentsRetrieve } from "@gleanwork/api-client/react-query/clientAgentsRetrieve.js"; +import { prefetchAgentsGet } from "@gleanwork/api-client/react-query/agentsGet.js"; export default async function Page() { const queryClient = new QueryClient(); @@ -307,7 +284,7 @@ export default async function Page() { apiToken: process.env["GLEAN_API_TOKEN"] ?? "", }); - await prefetchClientAgentsRetrieve(queryClient, glean, ""); + await prefetchAgentsGet(queryClient, glean, ""); return ( // HydrationBoundary is a Client Component, so hydration will happen there. diff --git a/README.md b/README.md index 528f7023..91f91a9a 100644 --- a/README.md +++ b/README.md @@ -212,32 +212,11 @@ const glean = new Glean({ }); async function run() { - await glean.client.activity.report({ - events: [ - { - action: "HISTORICAL_VIEW", - timestamp: new Date("2000-01-23T04:56:07.000Z"), - url: "https://example.com/", - }, - { - action: "SEARCH", - params: { - query: "query", - }, - timestamp: new Date("2000-01-23T04:56:07.000Z"), - url: "https://example.com/search?q=query", - }, - { - action: "VIEW", - params: { - duration: 20, - referrer: "https://example.com/document", - }, - timestamp: new Date("2000-01-23T04:56:07.000Z"), - url: "https://example.com/", - }, - ], + const result = await glean.agents.search({ + name: "HR Policy Agent", }); + + console.log(result); } run(); @@ -282,16 +261,10 @@ For more information on obtaining the appropriate token type, please contact you ### [Agents](docs/sdks/agents/README.md) -* [createAgent](docs/sdks/agents/README.md#createagent) - Create an agent -* [editAgent](docs/sdks/agents/README.md#editagent) - Edit an agent - -### [Authentication](docs/sdks/authentication/README.md) - -* [checkdatasourceauth](docs/sdks/authentication/README.md#checkdatasourceauth) - Check datasource authorization - -### [Chat](docs/sdks/chat/README.md) - -* [getChatFile](docs/sdks/chat/README.md#getchatfile) - Download a chat file +* [search](docs/sdks/agents/README.md#search) - Search agents +* [get](docs/sdks/agents/README.md#get) - Get agent +* [getSchemas](docs/sdks/agents/README.md#getschemas) - Get agent schemas +* [createRun](docs/sdks/agents/README.md#createrun) - Create agent run ### [Client.Activity](docs/sdks/activity/README.md) @@ -300,7 +273,9 @@ For more information on obtaining the appropriate token type, please contact you ### [Client.Agents](docs/sdks/clientagents/README.md) +* [create](docs/sdks/clientagents/README.md#create) - Create an agent * [retrieve](docs/sdks/clientagents/README.md#retrieve) - Retrieve an agent +* [update](docs/sdks/clientagents/README.md#update) - Edit an agent * [retrieveSchemas](docs/sdks/clientagents/README.md#retrieveschemas) - List an agent's schemas * [list](docs/sdks/clientagents/README.md#list) - Search agents * [runStream](docs/sdks/clientagents/README.md#runstream) - Create an agent run and stream the response @@ -322,20 +297,22 @@ For more information on obtaining the appropriate token type, please contact you ### [Client.Authentication](docs/sdks/clientauthentication/README.md) +* [checkDatasourceAuth](docs/sdks/clientauthentication/README.md#checkdatasourceauth) - Check datasource authorization * [createToken](docs/sdks/clientauthentication/README.md#createtoken) - Create authentication token -### [Client.Chat](docs/sdks/clientchat/README.md) +### [Client.Chat](docs/sdks/chat/README.md) -* [create](docs/sdks/clientchat/README.md#create) - Chat -* [deleteAll](docs/sdks/clientchat/README.md#deleteall) - Deletes all saved Chats owned by a user -* [delete](docs/sdks/clientchat/README.md#delete) - Deletes saved Chats -* [retrieve](docs/sdks/clientchat/README.md#retrieve) - Retrieves a Chat -* [list](docs/sdks/clientchat/README.md#list) - Retrieves all saved Chats -* [retrieveApplication](docs/sdks/clientchat/README.md#retrieveapplication) - Gets the metadata for a custom Chat application -* [uploadFiles](docs/sdks/clientchat/README.md#uploadfiles) - Upload files for Chat -* [retrieveFiles](docs/sdks/clientchat/README.md#retrievefiles) - Get files uploaded by a user for Chat -* [deleteFiles](docs/sdks/clientchat/README.md#deletefiles) - Delete files uploaded by a user for chat -* [createStream](docs/sdks/clientchat/README.md#createstream) - Chat +* [create](docs/sdks/chat/README.md#create) - Chat +* [deleteAll](docs/sdks/chat/README.md#deleteall) - Deletes all saved Chats owned by a user +* [delete](docs/sdks/chat/README.md#delete) - Deletes saved Chats +* [retrieve](docs/sdks/chat/README.md#retrieve) - Retrieves a Chat +* [list](docs/sdks/chat/README.md#list) - Retrieves all saved Chats +* [retrieveApplication](docs/sdks/chat/README.md#retrieveapplication) - Gets the metadata for a custom Chat application +* [uploadFiles](docs/sdks/chat/README.md#uploadfiles) - Upload files for Chat +* [retrieveFiles](docs/sdks/chat/README.md#retrievefiles) - Get files uploaded by a user for Chat +* [deleteFiles](docs/sdks/chat/README.md#deletefiles) - Delete files uploaded by a user for chat +* [retrieveFile](docs/sdks/chat/README.md#retrievefile) - Download a chat file +* [createStream](docs/sdks/chat/README.md#createstream) - Chat ### [Client.Collections](docs/sdks/collections/README.md) @@ -348,6 +325,13 @@ For more information on obtaining the appropriate token type, please contact you * [retrieve](docs/sdks/collections/README.md#retrieve) - Read Collection * [list](docs/sdks/collections/README.md#list) - List Collections +### [Client.Datasources](docs/sdks/clientdatasources/README.md) + +* [retrieveConfiguration](docs/sdks/clientdatasources/README.md#retrieveconfiguration) - Get datasource instance configuration +* [updateConfiguration](docs/sdks/clientdatasources/README.md#updateconfiguration) - Update datasource instance configuration +* [retrieveCredentialStatus](docs/sdks/clientdatasources/README.md#retrievecredentialstatus) - Get datasource instance credential status +* [rotateCredentials](docs/sdks/clientdatasources/README.md#rotatecredentials) - Rotate datasource instance credentials + ### [Client.Documents](docs/sdks/clientdocuments/README.md) * [retrievePermissions](docs/sdks/clientdocuments/README.md#retrievepermissions) - Read document permissions @@ -355,10 +339,18 @@ For more information on obtaining the appropriate token type, please contact you * [retrieveByFacets](docs/sdks/clientdocuments/README.md#retrievebyfacets) - Read documents by facets * [summarize](docs/sdks/clientdocuments/README.md#summarize) - Summarize documents -### [Client.Entities](docs/sdks/cliententities/README.md) +### [Client.Entities](docs/sdks/entities/README.md) + +* [list](docs/sdks/entities/README.md#list) - List entities +* [readPeople](docs/sdks/entities/README.md#readpeople) - Read people +* [retrievePersonPhoto](docs/sdks/entities/README.md#retrievepersonphoto) - Get person photo -* [list](docs/sdks/cliententities/README.md#list) - List entities -* [readPeople](docs/sdks/cliententities/README.md#readpeople) - Read people +### [Client.Governance.Data.Findings](docs/sdks/findings/README.md) + +* [create](docs/sdks/findings/README.md#create) - Creates findings export +* [list](docs/sdks/findings/README.md#list) - Lists findings exports +* [download](docs/sdks/findings/README.md#download) - Downloads findings export +* [delete](docs/sdks/findings/README.md#delete) - Deletes findings export ### [Client.Governance.Data.Policies](docs/sdks/policies/README.md) @@ -395,13 +387,13 @@ For more information on obtaining the appropriate token type, please contact you * [create](docs/sdks/pins/README.md#create) - Create pin * [remove](docs/sdks/pins/README.md#remove) - Delete pin -### [Client.Search](docs/sdks/search/README.md) +### [Client.Search](docs/sdks/clientsearch/README.md) -* [queryAsAdmin](docs/sdks/search/README.md#queryasadmin) - Search the index (admin) -* [autocomplete](docs/sdks/search/README.md#autocomplete) - Autocomplete -* [retrieveFeed](docs/sdks/search/README.md#retrievefeed) - Feed of documents and events -* [recommendations](docs/sdks/search/README.md#recommendations) - Recommend documents -* [query](docs/sdks/search/README.md#query) - Search +* [queryAsAdmin](docs/sdks/clientsearch/README.md#queryasadmin) - Search the index (admin) +* [autocomplete](docs/sdks/clientsearch/README.md#autocomplete) - Autocomplete +* [retrieveFeed](docs/sdks/clientsearch/README.md#retrievefeed) - Feed of documents and events +* [recommendations](docs/sdks/clientsearch/README.md#recommendations) - Recommend documents +* [query](docs/sdks/clientsearch/README.md#query) - Search ### [Client.Shortcuts](docs/sdks/clientshortcuts/README.md) @@ -411,10 +403,12 @@ For more information on obtaining the appropriate token type, please contact you * [list](docs/sdks/clientshortcuts/README.md#list) - List shortcuts * [update](docs/sdks/clientshortcuts/README.md#update) - Update shortcut -### [Client.Tools](docs/sdks/clienttools/README.md) +### [Client.Tools](docs/sdks/tools/README.md) -* [list](docs/sdks/clienttools/README.md#list) - List available tools -* [run](docs/sdks/clienttools/README.md#run) - Execute the specified tool +* [list](docs/sdks/tools/README.md#list) - List available tools +* [run](docs/sdks/tools/README.md#run) - Execute the specified tool +* [retrieveActionPackAuthStatus](docs/sdks/tools/README.md#retrieveactionpackauthstatus) - Get end-user authentication status for an action pack. +* [authorizeActionPack](docs/sdks/tools/README.md#authorizeactionpack) - Start the OAuth authorization flow for an action pack. ### [Client.Verification](docs/sdks/verification/README.md) @@ -422,24 +416,6 @@ For more information on obtaining the appropriate token type, please contact you * [list](docs/sdks/verification/README.md#list) - List verifications * [verify](docs/sdks/verification/README.md#verify) - Update verification -### [Datasources](docs/sdks/datasources/README.md) - -* [getDatasourceInstanceConfiguration](docs/sdks/datasources/README.md#getdatasourceinstanceconfiguration) - Get datasource instance configuration -* [updateDatasourceInstanceConfiguration](docs/sdks/datasources/README.md#updatedatasourceinstanceconfiguration) - Update datasource instance configuration -* [getDatasourceCredentialStatus](docs/sdks/datasources/README.md#getdatasourcecredentialstatus) - Get datasource instance credential status -* [rotateDatasourceCredentials](docs/sdks/datasources/README.md#rotatedatasourcecredentials) - Rotate datasource instance credentials - -### [Entities](docs/sdks/entities/README.md) - -* [getPersonPhoto](docs/sdks/entities/README.md#getpersonphoto) - Get person photo - -### [Governance](docs/sdks/governance/README.md) - -* [createfindingsexport](docs/sdks/governance/README.md#createfindingsexport) - Creates findings export -* [listfindingsexports](docs/sdks/governance/README.md#listfindingsexports) - Lists findings exports -* [downloadfindingsexport](docs/sdks/governance/README.md#downloadfindingsexport) - Downloads findings export -* [deletefindingsexport](docs/sdks/governance/README.md#deletefindingsexport) - Deletes findings export - ### [Indexing.Authentication](docs/sdks/indexingauthentication/README.md) * [rotateToken](docs/sdks/indexingauthentication/README.md#rotatetoken) - Rotate token @@ -476,6 +452,8 @@ For more information on obtaining the appropriate token type, please contact you * [checkAccess](docs/sdks/indexingdocuments/README.md#checkaccess) - Check document access * [~~status~~](docs/sdks/indexingdocuments/README.md#status) - Get document upload and indexing status :warning: **Deprecated** * [~~count~~](docs/sdks/indexingdocuments/README.md#count) - Get document count :warning: **Deprecated** +* [debugEvents](docs/sdks/indexingdocuments/README.md#debugevents) - Beta: Get document lifecycle events + ### [Indexing.People](docs/sdks/people/README.md) @@ -510,15 +488,9 @@ For more information on obtaining the appropriate token type, please contact you * [bulkIndex](docs/sdks/indexingshortcuts/README.md#bulkindex) - Bulk index external shortcuts * [upload](docs/sdks/indexingshortcuts/README.md#upload) - Upload shortcuts -### [Tools](docs/sdks/tools/README.md) - -* [getActionPackAuthStatus](docs/sdks/tools/README.md#getactionpackauthstatus) - Get end-user authentication status for an action pack. -* [authorizeActionPack](docs/sdks/tools/README.md#authorizeactionpack) - Start the OAuth authorization flow for an action pack. - -### [Troubleshooting](docs/sdks/troubleshooting/README.md) - -* [postApiIndexV1DebugDatasourceDocumentEvents](docs/sdks/troubleshooting/README.md#postapiindexv1debugdatasourcedocumentevents) - Beta: Get document lifecycle events +### [Search](docs/sdks/search/README.md) +* [query](docs/sdks/search/README.md#query) - Search @@ -538,17 +510,19 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). Available standalone functions -- [`agentsCreateAgent`](docs/sdks/agents/README.md#createagent) - Create an agent -- [`agentsEditAgent`](docs/sdks/agents/README.md#editagent) - Edit an agent -- [`authenticationCheckdatasourceauth`](docs/sdks/authentication/README.md#checkdatasourceauth) - Check datasource authorization -- [`chatGetChatFile`](docs/sdks/chat/README.md#getchatfile) - Download a chat file +- [`agentsCreateRun`](docs/sdks/agents/README.md#createrun) - Create agent run +- [`agentsGet`](docs/sdks/agents/README.md#get) - Get agent +- [`agentsGetSchemas`](docs/sdks/agents/README.md#getschemas) - Get agent schemas +- [`agentsSearch`](docs/sdks/agents/README.md#search) - Search agents - [`clientActivityFeedback`](docs/sdks/activity/README.md#feedback) - Report client activity - [`clientActivityReport`](docs/sdks/activity/README.md#report) - Report document activity +- [`clientAgentsCreate`](docs/sdks/clientagents/README.md#create) - Create an agent - [`clientAgentsList`](docs/sdks/clientagents/README.md#list) - Search agents - [`clientAgentsRetrieve`](docs/sdks/clientagents/README.md#retrieve) - Retrieve an agent - [`clientAgentsRetrieveSchemas`](docs/sdks/clientagents/README.md#retrieveschemas) - List an agent's schemas - [`clientAgentsRun`](docs/sdks/clientagents/README.md#run) - Create an agent run and wait for the response - [`clientAgentsRunStream`](docs/sdks/clientagents/README.md#runstream) - Create an agent run and stream the response +- [`clientAgentsUpdate`](docs/sdks/clientagents/README.md#update) - Edit an agent - [`clientAnnouncementsCreate`](docs/sdks/announcements/README.md#create) - Create Announcement - [`clientAnnouncementsDelete`](docs/sdks/announcements/README.md#delete) - Delete Announcement - [`clientAnnouncementsUpdate`](docs/sdks/announcements/README.md#update) - Update Announcement @@ -556,17 +530,19 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`clientAnswersDelete`](docs/sdks/answers/README.md#delete) - Delete Answer - [`clientAnswersRetrieve`](docs/sdks/answers/README.md#retrieve) - Read Answer - [`clientAnswersUpdate`](docs/sdks/answers/README.md#update) - Update Answer +- [`clientAuthenticationCheckDatasourceAuth`](docs/sdks/clientauthentication/README.md#checkdatasourceauth) - Check datasource authorization - [`clientAuthenticationCreateToken`](docs/sdks/clientauthentication/README.md#createtoken) - Create authentication token -- [`clientChatCreate`](docs/sdks/clientchat/README.md#create) - Chat -- [`clientChatCreateStream`](docs/sdks/clientchat/README.md#createstream) - Chat -- [`clientChatDelete`](docs/sdks/clientchat/README.md#delete) - Deletes saved Chats -- [`clientChatDeleteAll`](docs/sdks/clientchat/README.md#deleteall) - Deletes all saved Chats owned by a user -- [`clientChatDeleteFiles`](docs/sdks/clientchat/README.md#deletefiles) - Delete files uploaded by a user for chat -- [`clientChatList`](docs/sdks/clientchat/README.md#list) - Retrieves all saved Chats -- [`clientChatRetrieve`](docs/sdks/clientchat/README.md#retrieve) - Retrieves a Chat -- [`clientChatRetrieveApplication`](docs/sdks/clientchat/README.md#retrieveapplication) - Gets the metadata for a custom Chat application -- [`clientChatRetrieveFiles`](docs/sdks/clientchat/README.md#retrievefiles) - Get files uploaded by a user for Chat -- [`clientChatUploadFiles`](docs/sdks/clientchat/README.md#uploadfiles) - Upload files for Chat +- [`clientChatCreate`](docs/sdks/chat/README.md#create) - Chat +- [`clientChatCreateStream`](docs/sdks/chat/README.md#createstream) - Chat +- [`clientChatDelete`](docs/sdks/chat/README.md#delete) - Deletes saved Chats +- [`clientChatDeleteAll`](docs/sdks/chat/README.md#deleteall) - Deletes all saved Chats owned by a user +- [`clientChatDeleteFiles`](docs/sdks/chat/README.md#deletefiles) - Delete files uploaded by a user for chat +- [`clientChatList`](docs/sdks/chat/README.md#list) - Retrieves all saved Chats +- [`clientChatRetrieve`](docs/sdks/chat/README.md#retrieve) - Retrieves a Chat +- [`clientChatRetrieveApplication`](docs/sdks/chat/README.md#retrieveapplication) - Gets the metadata for a custom Chat application +- [`clientChatRetrieveFile`](docs/sdks/chat/README.md#retrievefile) - Download a chat file +- [`clientChatRetrieveFiles`](docs/sdks/chat/README.md#retrievefiles) - Get files uploaded by a user for Chat +- [`clientChatUploadFiles`](docs/sdks/chat/README.md#uploadfiles) - Upload files for Chat - [`clientCollectionsAddItems`](docs/sdks/collections/README.md#additems) - Add Collection item - [`clientCollectionsCreate`](docs/sdks/collections/README.md#create) - Create Collection - [`clientCollectionsDelete`](docs/sdks/collections/README.md#delete) - Delete Collection @@ -575,12 +551,21 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`clientCollectionsRetrieve`](docs/sdks/collections/README.md#retrieve) - Read Collection - [`clientCollectionsUpdate`](docs/sdks/collections/README.md#update) - Update Collection - [`clientCollectionsUpdateItem`](docs/sdks/collections/README.md#updateitem) - Update Collection item +- [`clientDatasourcesRetrieveConfiguration`](docs/sdks/clientdatasources/README.md#retrieveconfiguration) - Get datasource instance configuration +- [`clientDatasourcesRetrieveCredentialStatus`](docs/sdks/clientdatasources/README.md#retrievecredentialstatus) - Get datasource instance credential status +- [`clientDatasourcesRotateCredentials`](docs/sdks/clientdatasources/README.md#rotatecredentials) - Rotate datasource instance credentials +- [`clientDatasourcesUpdateConfiguration`](docs/sdks/clientdatasources/README.md#updateconfiguration) - Update datasource instance configuration - [`clientDocumentsRetrieve`](docs/sdks/clientdocuments/README.md#retrieve) - Read documents - [`clientDocumentsRetrieveByFacets`](docs/sdks/clientdocuments/README.md#retrievebyfacets) - Read documents by facets - [`clientDocumentsRetrievePermissions`](docs/sdks/clientdocuments/README.md#retrievepermissions) - Read document permissions - [`clientDocumentsSummarize`](docs/sdks/clientdocuments/README.md#summarize) - Summarize documents -- [`clientEntitiesList`](docs/sdks/cliententities/README.md#list) - List entities -- [`clientEntitiesReadPeople`](docs/sdks/cliententities/README.md#readpeople) - Read people +- [`clientEntitiesList`](docs/sdks/entities/README.md#list) - List entities +- [`clientEntitiesReadPeople`](docs/sdks/entities/README.md#readpeople) - Read people +- [`clientEntitiesRetrievePersonPhoto`](docs/sdks/entities/README.md#retrievepersonphoto) - Get person photo +- [`clientGovernanceDataFindingsCreate`](docs/sdks/findings/README.md#create) - Creates findings export +- [`clientGovernanceDataFindingsDelete`](docs/sdks/findings/README.md#delete) - Deletes findings export +- [`clientGovernanceDataFindingsDownload`](docs/sdks/findings/README.md#download) - Downloads findings export +- [`clientGovernanceDataFindingsList`](docs/sdks/findings/README.md#list) - Lists findings exports - [`clientGovernanceDataPoliciesCreate`](docs/sdks/policies/README.md#create) - Creates new policy - [`clientGovernanceDataPoliciesDownload`](docs/sdks/policies/README.md#download) - Downloads violations CSV for policy - [`clientGovernanceDataPoliciesList`](docs/sdks/policies/README.md#list) - Lists policies @@ -598,30 +583,23 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`clientPinsRemove`](docs/sdks/pins/README.md#remove) - Delete pin - [`clientPinsRetrieve`](docs/sdks/pins/README.md#retrieve) - Read pin - [`clientPinsUpdate`](docs/sdks/pins/README.md#update) - Update pin -- [`clientSearchAutocomplete`](docs/sdks/search/README.md#autocomplete) - Autocomplete -- [`clientSearchQuery`](docs/sdks/search/README.md#query) - Search -- [`clientSearchQueryAsAdmin`](docs/sdks/search/README.md#queryasadmin) - Search the index (admin) -- [`clientSearchRecommendations`](docs/sdks/search/README.md#recommendations) - Recommend documents -- [`clientSearchRetrieveFeed`](docs/sdks/search/README.md#retrievefeed) - Feed of documents and events +- [`clientSearchAutocomplete`](docs/sdks/clientsearch/README.md#autocomplete) - Autocomplete +- [`clientSearchQuery`](docs/sdks/clientsearch/README.md#query) - Search +- [`clientSearchQueryAsAdmin`](docs/sdks/clientsearch/README.md#queryasadmin) - Search the index (admin) +- [`clientSearchRecommendations`](docs/sdks/clientsearch/README.md#recommendations) - Recommend documents +- [`clientSearchRetrieveFeed`](docs/sdks/clientsearch/README.md#retrievefeed) - Feed of documents and events - [`clientShortcutsCreate`](docs/sdks/clientshortcuts/README.md#create) - Create shortcut - [`clientShortcutsDelete`](docs/sdks/clientshortcuts/README.md#delete) - Delete shortcut - [`clientShortcutsList`](docs/sdks/clientshortcuts/README.md#list) - List shortcuts - [`clientShortcutsRetrieve`](docs/sdks/clientshortcuts/README.md#retrieve) - Read shortcut - [`clientShortcutsUpdate`](docs/sdks/clientshortcuts/README.md#update) - Update shortcut -- [`clientToolsList`](docs/sdks/clienttools/README.md#list) - List available tools -- [`clientToolsRun`](docs/sdks/clienttools/README.md#run) - Execute the specified tool +- [`clientToolsAuthorizeActionPack`](docs/sdks/tools/README.md#authorizeactionpack) - Start the OAuth authorization flow for an action pack. +- [`clientToolsList`](docs/sdks/tools/README.md#list) - List available tools +- [`clientToolsRetrieveActionPackAuthStatus`](docs/sdks/tools/README.md#retrieveactionpackauthstatus) - Get end-user authentication status for an action pack. +- [`clientToolsRun`](docs/sdks/tools/README.md#run) - Execute the specified tool - [`clientVerificationAddReminder`](docs/sdks/verification/README.md#addreminder) - Create verification - [`clientVerificationList`](docs/sdks/verification/README.md#list) - List verifications - [`clientVerificationVerify`](docs/sdks/verification/README.md#verify) - Update verification -- [`datasourcesGetDatasourceCredentialStatus`](docs/sdks/datasources/README.md#getdatasourcecredentialstatus) - Get datasource instance credential status -- [`datasourcesGetDatasourceInstanceConfiguration`](docs/sdks/datasources/README.md#getdatasourceinstanceconfiguration) - Get datasource instance configuration -- [`datasourcesRotateDatasourceCredentials`](docs/sdks/datasources/README.md#rotatedatasourcecredentials) - Rotate datasource instance credentials -- [`datasourcesUpdateDatasourceInstanceConfiguration`](docs/sdks/datasources/README.md#updatedatasourceinstanceconfiguration) - Update datasource instance configuration -- [`entitiesGetPersonPhoto`](docs/sdks/entities/README.md#getpersonphoto) - Get person photo -- [`governanceCreatefindingsexport`](docs/sdks/governance/README.md#createfindingsexport) - Creates findings export -- [`governanceDeletefindingsexport`](docs/sdks/governance/README.md#deletefindingsexport) - Deletes findings export -- [`governanceDownloadfindingsexport`](docs/sdks/governance/README.md#downloadfindingsexport) - Downloads findings export -- [`governanceListfindingsexports`](docs/sdks/governance/README.md#listfindingsexports) - Lists findings exports - [`indexingAuthenticationRotateToken`](docs/sdks/indexingauthentication/README.md#rotatetoken) - Rotate token - [`indexingCustomMetadataDelete`](docs/sdks/custommetadata/README.md#delete) - Remove custom metadata - [`indexingCustomMetadataDeleteSchema`](docs/sdks/custommetadata/README.md#deleteschema) - Remove metadata schema @@ -637,6 +615,8 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`indexingDocumentsCheckAccess`](docs/sdks/indexingdocuments/README.md#checkaccess) - Check document access - [`indexingDocumentsDebug`](docs/sdks/indexingdocuments/README.md#debug) - Beta: Get document information +- [`indexingDocumentsDebugEvents`](docs/sdks/indexingdocuments/README.md#debugevents) - Beta: Get document lifecycle events + - [`indexingDocumentsDebugMany`](docs/sdks/indexingdocuments/README.md#debugmany) - Beta: Get information of a batch of documents - [`indexingDocumentsDelete`](docs/sdks/indexingdocuments/README.md#delete) - Delete document @@ -664,10 +644,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`indexingPermissionsUpdatePermissions`](docs/sdks/permissions/README.md#updatepermissions) - Update document permissions - [`indexingShortcutsBulkIndex`](docs/sdks/indexingshortcuts/README.md#bulkindex) - Bulk index external shortcuts - [`indexingShortcutsUpload`](docs/sdks/indexingshortcuts/README.md#upload) - Upload shortcuts -- [`toolsAuthorizeActionPack`](docs/sdks/tools/README.md#authorizeactionpack) - Start the OAuth authorization flow for an action pack. -- [`toolsGetActionPackAuthStatus`](docs/sdks/tools/README.md#getactionpackauthstatus) - Get end-user authentication status for an action pack. -- [`troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents`](docs/sdks/troubleshooting/README.md#postapiindexv1debugdatasourcedocumentevents) - Beta: Get document lifecycle events - +- [`searchQuery`](docs/sdks/search/README.md#query) - Search - ~~[`clientAnswersList`](docs/sdks/answers/README.md#list)~~ - List Answers :warning: **Deprecated** - ~~[`indexingDocumentsCount`](docs/sdks/indexingdocuments/README.md#count)~~ - Get document count :warning: **Deprecated** - ~~[`indexingDocumentsStatus`](docs/sdks/indexingdocuments/README.md#status)~~ - Get document upload and indexing status :warning: **Deprecated** @@ -699,17 +676,19 @@ To learn about this feature and how to get started, check Available React hooks -- [`useAgentsCreateAgentMutation`](docs/sdks/agents/README.md#createagent) - Create an agent -- [`useAgentsEditAgentMutation`](docs/sdks/agents/README.md#editagent) - Edit an agent -- [`useAuthenticationCheckdatasourceauthMutation`](docs/sdks/authentication/README.md#checkdatasourceauth) - Check datasource authorization -- [`useChatGetChatFile`](docs/sdks/chat/README.md#getchatfile) - Download a chat file +- [`useAgentsCreateRunMutation`](docs/sdks/agents/README.md#createrun) - Create agent run +- [`useAgentsGet`](docs/sdks/agents/README.md#get) - Get agent +- [`useAgentsGetSchemas`](docs/sdks/agents/README.md#getschemas) - Get agent schemas +- [`useAgentsSearchMutation`](docs/sdks/agents/README.md#search) - Search agents - [`useClientActivityFeedbackMutation`](docs/sdks/activity/README.md#feedback) - Report client activity - [`useClientActivityReportMutation`](docs/sdks/activity/README.md#report) - Report document activity +- [`useClientAgentsCreateMutation`](docs/sdks/clientagents/README.md#create) - Create an agent - [`useClientAgentsListMutation`](docs/sdks/clientagents/README.md#list) - Search agents - [`useClientAgentsRetrieve`](docs/sdks/clientagents/README.md#retrieve) - Retrieve an agent - [`useClientAgentsRetrieveSchemas`](docs/sdks/clientagents/README.md#retrieveschemas) - List an agent's schemas - [`useClientAgentsRunMutation`](docs/sdks/clientagents/README.md#run) - Create an agent run and wait for the response - [`useClientAgentsRunStreamMutation`](docs/sdks/clientagents/README.md#runstream) - Create an agent run and stream the response +- [`useClientAgentsUpdateMutation`](docs/sdks/clientagents/README.md#update) - Edit an agent - [`useClientAnnouncementsCreateMutation`](docs/sdks/announcements/README.md#create) - Create Announcement - [`useClientAnnouncementsDeleteMutation`](docs/sdks/announcements/README.md#delete) - Delete Announcement - [`useClientAnnouncementsUpdateMutation`](docs/sdks/announcements/README.md#update) - Update Announcement @@ -717,17 +696,19 @@ To learn about this feature and how to get started, check - [`useClientAnswersDeleteMutation`](docs/sdks/answers/README.md#delete) - Delete Answer - [`useClientAnswersRetrieveMutation`](docs/sdks/answers/README.md#retrieve) - Read Answer - [`useClientAnswersUpdateMutation`](docs/sdks/answers/README.md#update) - Update Answer +- [`useClientAuthenticationCheckDatasourceAuthMutation`](docs/sdks/clientauthentication/README.md#checkdatasourceauth) - Check datasource authorization - [`useClientAuthenticationCreateTokenMutation`](docs/sdks/clientauthentication/README.md#createtoken) - Create authentication token -- [`useClientChatCreateMutation`](docs/sdks/clientchat/README.md#create) - Chat -- [`useClientChatCreateStreamMutation`](docs/sdks/clientchat/README.md#createstream) - Chat -- [`useClientChatDeleteAllMutation`](docs/sdks/clientchat/README.md#deleteall) - Deletes all saved Chats owned by a user -- [`useClientChatDeleteFilesMutation`](docs/sdks/clientchat/README.md#deletefiles) - Delete files uploaded by a user for chat -- [`useClientChatDeleteMutation`](docs/sdks/clientchat/README.md#delete) - Deletes saved Chats -- [`useClientChatListMutation`](docs/sdks/clientchat/README.md#list) - Retrieves all saved Chats -- [`useClientChatRetrieveApplicationMutation`](docs/sdks/clientchat/README.md#retrieveapplication) - Gets the metadata for a custom Chat application -- [`useClientChatRetrieveFilesMutation`](docs/sdks/clientchat/README.md#retrievefiles) - Get files uploaded by a user for Chat -- [`useClientChatRetrieveMutation`](docs/sdks/clientchat/README.md#retrieve) - Retrieves a Chat -- [`useClientChatUploadFilesMutation`](docs/sdks/clientchat/README.md#uploadfiles) - Upload files for Chat +- [`useClientChatCreateMutation`](docs/sdks/chat/README.md#create) - Chat +- [`useClientChatCreateStreamMutation`](docs/sdks/chat/README.md#createstream) - Chat +- [`useClientChatDeleteAllMutation`](docs/sdks/chat/README.md#deleteall) - Deletes all saved Chats owned by a user +- [`useClientChatDeleteFilesMutation`](docs/sdks/chat/README.md#deletefiles) - Delete files uploaded by a user for chat +- [`useClientChatDeleteMutation`](docs/sdks/chat/README.md#delete) - Deletes saved Chats +- [`useClientChatListMutation`](docs/sdks/chat/README.md#list) - Retrieves all saved Chats +- [`useClientChatRetrieveApplicationMutation`](docs/sdks/chat/README.md#retrieveapplication) - Gets the metadata for a custom Chat application +- [`useClientChatRetrieveFile`](docs/sdks/chat/README.md#retrievefile) - Download a chat file +- [`useClientChatRetrieveFilesMutation`](docs/sdks/chat/README.md#retrievefiles) - Get files uploaded by a user for Chat +- [`useClientChatRetrieveMutation`](docs/sdks/chat/README.md#retrieve) - Retrieves a Chat +- [`useClientChatUploadFilesMutation`](docs/sdks/chat/README.md#uploadfiles) - Upload files for Chat - [`useClientCollectionsAddItemsMutation`](docs/sdks/collections/README.md#additems) - Add Collection item - [`useClientCollectionsCreateMutation`](docs/sdks/collections/README.md#create) - Create Collection - [`useClientCollectionsDeleteItemMutation`](docs/sdks/collections/README.md#deleteitem) - Delete Collection item @@ -736,12 +717,21 @@ To learn about this feature and how to get started, check - [`useClientCollectionsRetrieveMutation`](docs/sdks/collections/README.md#retrieve) - Read Collection - [`useClientCollectionsUpdateItemMutation`](docs/sdks/collections/README.md#updateitem) - Update Collection item - [`useClientCollectionsUpdateMutation`](docs/sdks/collections/README.md#update) - Update Collection +- [`useClientDatasourcesRetrieveConfiguration`](docs/sdks/clientdatasources/README.md#retrieveconfiguration) - Get datasource instance configuration +- [`useClientDatasourcesRetrieveCredentialStatus`](docs/sdks/clientdatasources/README.md#retrievecredentialstatus) - Get datasource instance credential status +- [`useClientDatasourcesRotateCredentialsMutation`](docs/sdks/clientdatasources/README.md#rotatecredentials) - Rotate datasource instance credentials +- [`useClientDatasourcesUpdateConfigurationMutation`](docs/sdks/clientdatasources/README.md#updateconfiguration) - Update datasource instance configuration - [`useClientDocumentsRetrieveByFacetsMutation`](docs/sdks/clientdocuments/README.md#retrievebyfacets) - Read documents by facets - [`useClientDocumentsRetrieveMutation`](docs/sdks/clientdocuments/README.md#retrieve) - Read documents - [`useClientDocumentsRetrievePermissionsMutation`](docs/sdks/clientdocuments/README.md#retrievepermissions) - Read document permissions - [`useClientDocumentsSummarizeMutation`](docs/sdks/clientdocuments/README.md#summarize) - Summarize documents -- [`useClientEntitiesListMutation`](docs/sdks/cliententities/README.md#list) - List entities -- [`useClientEntitiesReadPeopleMutation`](docs/sdks/cliententities/README.md#readpeople) - Read people +- [`useClientEntitiesListMutation`](docs/sdks/entities/README.md#list) - List entities +- [`useClientEntitiesReadPeopleMutation`](docs/sdks/entities/README.md#readpeople) - Read people +- [`useClientEntitiesRetrievePersonPhoto`](docs/sdks/entities/README.md#retrievepersonphoto) - Get person photo +- [`useClientGovernanceDataFindingsCreateMutation`](docs/sdks/findings/README.md#create) - Creates findings export +- [`useClientGovernanceDataFindingsDeleteMutation`](docs/sdks/findings/README.md#delete) - Deletes findings export +- [`useClientGovernanceDataFindingsDownload`](docs/sdks/findings/README.md#download) - Downloads findings export +- [`useClientGovernanceDataFindingsList`](docs/sdks/findings/README.md#list) - Lists findings exports - [`useClientGovernanceDataPoliciesCreateMutation`](docs/sdks/policies/README.md#create) - Creates new policy - [`useClientGovernanceDataPoliciesDownload`](docs/sdks/policies/README.md#download) - Downloads violations CSV for policy - [`useClientGovernanceDataPoliciesList`](docs/sdks/policies/README.md#list) - Lists policies @@ -759,30 +749,23 @@ To learn about this feature and how to get started, check - [`useClientPinsRemoveMutation`](docs/sdks/pins/README.md#remove) - Delete pin - [`useClientPinsRetrieveMutation`](docs/sdks/pins/README.md#retrieve) - Read pin - [`useClientPinsUpdateMutation`](docs/sdks/pins/README.md#update) - Update pin -- [`useClientSearchAutocompleteMutation`](docs/sdks/search/README.md#autocomplete) - Autocomplete -- [`useClientSearchQueryAsAdminMutation`](docs/sdks/search/README.md#queryasadmin) - Search the index (admin) -- [`useClientSearchQueryMutation`](docs/sdks/search/README.md#query) - Search -- [`useClientSearchRecommendationsMutation`](docs/sdks/search/README.md#recommendations) - Recommend documents -- [`useClientSearchRetrieveFeedMutation`](docs/sdks/search/README.md#retrievefeed) - Feed of documents and events +- [`useClientSearchAutocompleteMutation`](docs/sdks/clientsearch/README.md#autocomplete) - Autocomplete +- [`useClientSearchQueryAsAdminMutation`](docs/sdks/clientsearch/README.md#queryasadmin) - Search the index (admin) +- [`useClientSearchQueryMutation`](docs/sdks/clientsearch/README.md#query) - Search +- [`useClientSearchRecommendationsMutation`](docs/sdks/clientsearch/README.md#recommendations) - Recommend documents +- [`useClientSearchRetrieveFeedMutation`](docs/sdks/clientsearch/README.md#retrievefeed) - Feed of documents and events - [`useClientShortcutsCreateMutation`](docs/sdks/clientshortcuts/README.md#create) - Create shortcut - [`useClientShortcutsDeleteMutation`](docs/sdks/clientshortcuts/README.md#delete) - Delete shortcut - [`useClientShortcutsListMutation`](docs/sdks/clientshortcuts/README.md#list) - List shortcuts - [`useClientShortcutsRetrieveMutation`](docs/sdks/clientshortcuts/README.md#retrieve) - Read shortcut - [`useClientShortcutsUpdateMutation`](docs/sdks/clientshortcuts/README.md#update) - Update shortcut -- [`useClientToolsList`](docs/sdks/clienttools/README.md#list) - List available tools -- [`useClientToolsRunMutation`](docs/sdks/clienttools/README.md#run) - Execute the specified tool +- [`useClientToolsAuthorizeActionPackMutation`](docs/sdks/tools/README.md#authorizeactionpack) - Start the OAuth authorization flow for an action pack. +- [`useClientToolsList`](docs/sdks/tools/README.md#list) - List available tools +- [`useClientToolsRetrieveActionPackAuthStatus`](docs/sdks/tools/README.md#retrieveactionpackauthstatus) - Get end-user authentication status for an action pack. +- [`useClientToolsRunMutation`](docs/sdks/tools/README.md#run) - Execute the specified tool - [`useClientVerificationAddReminderMutation`](docs/sdks/verification/README.md#addreminder) - Create verification - [`useClientVerificationListMutation`](docs/sdks/verification/README.md#list) - List verifications - [`useClientVerificationVerifyMutation`](docs/sdks/verification/README.md#verify) - Update verification -- [`useDatasourcesGetDatasourceCredentialStatus`](docs/sdks/datasources/README.md#getdatasourcecredentialstatus) - Get datasource instance credential status -- [`useDatasourcesGetDatasourceInstanceConfiguration`](docs/sdks/datasources/README.md#getdatasourceinstanceconfiguration) - Get datasource instance configuration -- [`useDatasourcesRotateDatasourceCredentialsMutation`](docs/sdks/datasources/README.md#rotatedatasourcecredentials) - Rotate datasource instance credentials -- [`useDatasourcesUpdateDatasourceInstanceConfigurationMutation`](docs/sdks/datasources/README.md#updatedatasourceinstanceconfiguration) - Update datasource instance configuration -- [`useEntitiesGetPersonPhoto`](docs/sdks/entities/README.md#getpersonphoto) - Get person photo -- [`useGovernanceCreatefindingsexportMutation`](docs/sdks/governance/README.md#createfindingsexport) - Creates findings export -- [`useGovernanceDeletefindingsexportMutation`](docs/sdks/governance/README.md#deletefindingsexport) - Deletes findings export -- [`useGovernanceDownloadfindingsexport`](docs/sdks/governance/README.md#downloadfindingsexport) - Downloads findings export -- [`useGovernanceListfindingsexports`](docs/sdks/governance/README.md#listfindingsexports) - Lists findings exports - [`useIndexingAuthenticationRotateTokenMutation`](docs/sdks/indexingauthentication/README.md#rotatetoken) - Rotate token - [`useIndexingCustomMetadataDeleteMutation`](docs/sdks/custommetadata/README.md#delete) - Remove custom metadata - [`useIndexingCustomMetadataDeleteSchemaMutation`](docs/sdks/custommetadata/README.md#deleteschema) - Remove metadata schema @@ -796,6 +779,8 @@ To learn about this feature and how to get started, check - [`useIndexingDocumentsAddOrUpdateMutation`](docs/sdks/indexingdocuments/README.md#addorupdate) - Index document - [`useIndexingDocumentsBulkIndexMutation`](docs/sdks/indexingdocuments/README.md#bulkindex) - Bulk index documents - [`useIndexingDocumentsCheckAccessMutation`](docs/sdks/indexingdocuments/README.md#checkaccess) - Check document access +- [`useIndexingDocumentsDebugEventsMutation`](docs/sdks/indexingdocuments/README.md#debugevents) - Beta: Get document lifecycle events + - [`useIndexingDocumentsDebugManyMutation`](docs/sdks/indexingdocuments/README.md#debugmany) - Beta: Get information of a batch of documents - [`useIndexingDocumentsDebugMutation`](docs/sdks/indexingdocuments/README.md#debug) - Beta: Get document information @@ -825,10 +810,7 @@ To learn about this feature and how to get started, check - [`useIndexingPermissionsUpdatePermissionsMutation`](docs/sdks/permissions/README.md#updatepermissions) - Update document permissions - [`useIndexingShortcutsBulkIndexMutation`](docs/sdks/indexingshortcuts/README.md#bulkindex) - Bulk index external shortcuts - [`useIndexingShortcutsUploadMutation`](docs/sdks/indexingshortcuts/README.md#upload) - Upload shortcuts -- [`useToolsAuthorizeActionPackMutation`](docs/sdks/tools/README.md#authorizeactionpack) - Start the OAuth authorization flow for an action pack. -- [`useToolsGetActionPackAuthStatus`](docs/sdks/tools/README.md#getactionpackauthstatus) - Get end-user authentication status for an action pack. -- [`useTroubleshootingPostApiIndexV1DebugDatasourceDocumentEventsMutation`](docs/sdks/troubleshooting/README.md#postapiindexv1debugdatasourcedocumentevents) - Beta: Get document lifecycle events - +- [`useSearchQueryMutation`](docs/sdks/search/README.md#query) - Search - ~~[`useClientAnswersListMutation`](docs/sdks/answers/README.md#list)~~ - List Answers :warning: **Deprecated** - ~~[`useIndexingDocumentsCountMutation`](docs/sdks/indexingdocuments/README.md#count)~~ - Get document count :warning: **Deprecated** - ~~[`useIndexingDocumentsStatusMutation`](docs/sdks/indexingdocuments/README.md#status)~~ - Get document upload and indexing status :warning: **Deprecated** @@ -889,31 +871,8 @@ const glean = new Glean({ }); async function run() { - await glean.client.activity.report({ - events: [ - { - action: "HISTORICAL_VIEW", - timestamp: new Date("2000-01-23T04:56:07.000Z"), - url: "https://example.com/", - }, - { - action: "SEARCH", - params: { - query: "query", - }, - timestamp: new Date("2000-01-23T04:56:07.000Z"), - url: "https://example.com/search?q=query", - }, - { - action: "VIEW", - params: { - duration: 20, - referrer: "https://example.com/document", - }, - timestamp: new Date("2000-01-23T04:56:07.000Z"), - url: "https://example.com/", - }, - ], + const result = await glean.agents.search({ + name: "HR Policy Agent", }, { retries: { strategy: "backoff", @@ -926,6 +885,8 @@ async function run() { retryConnectionErrors: false, }, }); + + console.log(result); } run(); @@ -951,32 +912,11 @@ const glean = new Glean({ }); async function run() { - await glean.client.activity.report({ - events: [ - { - action: "HISTORICAL_VIEW", - timestamp: new Date("2000-01-23T04:56:07.000Z"), - url: "https://example.com/", - }, - { - action: "SEARCH", - params: { - query: "query", - }, - timestamp: new Date("2000-01-23T04:56:07.000Z"), - url: "https://example.com/search?q=query", - }, - { - action: "VIEW", - params: { - duration: 20, - referrer: "https://example.com/document", - }, - timestamp: new Date("2000-01-23T04:56:07.000Z"), - url: "https://example.com/", - }, - ], + const result = await glean.agents.search({ + name: "HR Policy Agent", }); + + console.log(result); } run(); @@ -1070,32 +1010,11 @@ const glean = new Glean({ }); async function run() { - await glean.client.activity.report({ - events: [ - { - action: "HISTORICAL_VIEW", - timestamp: new Date("2000-01-23T04:56:07.000Z"), - url: "https://example.com/", - }, - { - action: "SEARCH", - params: { - query: "query", - }, - timestamp: new Date("2000-01-23T04:56:07.000Z"), - url: "https://example.com/search?q=query", - }, - { - action: "VIEW", - params: { - duration: 20, - referrer: "https://example.com/document", - }, - timestamp: new Date("2000-01-23T04:56:07.000Z"), - url: "https://example.com/", - }, - ], + const result = await glean.agents.search({ + name: "HR Policy Agent", }); + + console.log(result); } run(); @@ -1114,32 +1033,11 @@ const glean = new Glean({ }); async function run() { - await glean.client.activity.report({ - events: [ - { - action: "HISTORICAL_VIEW", - timestamp: new Date("2000-01-23T04:56:07.000Z"), - url: "https://example.com/", - }, - { - action: "SEARCH", - params: { - query: "query", - }, - timestamp: new Date("2000-01-23T04:56:07.000Z"), - url: "https://example.com/search?q=query", - }, - { - action: "VIEW", - params: { - duration: 20, - referrer: "https://example.com/document", - }, - timestamp: new Date("2000-01-23T04:56:07.000Z"), - url: "https://example.com/", - }, - ], + const result = await glean.agents.search({ + name: "HR Policy Agent", }); + + console.log(result); } run(); diff --git a/RELEASES.md b/RELEASES.md index 756e3bd8..e9b805f5 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -788,4 +788,14 @@ Based on: ### Generated - [typescript v0.16.1] . ### Releases -- [NPM v0.16.1] https://www.npmjs.com/package/@gleanwork/api-client/v/0.16.1 - . \ No newline at end of file +- [NPM v0.16.1] https://www.npmjs.com/package/@gleanwork/api-client/v/0.16.1 - . + +## 2026-07-02 17:47:45 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.788.0 (2.915.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.17.0] . +### Releases +- [NPM v0.17.0] https://www.npmjs.com/package/@gleanwork/api-client/v/0.17.0 - . \ No newline at end of file diff --git a/docs/models/components/actionsummary.md b/docs/models/components/actionsummary.md index 03f03242..0d14dd68 100644 --- a/docs/models/components/actionsummary.md +++ b/docs/models/components/actionsummary.md @@ -8,8 +8,8 @@ Represents a minimal summary of an action. import { ActionSummary } from "@gleanwork/api-client/models/components"; let value: ActionSummary = { - toolId: "", - displayName: "Sean71", + tool_id: "", + display_name: "Sean71", }; ``` diff --git a/docs/models/components/agent.md b/docs/models/components/agent.md index b2003ef7..2267906e 100644 --- a/docs/models/components/agent.md +++ b/docs/models/components/agent.md @@ -6,7 +6,7 @@ import { Agent } from "@gleanwork/api-client/models/components"; let value: Agent = { - agentId: "mho4lwzylcozgoc2", + agent_id: "mho4lwzylcozgoc2", name: "HR Policy Agent", description: "This agent answers questions about the current company HR policies.", diff --git a/docs/models/components/agentrun.md b/docs/models/components/agentrun.md index 2d153334..61e3a21f 100644 --- a/docs/models/components/agentrun.md +++ b/docs/models/components/agentrun.md @@ -8,7 +8,7 @@ Payload for creating a run. **Important**: If the agent uses an input form trigg import { AgentRun } from "@gleanwork/api-client/models/components"; let value: AgentRun = { - agentId: "", + agent_id: "", messages: [ { role: "USER", diff --git a/docs/models/components/agentruncreate.md b/docs/models/components/agentruncreate.md index a5023916..4afd2c20 100644 --- a/docs/models/components/agentruncreate.md +++ b/docs/models/components/agentruncreate.md @@ -8,7 +8,7 @@ Payload for creating a run. **Important**: If the agent uses an input form trigg import { AgentRunCreate } from "@gleanwork/api-client/models/components"; let value: AgentRunCreate = { - agentId: "", + agent_id: "", messages: [ { role: "USER", diff --git a/docs/models/components/agentrunwaitresponse.md b/docs/models/components/agentrunwaitresponse.md index 6a5c239b..69f3bc42 100644 --- a/docs/models/components/agentrunwaitresponse.md +++ b/docs/models/components/agentrunwaitresponse.md @@ -7,7 +7,7 @@ import { AgentRunWaitResponse } from "@gleanwork/api-client/models/components"; let value: AgentRunWaitResponse = { run: { - agentId: "", + agent_id: "", messages: [ { role: "USER", diff --git a/docs/models/components/agentschemas.md b/docs/models/components/agentschemas.md index fb97d831..829f5d02 100644 --- a/docs/models/components/agentschemas.md +++ b/docs/models/components/agentschemas.md @@ -8,10 +8,10 @@ Defines the structure and properties of an agent. import { AgentSchemas } from "@gleanwork/api-client/models/components"; let value: AgentSchemas = { - agentId: "mho4lwzylcozgoc2", + agent_id: "mho4lwzylcozgoc2", name: "HR Policy Agent", - inputSchema: {}, - outputSchema: {}, + input_schema: {}, + output_schema: {}, }; ``` diff --git a/docs/models/components/messagesresponse.md b/docs/models/components/messagesresponse.md index d4737461..e689b9fd 100644 --- a/docs/models/components/messagesresponse.md +++ b/docs/models/components/messagesresponse.md @@ -31,7 +31,7 @@ let value: MessagesResponse = { ], }, ], - gleanDataError: { + GleanDataError: { errorMessages: [ { source: "gmail", diff --git a/docs/models/components/platformactionsummary.md b/docs/models/components/platformactionsummary.md new file mode 100644 index 00000000..791348ad --- /dev/null +++ b/docs/models/components/platformactionsummary.md @@ -0,0 +1,24 @@ +# PlatformActionSummary + +## Example Usage + +```typescript +import { PlatformActionSummary } from "@gleanwork/api-client/models/components"; + +let value: PlatformActionSummary = { + tool_id: "", + display_name: "Dudley97", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `toolId` | *string* | :heavy_check_mark: | Unique identifier of the action. | +| `displayName` | *string* | :heavy_check_mark: | Display name of the action. | +| `type` | *string* | :heavy_minus_sign: | Tool type. | +| `authType` | *string* | :heavy_minus_sign: | Authentication type required by the action. | +| `writeActionType` | *string* | :heavy_minus_sign: | Write-action execution type. | +| `isSetupFinished` | *boolean* | :heavy_minus_sign: | Whether this action has been fully configured. | +| `dataSource` | *string* | :heavy_minus_sign: | Kind of knowledge the action accesses or modifies. | \ No newline at end of file diff --git a/docs/models/components/platformagent.md b/docs/models/components/platformagent.md new file mode 100644 index 00000000..4964c591 --- /dev/null +++ b/docs/models/components/platformagent.md @@ -0,0 +1,23 @@ +# PlatformAgent + +## Example Usage + +```typescript +import { PlatformAgent } from "@gleanwork/api-client/models/components"; + +let value: PlatformAgent = { + agent_id: "mho4lwzylcozgoc2", + name: "HR Policy Agent", + capabilities: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `agentId` | *string* | :heavy_check_mark: | ID of the agent. | mho4lwzylcozgoc2 | +| `name` | *string* | :heavy_check_mark: | Name of the agent. | HR Policy Agent | +| `description` | *string* | :heavy_minus_sign: | Description of the agent. | | +| `metadata` | Record | :heavy_minus_sign: | Agent metadata. | | +| `capabilities` | [components.PlatformAgentCapabilities](../../models/components/platformagentcapabilities.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/components/platformagentcapabilities.md b/docs/models/components/platformagentcapabilities.md new file mode 100644 index 00000000..db5ccfe2 --- /dev/null +++ b/docs/models/components/platformagentcapabilities.md @@ -0,0 +1,17 @@ +# PlatformAgentCapabilities + +## Example Usage + +```typescript +import { PlatformAgentCapabilities } from "@gleanwork/api-client/models/components"; + +let value: PlatformAgentCapabilities = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | +| `apIoMessages` | *boolean* | :heavy_minus_sign: | Whether the agent supports messages as input. | +| `apIoStreaming` | *boolean* | :heavy_minus_sign: | Whether the agent supports streaming output. | +| `additionalProperties` | Record | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/platformagentexecutionstatus.md b/docs/models/components/platformagentexecutionstatus.md new file mode 100644 index 00000000..e6099974 --- /dev/null +++ b/docs/models/components/platformagentexecutionstatus.md @@ -0,0 +1,19 @@ +# PlatformAgentExecutionStatus + +Status of the agent run. + +## Example Usage + +```typescript +import { PlatformAgentExecutionStatus } from "@gleanwork/api-client/models/components"; + +let value: PlatformAgentExecutionStatus = "success"; + +// Open enum: unrecognized values are captured as Unrecognized +``` + +## Values + +```typescript +"error" | "success" | Unrecognized +``` \ No newline at end of file diff --git a/docs/models/components/platformagentgetresponse.md b/docs/models/components/platformagentgetresponse.md new file mode 100644 index 00000000..3bf9df7f --- /dev/null +++ b/docs/models/components/platformagentgetresponse.md @@ -0,0 +1,23 @@ +# PlatformAgentGetResponse + +## Example Usage + +```typescript +import { PlatformAgentGetResponse } from "@gleanwork/api-client/models/components"; + +let value: PlatformAgentGetResponse = { + agent: { + agent_id: "mho4lwzylcozgoc2", + name: "HR Policy Agent", + capabilities: {}, + }, + request_id: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `agent` | [components.PlatformAgent](../../models/components/platformagent.md) | :heavy_check_mark: | N/A | +| `requestId` | *string* | :heavy_check_mark: | Platform-generated request ID for support correlation. | \ No newline at end of file diff --git a/docs/models/components/platformagentrun.md b/docs/models/components/platformagentrun.md new file mode 100644 index 00000000..bd3f8468 --- /dev/null +++ b/docs/models/components/platformagentrun.md @@ -0,0 +1,28 @@ +# PlatformAgentRun + +## Example Usage + +```typescript +import { PlatformAgentRun } from "@gleanwork/api-client/models/components"; + +let value: PlatformAgentRun = { + agent_id: "", + messages: [ + { + role: "USER", + content: [], + }, + ], + status: "success", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `agentId` | *string* | :heavy_check_mark: | ID of the agent being run. | +| `input` | Record | :heavy_minus_sign: | Input fields for an input-form triggered agent. | +| `messages` | [components.PlatformMessage](../../models/components/platformmessage.md)[] | :heavy_minus_sign: | Messages passed to the agent. | +| `metadata` | Record | :heavy_minus_sign: | Metadata passed to the agent. | +| `status` | [components.PlatformAgentExecutionStatus](../../models/components/platformagentexecutionstatus.md) | :heavy_check_mark: | Status of the agent run. | \ No newline at end of file diff --git a/docs/models/components/platformagentruncreaterequest.md b/docs/models/components/platformagentruncreaterequest.md new file mode 100644 index 00000000..97f6f64c --- /dev/null +++ b/docs/models/components/platformagentruncreaterequest.md @@ -0,0 +1,28 @@ +# PlatformAgentRunCreateRequest + +Request to run an agent. A request MUST supply either `messages` (a non-empty conversation) or `input` (for input-form triggered agents). + + +## Example Usage + +```typescript +import { PlatformAgentRunCreateRequest } from "@gleanwork/api-client/models/components"; + +let value: PlatformAgentRunCreateRequest = { + messages: [ + { + role: "USER", + content: [], + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `input` | Record | :heavy_minus_sign: | Input fields for an input-form triggered agent. | +| `messages` | [components.PlatformMessage](../../models/components/platformmessage.md)[] | :heavy_minus_sign: | Messages to pass to the agent. When provided, the array MUST contain at least one message and each message MUST specify a valid `role` and non-empty `content`.
| +| `metadata` | Record | :heavy_minus_sign: | Metadata to pass to the agent. | +| `stream` | *boolean* | :heavy_minus_sign: | Whether to stream the run response as server-sent events. | \ No newline at end of file diff --git a/docs/models/components/platformagentrunwaitresponse.md b/docs/models/components/platformagentrunwaitresponse.md new file mode 100644 index 00000000..b0128f9b --- /dev/null +++ b/docs/models/components/platformagentrunwaitresponse.md @@ -0,0 +1,35 @@ +# PlatformAgentRunWaitResponse + +## Example Usage + +```typescript +import { PlatformAgentRunWaitResponse } from "@gleanwork/api-client/models/components"; + +let value: PlatformAgentRunWaitResponse = { + run: { + agent_id: "", + messages: [ + { + role: "USER", + content: [], + }, + ], + status: "success", + }, + messages: [ + { + role: "USER", + content: [], + }, + ], + request_id: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `run` | [components.PlatformAgentRun](../../models/components/platformagentrun.md) | :heavy_minus_sign: | N/A | +| `messages` | [components.PlatformMessage](../../models/components/platformmessage.md)[] | :heavy_minus_sign: | Messages returned by the completed run. | +| `requestId` | *string* | :heavy_check_mark: | Platform-generated request ID for support correlation. | \ No newline at end of file diff --git a/docs/models/components/platformagentschemasresponse.md b/docs/models/components/platformagentschemasresponse.md new file mode 100644 index 00000000..54b82110 --- /dev/null +++ b/docs/models/components/platformagentschemasresponse.md @@ -0,0 +1,32 @@ +# PlatformAgentSchemasResponse + +## Example Usage + +```typescript +import { PlatformAgentSchemasResponse } from "@gleanwork/api-client/models/components"; + +let value: PlatformAgentSchemasResponse = { + agent_id: "", + input_schema: { + "key": "", + "key1": "", + "key2": "", + }, + output_schema: { + "key": "", + "key1": "", + }, + request_id: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `agentId` | *string* | :heavy_check_mark: | ID of the agent. | +| `name` | *string* | :heavy_minus_sign: | Name of the agent. | +| `inputSchema` | Record | :heavy_check_mark: | Agent input schema in JSON Schema format. | +| `outputSchema` | Record | :heavy_check_mark: | Agent output schema in JSON Schema format. | +| `tools` | [components.PlatformActionSummary](../../models/components/platformactionsummary.md)[] | :heavy_minus_sign: | Tools that the agent can invoke, when requested. | +| `requestId` | *string* | :heavy_check_mark: | Platform-generated request ID for support correlation. | \ No newline at end of file diff --git a/docs/models/components/platformagentssearchrequest.md b/docs/models/components/platformagentssearchrequest.md new file mode 100644 index 00000000..b8680f14 --- /dev/null +++ b/docs/models/components/platformagentssearchrequest.md @@ -0,0 +1,17 @@ +# PlatformAgentsSearchRequest + +## Example Usage + +```typescript +import { PlatformAgentsSearchRequest } from "@gleanwork/api-client/models/components"; + +let value: PlatformAgentsSearchRequest = { + name: "HR Policy Agent", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_minus_sign: | Case-insensitive substring to match against agent names. If omitted or empty, no name filter is applied. | HR Policy Agent | \ No newline at end of file diff --git a/docs/models/components/platformagentssearchresponse.md b/docs/models/components/platformagentssearchresponse.md new file mode 100644 index 00000000..bdb37b0b --- /dev/null +++ b/docs/models/components/platformagentssearchresponse.md @@ -0,0 +1,19 @@ +# PlatformAgentsSearchResponse + +## Example Usage + +```typescript +import { PlatformAgentsSearchResponse } from "@gleanwork/api-client/models/components"; + +let value: PlatformAgentsSearchResponse = { + agents: [], + request_id: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `agents` | [components.PlatformAgent](../../models/components/platformagent.md)[] | :heavy_check_mark: | Agents matching the search request. | +| `requestId` | *string* | :heavy_check_mark: | Platform-generated request ID for support correlation. | \ No newline at end of file diff --git a/docs/models/components/platformcontenttype.md b/docs/models/components/platformcontenttype.md new file mode 100644 index 00000000..774fd352 --- /dev/null +++ b/docs/models/components/platformcontenttype.md @@ -0,0 +1,15 @@ +# PlatformContentType + +## Example Usage + +```typescript +import { PlatformContentType } from "@gleanwork/api-client/models/components"; + +let value: PlatformContentType = "text"; +``` + +## Values + +```typescript +"text" +``` \ No newline at end of file diff --git a/docs/models/components/platformfilter.md b/docs/models/components/platformfilter.md new file mode 100644 index 00000000..6492968d --- /dev/null +++ b/docs/models/components/platformfilter.md @@ -0,0 +1,26 @@ +# PlatformFilter + +A single filter criterion. For `EQUALS`, multiple values within a filter are OR'd. For `NOT_EQUALS`, multiple values exclude all listed values. Filters are AND'd with each other and with any inline query operators. + + +## Example Usage + +```typescript +import { PlatformFilter } from "@gleanwork/api-client/models/components"; + +let value: PlatformFilter = { + field: "type", + values: [ + "spreadsheet", + "presentation", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `field` | *string* | :heavy_check_mark: | The field to filter on. Accepts built-in filter field names such as `type`, `owner`, `from`, `author`, `channel`, `status`, `assignee`, `reporter`, `component`, `mentions`, and `collection`, plus custom datasource property names.
| type | +| `values` | *string*[] | :heavy_check_mark: | One or more values to match. | [
"spreadsheet",
"presentation"
] | +| `operator` | [components.PlatformFilterOperator](../../models/components/platformfilteroperator.md) | :heavy_minus_sign: | Comparison operator to apply to this filter. Defaults to `EQUALS`. `GT`, `GTE`, `LT`, and `LTE` range operators require exactly one value; express bounded ranges with multiple filters on the same field.
| | \ No newline at end of file diff --git a/docs/models/components/platformfilteroperator.md b/docs/models/components/platformfilteroperator.md new file mode 100644 index 00000000..ce944be9 --- /dev/null +++ b/docs/models/components/platformfilteroperator.md @@ -0,0 +1,17 @@ +# PlatformFilterOperator + +Supported filter operator. + +## Example Usage + +```typescript +import { PlatformFilterOperator } from "@gleanwork/api-client/models/components"; + +let value: PlatformFilterOperator = "LT"; +``` + +## Values + +```typescript +"EQUALS" | "NOT_EQUALS" | "GT" | "GTE" | "LT" | "LTE" +``` \ No newline at end of file diff --git a/docs/models/components/platformmessage.md b/docs/models/components/platformmessage.md new file mode 100644 index 00000000..24331a43 --- /dev/null +++ b/docs/models/components/platformmessage.md @@ -0,0 +1,24 @@ +# PlatformMessage + +## Example Usage + +```typescript +import { PlatformMessage } from "@gleanwork/api-client/models/components"; + +let value: PlatformMessage = { + role: "USER", + content: [ + { + text: "", + type: "text", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `role` | [components.PlatformMessageRole](../../models/components/platformmessagerole.md) | :heavy_check_mark: | Role of the message author. | USER | +| `content` | [components.PlatformMessageTextBlock](../../models/components/platformmessagetextblock.md)[] | :heavy_check_mark: | Content blocks in the message. | | \ No newline at end of file diff --git a/docs/models/components/platformmessagerole.md b/docs/models/components/platformmessagerole.md new file mode 100644 index 00000000..ff7f72ab --- /dev/null +++ b/docs/models/components/platformmessagerole.md @@ -0,0 +1,19 @@ +# PlatformMessageRole + +Role of the message author. + +## Example Usage + +```typescript +import { PlatformMessageRole } from "@gleanwork/api-client/models/components"; + +let value: PlatformMessageRole = "USER"; + +// Open enum: unrecognized values are captured as Unrecognized +``` + +## Values + +```typescript +"USER" | "GLEAN_AI" | Unrecognized +``` \ No newline at end of file diff --git a/docs/models/components/platformmessagetextblock.md b/docs/models/components/platformmessagetextblock.md new file mode 100644 index 00000000..092364dd --- /dev/null +++ b/docs/models/components/platformmessagetextblock.md @@ -0,0 +1,19 @@ +# PlatformMessageTextBlock + +## Example Usage + +```typescript +import { PlatformMessageTextBlock } from "@gleanwork/api-client/models/components"; + +let value: PlatformMessageTextBlock = { + text: "", + type: "text", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `text` | *string* | :heavy_check_mark: | Text content. | +| `type` | [components.PlatformContentType](../../models/components/platformcontenttype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/platformpersonreference.md b/docs/models/components/platformpersonreference.md new file mode 100644 index 00000000..1548d7eb --- /dev/null +++ b/docs/models/components/platformpersonreference.md @@ -0,0 +1,20 @@ +# PlatformPersonReference + +A lightweight reference to a person, used where a payload merely points at someone. + +## Example Usage + +```typescript +import { PlatformPersonReference } from "@gleanwork/api-client/models/components"; + +let value: PlatformPersonReference = { + name: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `id` | *string* | :heavy_minus_sign: | Opaque Glean person ID. | +| `name` | *string* | :heavy_check_mark: | Display name. | \ No newline at end of file diff --git a/docs/models/components/platformproblemdetailcode.md b/docs/models/components/platformproblemdetailcode.md new file mode 100644 index 00000000..b07bc3e8 --- /dev/null +++ b/docs/models/components/platformproblemdetailcode.md @@ -0,0 +1,19 @@ +# PlatformProblemDetailCode + +Stable machine-readable error code. + +## Example Usage + +```typescript +import { PlatformProblemDetailCode } from "@gleanwork/api-client/models/components"; + +let value: PlatformProblemDetailCode = "invalid_cursor"; + +// Open enum: unrecognized values are captured as Unrecognized +``` + +## Values + +```typescript +"invalid_request" | "missing_required_field" | "invalid_parameter" | "invalid_cursor" | "expired_cursor" | "invalid_filter" | "invalid_datasource" | "authentication_required" | "token_expired" | "insufficient_permissions" | "resource_not_found" | "method_not_allowed" | "request_timeout" | "conflict" | "gone" | "unprocessable_query" | "rate_limit_exceeded" | "internal_error" | "service_unavailable" | Unrecognized +``` \ No newline at end of file diff --git a/docs/models/components/platformproblemdetailerror.md b/docs/models/components/platformproblemdetailerror.md new file mode 100644 index 00000000..7bd60c92 --- /dev/null +++ b/docs/models/components/platformproblemdetailerror.md @@ -0,0 +1,23 @@ +# PlatformProblemDetailError + +Field-level validation problem for a single offending field. + +## Example Usage + +```typescript +import { PlatformProblemDetailError } from "@gleanwork/api-client/models/components"; + +let value: PlatformProblemDetailError = { + pointer: "/messages/0/role", + detail: "Must be one of: USER, GLEAN_AI.", + code: "invalid_cursor", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `pointer` | *string* | :heavy_check_mark: | RFC 6901 JSON Pointer to the offending field. | /messages/0/role | +| `detail` | *string* | :heavy_check_mark: | Human-readable explanation for this field. | Must be one of: USER, GLEAN_AI. | +| `code` | [components.PlatformProblemDetailCode](../../models/components/platformproblemdetailcode.md) | :heavy_minus_sign: | Stable machine-readable error code. | invalid_cursor | \ No newline at end of file diff --git a/docs/models/components/platformresult.md b/docs/models/components/platformresult.md new file mode 100644 index 00000000..b6adfbdb --- /dev/null +++ b/docs/models/components/platformresult.md @@ -0,0 +1,33 @@ +# PlatformResult + +## Example Usage + +```typescript +import { PlatformResult } from "@gleanwork/api-client/models/components"; + +let value: PlatformResult = { + url: "https://company.atlassian.net/wiki/spaces/ENG/pages/12345", + title: "Q2 2026 Platform Roadmap", + snippets: [ + "The platform team will focus on API stability and...", + ], + datasource: "confluence", + datasource_instance: "confluence_acme", + document_type: "page", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `url` | *string* | :heavy_check_mark: | Canonical URL of the result. | https://company.atlassian.net/wiki/spaces/ENG/pages/12345 | +| `title` | *string* | :heavy_check_mark: | Result title. | Q2 2026 Platform Roadmap | +| `snippets` | *string*[] | :heavy_minus_sign: | Query-relevant plain-text excerpts from the result body. | [
"The platform team will focus on API stability and..."
] | +| `datasource` | *string* | :heavy_check_mark: | The datasource this result originates from. | confluence | +| `datasourceInstance` | *string* | :heavy_minus_sign: | The datasource instance this result originates from, if known. | confluence_acme | +| `documentType` | *string* | :heavy_minus_sign: | The document type within the datasource. | page | +| `creator` | [components.PlatformPersonReference](../../models/components/platformpersonreference.md) | :heavy_minus_sign: | A lightweight reference to a person, used where a payload merely points at someone. | | +| `owner` | [components.PlatformPersonReference](../../models/components/platformpersonreference.md) | :heavy_minus_sign: | A lightweight reference to a person, used where a payload merely points at someone. | | +| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | When the result was last modified. | | +| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | When the result was created. | | \ No newline at end of file diff --git a/docs/models/components/platformsearchrequest.md b/docs/models/components/platformsearchrequest.md new file mode 100644 index 00000000..121f093f --- /dev/null +++ b/docs/models/components/platformsearchrequest.md @@ -0,0 +1,40 @@ +# PlatformSearchRequest + +## Example Usage + +```typescript +import { PlatformSearchRequest } from "@gleanwork/api-client/models/components"; + +let value: PlatformSearchRequest = { + query: "quarterly planning 2026", + datasources: [ + "confluence", + "google_drive", + ], + datasource_instances: [ + "slack_acme", + "slack_eu", + ], + filters: [ + { + field: "type", + values: [ + "spreadsheet", + "presentation", + ], + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `query` | *string* | :heavy_check_mark: | The search query string. Supports inline operators such as `from:jane type:document app:confluence`. Inline operators are AND'd with structured `filters`.
| quarterly planning 2026 | +| `pageSize` | *number* | :heavy_minus_sign: | Number of results to return per page. | | +| `cursor` | *string* | :heavy_minus_sign: | Opaque pagination token from a previous response's `next_cursor` field. Omit on the first request.
| | +| `datasources` | *string*[] | :heavy_minus_sign: | Restrict results to specific datasources. Requests must not specify both `datasources` and `datasource_instances`.
| [
"confluence",
"google_drive"
] | +| `datasourceInstances` | *string*[] | :heavy_minus_sign: | Restrict results to specific datasource instances. Values are datasource instance identifiers returned by `GET /api/search/filters`. Requests must not specify both `datasources` and `datasource_instances`.
| [
"slack_acme",
"slack_eu"
] | +| `filters` | [components.PlatformFilter](../../models/components/platformfilter.md)[] | :heavy_minus_sign: | Structured filters applied to search results. Equality operators OR multiple values within a filter. Multiple filters are AND'd together, including range filters on the same field. Filters are AND'd with any inline operators in `query`. Note that conflicting constraints on the same field (e.g., `type:document` in the query and `type: spreadsheet` in a filter) produce an empty result set.
| | +| `timeRange` | [components.PlatformTimeRange](../../models/components/platformtimerange.md) | :heavy_minus_sign: | Filter results to those last updated within this range. | | \ No newline at end of file diff --git a/docs/models/components/platformsearchresponse.md b/docs/models/components/platformsearchresponse.md new file mode 100644 index 00000000..404fa57a --- /dev/null +++ b/docs/models/components/platformsearchresponse.md @@ -0,0 +1,23 @@ +# PlatformSearchResponse + +## Example Usage + +```typescript +import { PlatformSearchResponse } from "@gleanwork/api-client/models/components"; + +let value: PlatformSearchResponse = { + results: [], + has_more: true, + next_cursor: "", + request_id: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `results` | [components.PlatformResult](../../models/components/platformresult.md)[] | :heavy_check_mark: | Ordered list of search results. | +| `hasMore` | *boolean* | :heavy_check_mark: | Indicates whether additional pages of results are available. | +| `nextCursor` | *string* | :heavy_check_mark: | Opaque token to pass as `cursor` in the next request. | +| `requestId` | *string* | :heavy_check_mark: | Platform-generated request ID for support correlation. | \ No newline at end of file diff --git a/docs/models/components/platformtimerange.md b/docs/models/components/platformtimerange.md new file mode 100644 index 00000000..28f98d03 --- /dev/null +++ b/docs/models/components/platformtimerange.md @@ -0,0 +1,18 @@ +# PlatformTimeRange + +Filter results to those last updated within this range. + +## Example Usage + +```typescript +import { PlatformTimeRange } from "@gleanwork/api-client/models/components"; + +let value: PlatformTimeRange = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `start` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Inclusive lower bound in ISO 8601 format. | +| `end` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Exclusive upper bound in ISO 8601 format. | \ No newline at end of file diff --git a/docs/models/components/searchagentsresponse.md b/docs/models/components/searchagentsresponse.md index 2addf74f..05f85897 100644 --- a/docs/models/components/searchagentsresponse.md +++ b/docs/models/components/searchagentsresponse.md @@ -8,7 +8,7 @@ import { SearchAgentsResponse } from "@gleanwork/api-client/models/components"; let value: SearchAgentsResponse = { agents: [ { - agentId: "mho4lwzylcozgoc2", + agent_id: "mho4lwzylcozgoc2", name: "HR Policy Agent", description: "This agent answers questions about the current company HR policies.", diff --git a/docs/models/components/searchresponse.md b/docs/models/components/searchresponse.md index 98dc3a2b..b433cd7f 100644 --- a/docs/models/components/searchresponse.md +++ b/docs/models/components/searchresponse.md @@ -29,7 +29,7 @@ let value: SearchResponse = { ], }, ], - gleanDataError: { + GleanDataError: { errorMessages: [ { source: "gmail", diff --git a/docs/models/errors/platformproblemdetailerror.md b/docs/models/errors/platformproblemdetailerror.md new file mode 100644 index 00000000..703f8473 --- /dev/null +++ b/docs/models/errors/platformproblemdetailerror.md @@ -0,0 +1,25 @@ +# PlatformProblemDetailError + +Error response following RFC 9457, extended with `code` and `documentation_url` for machine-readable classification and self-service remediation. + + +## Example Usage + +```typescript +import { PlatformProblemDetailError } from "@gleanwork/api-client/models/errors"; + +// No examples available for this model +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `type` | *string* | :heavy_check_mark: | URI identifying the error type. | https://developer.glean.com/errors/invalid-cursor | +| `title` | *string* | :heavy_check_mark: | Short, human-readable summary of the error. | Invalid Pagination Cursor | +| `status` | *number* | :heavy_check_mark: | HTTP status code mirrored from the response. | 400 | +| `detail` | *string* | :heavy_check_mark: | Human-readable explanation specific to this occurrence. | The provided cursor has expired. Start a new search to get a fresh cursor.
| +| `code` | [components.PlatformProblemDetailCode](../../models/components/platformproblemdetailcode.md) | :heavy_check_mark: | Stable machine-readable error code. | invalid_cursor | +| `documentationUrl` | *string* | :heavy_minus_sign: | Direct URL to documentation for this error code. | https://developer.glean.com/errors/invalid-cursor | +| `requestId` | *string* | :heavy_check_mark: | Platform-generated request ID for support correlation. | req_7f8a9b0c1d2e | +| `errors` | [components.PlatformProblemDetailError](../../models/components/platformproblemdetailerror.md)[] | :heavy_minus_sign: | Field-level validation problems, one entry per offending field. | | \ No newline at end of file diff --git a/docs/models/operations/editagentrequest.md b/docs/models/operations/editagentrequest.md index d84b9cf4..f6415366 100644 --- a/docs/models/operations/editagentrequest.md +++ b/docs/models/operations/editagentrequest.md @@ -6,7 +6,7 @@ import { EditAgentRequest } from "@gleanwork/api-client/models/operations"; let value: EditAgentRequest = { - agentId: "", + agent_id: "", editWorkflowRequest: {}, }; ``` diff --git a/docs/models/operations/getagentrequest.md b/docs/models/operations/getagentrequest.md index f0c75002..ff2bbe2e 100644 --- a/docs/models/operations/getagentrequest.md +++ b/docs/models/operations/getagentrequest.md @@ -6,7 +6,7 @@ import { GetAgentRequest } from "@gleanwork/api-client/models/operations"; let value: GetAgentRequest = { - agentId: "", + agent_id: "", }; ``` diff --git a/docs/models/operations/getagentschemasrequest.md b/docs/models/operations/getagentschemasrequest.md index 2b814147..5d6aba12 100644 --- a/docs/models/operations/getagentschemasrequest.md +++ b/docs/models/operations/getagentschemasrequest.md @@ -6,7 +6,7 @@ import { GetAgentSchemasRequest } from "@gleanwork/api-client/models/operations"; let value: GetAgentSchemasRequest = { - agentId: "", + agent_id: "", }; ``` diff --git a/docs/models/operations/getpersonphotorequest.md b/docs/models/operations/getpersonphotorequest.md index 1445dbf9..87af8354 100644 --- a/docs/models/operations/getpersonphotorequest.md +++ b/docs/models/operations/getpersonphotorequest.md @@ -6,7 +6,7 @@ import { GetPersonPhotoRequest } from "@gleanwork/api-client/models/operations"; let value: GetPersonPhotoRequest = { - personId: "", + person_id: "", }; ``` diff --git a/docs/models/operations/platformagentscreaterunrequest.md b/docs/models/operations/platformagentscreaterunrequest.md new file mode 100644 index 00000000..dde34ad6 --- /dev/null +++ b/docs/models/operations/platformagentscreaterunrequest.md @@ -0,0 +1,26 @@ +# PlatformAgentsCreateRunRequest + +## Example Usage + +```typescript +import { PlatformAgentsCreateRunRequest } from "@gleanwork/api-client/models/operations"; + +let value: PlatformAgentsCreateRunRequest = { + agent_id: "", + platformAgentRunCreateRequest: { + messages: [ + { + role: "USER", + content: [], + }, + ], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `agentId` | *string* | :heavy_check_mark: | ID of the agent to run. | +| `platformAgentRunCreateRequest` | [components.PlatformAgentRunCreateRequest](../../models/components/platformagentruncreaterequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/platformagentscreaterunresponse.md b/docs/models/operations/platformagentscreaterunresponse.md new file mode 100644 index 00000000..a6ff4cd4 --- /dev/null +++ b/docs/models/operations/platformagentscreaterunresponse.md @@ -0,0 +1,35 @@ +# PlatformAgentsCreateRunResponse + + +## Supported Types + +### `components.PlatformAgentRunWaitResponse` + +```typescript +const value: components.PlatformAgentRunWaitResponse = { + run: { + agent_id: "", + messages: [ + { + role: "USER", + content: [], + }, + ], + status: "success", + }, + messages: [ + { + role: "USER", + content: [], + }, + ], + request_id: "", +}; +``` + +### `string` + +```typescript +const value: string = ""; +``` + diff --git a/docs/models/operations/platformagentsgetrequest.md b/docs/models/operations/platformagentsgetrequest.md new file mode 100644 index 00000000..9b82586d --- /dev/null +++ b/docs/models/operations/platformagentsgetrequest.md @@ -0,0 +1,17 @@ +# PlatformAgentsGetRequest + +## Example Usage + +```typescript +import { PlatformAgentsGetRequest } from "@gleanwork/api-client/models/operations"; + +let value: PlatformAgentsGetRequest = { + agent_id: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | +| `agentId` | *string* | :heavy_check_mark: | ID of the agent to retrieve. | \ No newline at end of file diff --git a/docs/models/operations/platformagentsgetschemasrequest.md b/docs/models/operations/platformagentsgetschemasrequest.md new file mode 100644 index 00000000..86d05518 --- /dev/null +++ b/docs/models/operations/platformagentsgetschemasrequest.md @@ -0,0 +1,18 @@ +# PlatformAgentsGetSchemasRequest + +## Example Usage + +```typescript +import { PlatformAgentsGetSchemasRequest } from "@gleanwork/api-client/models/operations"; + +let value: PlatformAgentsGetSchemasRequest = { + agent_id: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `agentId` | *string* | :heavy_check_mark: | ID of the agent whose schemas should be retrieved. | +| `includeTools` | *boolean* | :heavy_minus_sign: | Whether to include tool metadata in the response. | \ No newline at end of file diff --git a/docs/sdks/agents/README.md b/docs/sdks/agents/README.md index f09256de..bbcaddc4 100644 --- a/docs/sdks/agents/README.md +++ b/docs/sdks/agents/README.md @@ -4,16 +4,19 @@ ### Available Operations -* [createAgent](#createagent) - Create an agent -* [editAgent](#editagent) - Edit an agent +* [search](#search) - Search agents +* [get](#get) - Get agent +* [getSchemas](#getschemas) - Get agent schemas +* [createRun](#createrun) - Create agent run -## createAgent +## search + +Search agents available to the authenticated user by agent name. -Create an agent. ### Example Usage - + ```typescript import { Glean } from "@gleanwork/api-client"; @@ -22,7 +25,9 @@ const glean = new Glean({ }); async function run() { - const result = await glean.agents.createAgent({}); + const result = await glean.agents.search({ + name: "HR Policy Agent", + }); console.log(result); } @@ -36,7 +41,7 @@ The standalone function version of this method: ```typescript import { GleanCore } from "@gleanwork/api-client/core.js"; -import { agentsCreateAgent } from "@gleanwork/api-client/funcs/agentsCreateAgent.js"; +import { agentsSearch } from "@gleanwork/api-client/funcs/agentsSearch.js"; // Use `GleanCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -45,12 +50,14 @@ const glean = new GleanCore({ }); async function run() { - const res = await agentsCreateAgent(glean, {}); + const res = await agentsSearch(glean, { + name: "HR Policy Agent", + }); if (res.ok) { const { value: result } = res; console.log(result); } else { - console.log("agentsCreateAgent failed:", res.error); + console.log("agentsSearch failed:", res.error); } } @@ -70,38 +77,39 @@ associated utilities. ```tsx import { // Mutation hook for triggering the API call. - useAgentsCreateAgentMutation -} from "@gleanwork/api-client/react-query/agentsCreateAgent.js"; + useAgentsSearchMutation +} from "@gleanwork/api-client/react-query/agentsSearch.js"; ``` ### Parameters -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `createWorkflowRequest` | [components.CreateWorkflowRequest](../../models/components/createworkflowrequest.md) | :heavy_check_mark: | N/A | -| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | -| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [components.PlatformAgentsSearchRequest](../../models/components/platformagentssearchrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[components.WorkflowResult](../../models/components/workflowresult.md)\>** +**Promise\<[components.PlatformAgentsSearchResponse](../../models/components/platformagentssearchresponse.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| --------------------------------- | --------------------------------- | --------------------------------- | +| errors.PlatformProblemDetailError | 400, 401, 403, 404, 408, 429 | application/problem+json | +| errors.PlatformProblemDetailError | 500, 503 | application/problem+json | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## get -## editAgent +Retrieve details for an agent available to the authenticated user. -Creates a draft or publishes an [agent](https://developers.glean.com/agents/agents-api). Use `isDraft=true` to save a draft, or `isDraft=false` (or omit) to publish immediately. Only draft and publish modes are supported. ### Example Usage - + ```typescript import { Glean } from "@gleanwork/api-client"; @@ -110,9 +118,109 @@ const glean = new Glean({ }); async function run() { - await glean.agents.editAgent({}, ""); + const result = await glean.agents.get(""); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { agentsGet } from "@gleanwork/api-client/funcs/agentsGet.js"; +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await agentsGet(glean, ""); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("agentsGet failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Query hooks for fetching data. + useAgentsGet, + useAgentsGetSuspense, + + // Utility for prefetching data during server-side rendering and in React + // Server Components that will be immediately available to client components + // using the hooks. + prefetchAgentsGet, + + // Utilities to invalidate the query cache for this query in response to + // mutations and other user actions. + invalidateAgentsGet, + invalidateAllAgentsGet, +} from "@gleanwork/api-client/react-query/agentsGet.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `agentId` | *string* | :heavy_check_mark: | ID of the agent to retrieve. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.PlatformAgentGetResponse](../../models/components/platformagentgetresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------------------------- | --------------------------------- | --------------------------------- | +| errors.PlatformProblemDetailError | 400, 401, 403, 404, 408, 429 | application/problem+json | +| errors.PlatformProblemDetailError | 500, 503 | application/problem+json | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## getSchemas + +Retrieve an agent's input and output JSON schemas. + + +### Example Usage + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.agents.getSchemas(""); + + console.log(result); } run(); @@ -124,7 +232,7 @@ The standalone function version of this method: ```typescript import { GleanCore } from "@gleanwork/api-client/core.js"; -import { agentsEditAgent } from "@gleanwork/api-client/funcs/agentsEditAgent.js"; +import { agentsGetSchemas } from "@gleanwork/api-client/funcs/agentsGetSchemas.js"; // Use `GleanCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -133,12 +241,127 @@ const glean = new GleanCore({ }); async function run() { - const res = await agentsEditAgent(glean, {}, ""); + const res = await agentsGetSchemas(glean, ""); if (res.ok) { const { value: result } = res; - + console.log(result); + } else { + console.log("agentsGetSchemas failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Query hooks for fetching data. + useAgentsGetSchemas, + useAgentsGetSchemasSuspense, + + // Utility for prefetching data during server-side rendering and in React + // Server Components that will be immediately available to client components + // using the hooks. + prefetchAgentsGetSchemas, + + // Utilities to invalidate the query cache for this query in response to + // mutations and other user actions. + invalidateAgentsGetSchemas, + invalidateAllAgentsGetSchemas, +} from "@gleanwork/api-client/react-query/agentsGetSchemas.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `agentId` | *string* | :heavy_check_mark: | ID of the agent whose schemas should be retrieved. | +| `includeTools` | *boolean* | :heavy_minus_sign: | Whether to include tool metadata in the response. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.PlatformAgentSchemasResponse](../../models/components/platformagentschemasresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------------------------- | --------------------------------- | --------------------------------- | +| errors.PlatformProblemDetailError | 400, 401, 403, 404, 408, 429 | application/problem+json | +| errors.PlatformProblemDetailError | 500, 503 | application/problem+json | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## createRun + +Execute an agent run. Set `stream` to true to receive server-sent events; otherwise the response contains the final agent messages. + + +### Example Usage + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.agents.createRun({ + messages: [ + { + role: "USER", + content: [], + }, + ], + }, ""); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { agentsCreateRun } from "@gleanwork/api-client/funcs/agentsCreateRun.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await agentsCreateRun(glean, { + messages: [ + { + role: "USER", + content: [], + }, + ], + }, ""); + if (res.ok) { + const { value: result } = res; + console.log(result); } else { - console.log("agentsEditAgent failed:", res.error); + console.log("agentsCreateRun failed:", res.error); } } @@ -158,29 +381,28 @@ associated utilities. ```tsx import { // Mutation hook for triggering the API call. - useAgentsEditAgentMutation -} from "@gleanwork/api-client/react-query/agentsEditAgent.js"; + useAgentsCreateRunMutation +} from "@gleanwork/api-client/react-query/agentsCreateRun.js"; ``` ### Parameters -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `agentId` | *string* | :heavy_check_mark: | The ID of the agent. | -| `editWorkflowRequest` | [components.EditWorkflowRequest](../../models/components/editworkflowrequest.md) | :heavy_check_mark: | N/A | -| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | -| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `agentId` | *string* | :heavy_check_mark: | ID of the agent to run. | +| `platformAgentRunCreateRequest` | [components.PlatformAgentRunCreateRequest](../../models/components/platformagentruncreaterequest.md) | :heavy_check_mark: | N/A | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\** +**Promise\<[operations.PlatformAgentsCreateRunResponse](../../models/operations/platformagentscreaterunresponse.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| -------------------- | -------------------- | -------------------- | -| errors.ErrorResponse | 404 | application/json | -| errors.GleanError | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| --------------------------------- | --------------------------------- | --------------------------------- | +| errors.PlatformProblemDetailError | 400, 401, 403, 404, 408, 409, 429 | application/problem+json | +| errors.PlatformProblemDetailError | 500, 503 | application/problem+json | +| errors.GleanError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/authentication/README.md b/docs/sdks/authentication/README.md deleted file mode 100644 index 3be3c1d5..00000000 --- a/docs/sdks/authentication/README.md +++ /dev/null @@ -1,101 +0,0 @@ -# Authentication - -## Overview - -Manage indexing API tokens. - -### Available Operations - -* [checkdatasourceauth](#checkdatasourceauth) - Check datasource authorization - -## checkdatasourceauth - -Returns all datasource instances that require per-user OAuth authorization -for the authenticated user, along with a transient auth token that can be -appended to auth URLs to complete OAuth flows. - -Clients construct the full OAuth URL by combining the backend base URL, -the `authUrlRelativePath` from each instance, and the transient auth token: -`/?transient_auth_token=`. - - -### Example Usage - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.authentication.checkdatasourceauth(); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { authenticationCheckdatasourceauth } from "@gleanwork/api-client/funcs/authenticationCheckdatasourceauth.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await authenticationCheckdatasourceauth(glean); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("authenticationCheckdatasourceauth failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useAuthenticationCheckdatasourceauthMutation -} from "@gleanwork/api-client/react-query/authenticationCheckdatasourceauth.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[components.CheckDatasourceAuthResponse](../../models/components/checkdatasourceauthresponse.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/chat/README.md b/docs/sdks/chat/README.md index b25804b1..c72d7f6e 100644 --- a/docs/sdks/chat/README.md +++ b/docs/sdks/chat/README.md @@ -1,19 +1,105947 @@ -# Chat +# Client.Chat ## Overview ### Available Operations -* [getChatFile](#getchatfile) - Download a chat file +* [create](#create) - Chat +* [deleteAll](#deleteall) - Deletes all saved Chats owned by a user +* [delete](#delete) - Deletes saved Chats +* [retrieve](#retrieve) - Retrieves a Chat +* [list](#list) - Retrieves all saved Chats +* [retrieveApplication](#retrieveapplication) - Gets the metadata for a custom Chat application +* [uploadFiles](#uploadfiles) - Upload files for Chat +* [retrieveFiles](#retrievefiles) - Get files uploaded by a user for Chat +* [deleteFiles](#deletefiles) - Delete files uploaded by a user for chat +* [retrieveFile](#retrievefile) - Download a chat file +* [createStream](#createstream) - Chat -## getChatFile +## create + +Have a conversation with Glean AI. + +### Example Usage: citationResponse + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.chat.create({ + messages: [ + { + citations: [ + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + fragments: [ + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + ], + }, + { + citations: [ + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + fragments: [ + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + ], + }, + { + citations: [ + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + fragments: [ + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + ], + }, + ], + timeoutMillis: 30000, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatCreate } from "@gleanwork/api-client/funcs/clientChatCreate.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientChatCreate(glean, { + messages: [ + { + citations: [ + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + fragments: [ + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + ], + }, + { + citations: [ + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + fragments: [ + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + ], + }, + { + citations: [ + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + fragments: [ + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + ], + }, + ], + timeoutMillis: 30000, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientChatCreate failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatCreateMutation +} from "@gleanwork/api-client/react-query/clientChatCreate.js"; +``` +### Example Usage: defaultExample + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.chat.create({ + messages: [ + { + fragments: [ + { + text: "What are the company holidays this year?", + }, + ], + }, + ], + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatCreate } from "@gleanwork/api-client/funcs/clientChatCreate.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientChatCreate(glean, { + messages: [ + { + fragments: [ + { + text: "What are the company holidays this year?", + }, + ], + }, + ], + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientChatCreate failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatCreateMutation +} from "@gleanwork/api-client/react-query/clientChatCreate.js"; +``` +### Example Usage: gptAgentExample + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.chat.create({ + messages: [ + { + fragments: [ + { + text: "Who was the first person to land on the moon?", + }, + ], + }, + ], + agentConfig: { + agent: "GPT", + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatCreate } from "@gleanwork/api-client/funcs/clientChatCreate.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientChatCreate(glean, { + messages: [ + { + fragments: [ + { + text: "Who was the first person to land on the moon?", + }, + ], + }, + ], + agentConfig: { + agent: "GPT", + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientChatCreate failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatCreateMutation +} from "@gleanwork/api-client/react-query/clientChatCreate.js"; +``` +### Example Usage: streamingExample + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.chat.create({ + messages: [ + { + citations: [ + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + fragments: [ + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + ], + }, + { + citations: [ + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + fragments: [ + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + ], + }, + { + citations: [ + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + fragments: [ + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + ], + }, + ], + timeoutMillis: 30000, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatCreate } from "@gleanwork/api-client/funcs/clientChatCreate.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientChatCreate(glean, { + messages: [ + { + citations: [ + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + fragments: [ + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + ], + }, + { + citations: [ + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + fragments: [ + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + ], + }, + { + citations: [ + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + fragments: [ + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + ], + }, + ], + timeoutMillis: 30000, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientChatCreate failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatCreateMutation +} from "@gleanwork/api-client/react-query/clientChatCreate.js"; +``` +### Example Usage: updateResponse + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.chat.create({ + messages: [ + { + citations: [ + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + fragments: [ + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + ], + }, + { + citations: [ + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + fragments: [ + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + ], + }, + { + citations: [ + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + fragments: [ + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + ], + }, + ], + timeoutMillis: 30000, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatCreate } from "@gleanwork/api-client/funcs/clientChatCreate.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientChatCreate(glean, { + messages: [ + { + citations: [ + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + fragments: [ + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + ], + }, + { + citations: [ + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + fragments: [ + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + ], + }, + { + citations: [ + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + sourceFile: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + sourcePerson: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + referenceRanges: [ + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + { + textRange: { + startIndex: 260313, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + fragments: [ + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + { + structuredResults: [ + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + { + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + customer: { + id: "", + company: { + name: "", + location: "New York City", + industry: "Finances", + about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", + }, + poc: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + notes: "CIO is interested in trying out the product.", + }, + team: { + id: "", + name: "", + members: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + customFields: [ + { + label: "", + values: [ + {}, + ], + }, + ], + datasourceProfiles: [ + { + datasource: "github", + handle: "", + }, + ], + }, + customEntity: { + roles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "ANSWER_MODERATOR", + }, + ], + }, + answer: { + id: 3, + docId: "ANSWERS_answer_3", + question: "Why is the sky blue?", + bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + addedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "EDITOR", + }, + ], + removedRoles: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + role: "OWNER", + }, + ], + combinedAnswerText: { + text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", + structuredList: [ + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + { + link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + text: "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.", + }, + ], + }, + likes: { + likedBy: [ + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + { + user: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + likedByUser: true, + numLikes: 412487, + }, + author: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + verification: { + state: "VERIFIED", + metadata: { + lastVerifier: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + reminders: [ + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 587641, + }, + ], + lastReminder: { + assignee: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + requestor: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + remindAt: 633695, + }, + candidateVerifiers: [ + { + name: "George Clooney", + obfuscatedId: "abc123", + }, + ], + }, + }, + collections: [ + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + { + name: "", + description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 345790, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + items: [ + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + { + collectionId: 765696, + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + itemType: "URL", + }, + ], + }, + ], + sourceDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + extractedQnA: { + questionResult: { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + }, + meeting: { + attendees: { + people: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, + }, + collection: { + name: "", + description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", + audienceFilters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + id: 444084, + creator: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + code: { + repoName: "scio", + fileName: "README.md", + }, + shortcut: { + inputAlias: "", + createdBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + updatedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + destinationDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + querySuggestions: { + suggestions: [ + { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + ], + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + relatedDocuments: [ + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + { + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + results: [ + { + title: "title", + url: "https://example.com/foo/bar", + nativeAppUrl: "slack://foo/bar", + snippets: [ + { + mimeType: "mimeType", + snippet: "snippet", + }, + ], + }, + ], + }, + ], + relatedQuestion: { + ranges: [ + { + startIndex: 367849, + document: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + ], + }, + }, + ], + querySuggestion: { + query: "app:github type:pull author:mortimer", + label: "Mortimer's PRs", + datasource: "github", + }, + file: { + id: "FILE_1234", + url: "www.google.com", + name: "sample.pdf", + }, + action: { + metadata: { + type: "RETRIEVAL", + name: "", + displayName: "Avis_Gislason87", + displayDescription: "", + objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", + }, + }, + }, + ], + }, + ], + timeoutMillis: 30000, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientChatCreate failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatCreateMutation +} from "@gleanwork/api-client/react-query/clientChatCreate.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `chatRequest` | [components.ChatRequest](../../models/components/chatrequest.md) | :heavy_check_mark: | Includes chat history for Glean AI to respond to. | +| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | +| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.ChatResponse](../../models/components/chatresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## deleteAll + +Deletes all saved Chats a user has had and all their contained conversational content. + +### Example Usage + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + await glean.client.chat.deleteAll(); + + +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatDeleteAll } from "@gleanwork/api-client/funcs/clientChatDeleteAll.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientChatDeleteAll(glean); + if (res.ok) { + const { value: result } = res; + + } else { + console.log("clientChatDeleteAll failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatDeleteAllMutation +} from "@gleanwork/api-client/react-query/clientChatDeleteAll.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | +| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## delete + +Deletes saved Chats and all their contained conversational content. + +### Example Usage + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + await glean.client.chat.delete({ + ids: [], + }); + + +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatDelete } from "@gleanwork/api-client/funcs/clientChatDelete.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientChatDelete(glean, { + ids: [], + }); + if (res.ok) { + const { value: result } = res; + + } else { + console.log("clientChatDelete failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatDeleteMutation +} from "@gleanwork/api-client/react-query/clientChatDelete.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `deleteChatsRequest` | [components.DeleteChatsRequest](../../models/components/deletechatsrequest.md) | :heavy_check_mark: | N/A | +| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | +| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## retrieve + +Retrieves the chat history between Glean Assistant and the user for a given Chat. + +### Example Usage + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.chat.retrieve({ + id: "", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatRetrieve } from "@gleanwork/api-client/funcs/clientChatRetrieve.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientChatRetrieve(glean, { + id: "", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientChatRetrieve failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatRetrieveMutation +} from "@gleanwork/api-client/react-query/clientChatRetrieve.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `getChatRequest` | [components.GetChatRequest](../../models/components/getchatrequest.md) | :heavy_check_mark: | N/A | +| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | +| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.GetChatResponse](../../models/components/getchatresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## list + +Retrieves all the saved Chats between Glean Assistant and the user. The returned Chats contain only metadata and no conversational content. + +### Example Usage + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.chat.list(); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatList } from "@gleanwork/api-client/funcs/clientChatList.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientChatList(glean); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientChatList failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatListMutation +} from "@gleanwork/api-client/react-query/clientChatList.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | +| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.ListChatsResponse](../../models/components/listchatsresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## retrieveApplication + +Gets the Chat application details for the specified application ID. + +### Example Usage + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.chat.retrieveApplication({ + id: "", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatRetrieveApplication } from "@gleanwork/api-client/funcs/clientChatRetrieveApplication.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientChatRetrieveApplication(glean, { + id: "", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientChatRetrieveApplication failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatRetrieveApplicationMutation +} from "@gleanwork/api-client/react-query/clientChatRetrieveApplication.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `getChatApplicationRequest` | [components.GetChatApplicationRequest](../../models/components/getchatapplicationrequest.md) | :heavy_check_mark: | N/A | +| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | +| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.GetChatApplicationResponse](../../models/components/getchatapplicationresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## uploadFiles + +Upload files for Chat. + +### Example Usage + + +```typescript +import { Glean } from "@gleanwork/api-client"; +import { openAsBlob } from "node:fs"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.chat.uploadFiles({ + files: [ + await openAsBlob("example.file"), + ], + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatUploadFiles } from "@gleanwork/api-client/funcs/clientChatUploadFiles.js"; +import { openAsBlob } from "node:fs"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientChatUploadFiles(glean, { + files: [ + await openAsBlob("example.file"), + ], + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientChatUploadFiles failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatUploadFilesMutation +} from "@gleanwork/api-client/react-query/clientChatUploadFiles.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `uploadChatFilesRequest` | [components.UploadChatFilesRequest](../../models/components/uploadchatfilesrequest.md) | :heavy_check_mark: | N/A | +| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | +| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.UploadChatFilesResponse](../../models/components/uploadchatfilesresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## retrieveFiles + +Get files uploaded by a user for Chat. + +### Example Usage + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.chat.retrieveFiles({ + fileIds: [ + "", + ], + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatRetrieveFiles } from "@gleanwork/api-client/funcs/clientChatRetrieveFiles.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientChatRetrieveFiles(glean, { + fileIds: [ + "", + ], + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientChatRetrieveFiles failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatRetrieveFilesMutation +} from "@gleanwork/api-client/react-query/clientChatRetrieveFiles.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `getChatFilesRequest` | [components.GetChatFilesRequest](../../models/components/getchatfilesrequest.md) | :heavy_check_mark: | N/A | +| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | +| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.GetChatFilesResponse](../../models/components/getchatfilesresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## deleteFiles + +Delete files uploaded by a user for Chat. + +### Example Usage + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + await glean.client.chat.deleteFiles({ + fileIds: [ + "", + "", + "", + ], + }); + + +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatDeleteFiles } from "@gleanwork/api-client/funcs/clientChatDeleteFiles.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientChatDeleteFiles(glean, { + fileIds: [ + "", + "", + "", + ], + }); + if (res.ok) { + const { value: result } = res; + + } else { + console.log("clientChatDeleteFiles failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatDeleteFilesMutation +} from "@gleanwork/api-client/react-query/clientChatDeleteFiles.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `deleteChatFilesRequest` | [components.DeleteChatFilesRequest](../../models/components/deletechatfilesrequest.md) | :heavy_check_mark: | N/A | +| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | +| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## retrieveFile Download the raw content of a file generated or uploaded during a chat session (for example, an image produced by the assistant). Returns the file bytes with a Content-Type header matching the file's MIME type. -### Example Usage +### Example Usage + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.chat.retrieveFile(""); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatRetrieveFile } from "@gleanwork/api-client/funcs/clientChatRetrieveFile.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientChatRetrieveFile(glean, ""); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientChatRetrieveFile failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Query hooks for fetching data. + useClientChatRetrieveFile, + useClientChatRetrieveFileSuspense, + + // Utility for prefetching data during server-side rendering and in React + // Server Components that will be immediately available to client components + // using the hooks. + prefetchClientChatRetrieveFile, + + // Utilities to invalidate the query cache for this query in response to + // mutations and other user actions. + invalidateClientChatRetrieveFile, + invalidateAllClientChatRetrieveFile, +} from "@gleanwork/api-client/react-query/clientChatRetrieveFile.js"; +``` - +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `fileId` | *string* | :heavy_check_mark: | Identifier of the chat file to download. | +| `preview` | *boolean* | :heavy_minus_sign: | When true and the file is a PDF, the response is served inline (Content-Disposition: inline) instead of as an attachment.
| +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[ReadableStream](../../models/.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## createStream + +Have a conversation with Glean AI. + +### Example Usage: citationResponse + + ```typescript import { Glean } from "@gleanwork/api-client"; @@ -22,7 +105950,10 @@ const glean = new Glean({ }); async function run() { - const result = await glean.chat.getChatFile(""); + const result = await glean.client.chat.createStream({ + messages: [], + timeoutMillis: 30000, + }); console.log(result); } @@ -36,7 +105967,7 @@ The standalone function version of this method: ```typescript import { GleanCore } from "@gleanwork/api-client/core.js"; -import { chatGetChatFile } from "@gleanwork/api-client/funcs/chatGetChatFile.js"; +import { clientChatCreateStream } from "@gleanwork/api-client/funcs/clientChatCreateStream.js"; // Use `GleanCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -45,12 +105976,15 @@ const glean = new GleanCore({ }); async function run() { - const res = await chatGetChatFile(glean, ""); + const res = await clientChatCreateStream(glean, { + messages: [], + timeoutMillis: 30000, + }); if (res.ok) { const { value: result } = res; console.log(result); } else { - console.log("chatGetChatFile failed:", res.error); + console.log("clientChatCreateStream failed:", res.error); } } @@ -69,35 +106003,330 @@ associated utilities. ```tsx import { - // Query hooks for fetching data. - useChatGetChatFile, - useChatGetChatFileSuspense, + // Mutation hook for triggering the API call. + useClientChatCreateStreamMutation +} from "@gleanwork/api-client/react-query/clientChatCreateStream.js"; +``` +### Example Usage: defaultExample - // Utility for prefetching data during server-side rendering and in React - // Server Components that will be immediately available to client components - // using the hooks. - prefetchChatGetChatFile, - - // Utilities to invalidate the query cache for this query in response to - // mutations and other user actions. - invalidateChatGetChatFile, - invalidateAllChatGetChatFile, -} from "@gleanwork/api-client/react-query/chatGetChatFile.js"; + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.chat.createStream({ + messages: [ + { + fragments: [ + { + text: "What are the company holidays this year?", + }, + ], + }, + ], + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatCreateStream } from "@gleanwork/api-client/funcs/clientChatCreateStream.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientChatCreateStream(glean, { + messages: [ + { + fragments: [ + { + text: "What are the company holidays this year?", + }, + ], + }, + ], + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientChatCreateStream failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatCreateStreamMutation +} from "@gleanwork/api-client/react-query/clientChatCreateStream.js"; +``` +### Example Usage: gptAgentExample + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.chat.createStream({ + messages: [ + { + fragments: [ + { + text: "Who was the first person to land on the moon?", + }, + ], + }, + ], + agentConfig: { + agent: "GPT", + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatCreateStream } from "@gleanwork/api-client/funcs/clientChatCreateStream.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientChatCreateStream(glean, { + messages: [ + { + fragments: [ + { + text: "Who was the first person to land on the moon?", + }, + ], + }, + ], + agentConfig: { + agent: "GPT", + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientChatCreateStream failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatCreateStreamMutation +} from "@gleanwork/api-client/react-query/clientChatCreateStream.js"; +``` +### Example Usage: streamingExample + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.chat.createStream({ + messages: [], + timeoutMillis: 30000, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatCreateStream } from "@gleanwork/api-client/funcs/clientChatCreateStream.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientChatCreateStream(glean, { + messages: [], + timeoutMillis: 30000, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientChatCreateStream failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatCreateStreamMutation +} from "@gleanwork/api-client/react-query/clientChatCreateStream.js"; +``` +### Example Usage: updateResponse + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.chat.createStream({ + messages: [], + timeoutMillis: 30000, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientChatCreateStream } from "@gleanwork/api-client/funcs/clientChatCreateStream.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientChatCreateStream(glean, { + messages: [], + timeoutMillis: 30000, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientChatCreateStream failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientChatCreateStreamMutation +} from "@gleanwork/api-client/react-query/clientChatCreateStream.js"; ``` ### Parameters | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `fileId` | *string* | :heavy_check_mark: | Identifier of the chat file to download. | -| `preview` | *boolean* | :heavy_minus_sign: | When true and the file is a PDF, the response is served inline (Content-Disposition: inline) instead of as an attachment.
| +| `chatRequest` | [components.ChatRequest](../../models/components/chatrequest.md) | :heavy_check_mark: | Includes chat history for Glean AI to respond to. | +| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[ReadableStream](../../models/.md)\>** +**Promise\<[string](../../models/.md)\>** ### Errors diff --git a/docs/sdks/clientagents/README.md b/docs/sdks/clientagents/README.md index c9260f0d..7892e394 100644 --- a/docs/sdks/clientagents/README.md +++ b/docs/sdks/clientagents/README.md @@ -4,12 +4,102 @@ ### Available Operations +* [create](#create) - Create an agent * [retrieve](#retrieve) - Retrieve an agent +* [update](#update) - Edit an agent * [retrieveSchemas](#retrieveschemas) - List an agent's schemas * [list](#list) - Search agents * [runStream](#runstream) - Create an agent run and stream the response * [run](#run) - Create an agent run and wait for the response +## create + +Create an agent. + +### Example Usage + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.agents.create({}); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientAgentsCreate } from "@gleanwork/api-client/funcs/clientAgentsCreate.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientAgentsCreate(glean, {}); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientAgentsCreate failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientAgentsCreateMutation +} from "@gleanwork/api-client/react-query/clientAgentsCreate.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `createWorkflowRequest` | [components.CreateWorkflowRequest](../../models/components/createworkflowrequest.md) | :heavy_check_mark: | N/A | +| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | +| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.WorkflowResult](../../models/components/workflowresult.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + ## retrieve Returns details of an [agent](https://developers.glean.com/agents/agents-api) created in the Agent Builder. @@ -110,6 +200,96 @@ import { | errors.ErrorResponse | 404 | application/json | | errors.GleanError | 4XX, 5XX | \*/\* | +## update + +Creates a draft or publishes an [agent](https://developers.glean.com/agents/agents-api). Use `isDraft=true` to save a draft, or `isDraft=false` (or omit) to publish immediately. Only draft and publish modes are supported. + +### Example Usage + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + await glean.client.agents.update({}, ""); + + +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientAgentsUpdate } from "@gleanwork/api-client/funcs/clientAgentsUpdate.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientAgentsUpdate(glean, {}, ""); + if (res.ok) { + const { value: result } = res; + + } else { + console.log("clientAgentsUpdate failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientAgentsUpdateMutation +} from "@gleanwork/api-client/react-query/clientAgentsUpdate.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `agentId` | *string* | :heavy_check_mark: | The ID of the agent. | +| `editWorkflowRequest` | [components.EditWorkflowRequest](../../models/components/editworkflowrequest.md) | :heavy_check_mark: | N/A | +| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | +| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------- | -------------------- | -------------------- | +| errors.ErrorResponse | 404 | application/json | +| errors.GleanError | 4XX, 5XX | \*/\* | + ## retrieveSchemas Return [agent](https://developers.glean.com/agents/agents-api)'s input and output schemas. You can use these schemas to detect changes to an agent's input or output structure. @@ -317,7 +497,7 @@ const glean = new Glean({ async function run() { const result = await glean.client.agents.runStream({ - agentId: "", + agent_id: "", messages: [ { role: "USER", @@ -347,7 +527,7 @@ const glean = new GleanCore({ async function run() { const res = await clientAgentsRunStream(glean, { - agentId: "", + agent_id: "", messages: [ { role: "USER", @@ -418,7 +598,7 @@ const glean = new Glean({ async function run() { const result = await glean.client.agents.run({ - agentId: "", + agent_id: "", messages: [ { role: "USER", @@ -448,7 +628,7 @@ const glean = new GleanCore({ async function run() { const res = await clientAgentsRun(glean, { - agentId: "", + agent_id: "", messages: [ { role: "USER", diff --git a/docs/sdks/clientauthentication/README.md b/docs/sdks/clientauthentication/README.md index 9201f747..8526aa78 100644 --- a/docs/sdks/clientauthentication/README.md +++ b/docs/sdks/clientauthentication/README.md @@ -4,8 +4,101 @@ ### Available Operations +* [checkDatasourceAuth](#checkdatasourceauth) - Check datasource authorization * [createToken](#createtoken) - Create authentication token +## checkDatasourceAuth + +Returns all datasource instances that require per-user OAuth authorization +for the authenticated user, along with a transient auth token that can be +appended to auth URLs to complete OAuth flows. + +Clients construct the full OAuth URL by combining the backend base URL, +the `authUrlRelativePath` from each instance, and the transient auth token: +`/?transient_auth_token=`. + + +### Example Usage + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.authentication.checkDatasourceAuth(); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientAuthenticationCheckDatasourceAuth } from "@gleanwork/api-client/funcs/clientAuthenticationCheckDatasourceAuth.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientAuthenticationCheckDatasourceAuth(glean); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientAuthenticationCheckDatasourceAuth failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientAuthenticationCheckDatasourceAuthMutation +} from "@gleanwork/api-client/react-query/clientAuthenticationCheckDatasourceAuth.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.CheckDatasourceAuthResponse](../../models/components/checkdatasourceauthresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + ## createToken Creates an authentication token for the authenticated user. These are diff --git a/docs/sdks/clientchat/README.md b/docs/sdks/clientchat/README.md deleted file mode 100644 index 306fd83d..00000000 --- a/docs/sdks/clientchat/README.md +++ /dev/null @@ -1,106235 +0,0 @@ -# Client.Chat - -## Overview - -### Available Operations - -* [create](#create) - Chat -* [deleteAll](#deleteall) - Deletes all saved Chats owned by a user -* [delete](#delete) - Deletes saved Chats -* [retrieve](#retrieve) - Retrieves a Chat -* [list](#list) - Retrieves all saved Chats -* [retrieveApplication](#retrieveapplication) - Gets the metadata for a custom Chat application -* [uploadFiles](#uploadfiles) - Upload files for Chat -* [retrieveFiles](#retrievefiles) - Get files uploaded by a user for Chat -* [deleteFiles](#deletefiles) - Delete files uploaded by a user for chat -* [createStream](#createstream) - Chat - -## create - -Have a conversation with Glean AI. - -### Example Usage: citationResponse - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.client.chat.create({ - messages: [ - { - citations: [ - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - fragments: [ - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - ], - }, - { - citations: [ - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - fragments: [ - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - ], - }, - { - citations: [ - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - fragments: [ - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - ], - }, - ], - timeoutMillis: 30000, - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatCreate } from "@gleanwork/api-client/funcs/clientChatCreate.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientChatCreate(glean, { - messages: [ - { - citations: [ - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - fragments: [ - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - ], - }, - { - citations: [ - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - fragments: [ - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - ], - }, - { - citations: [ - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - fragments: [ - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - ], - }, - ], - timeoutMillis: 30000, - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientChatCreate failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatCreateMutation -} from "@gleanwork/api-client/react-query/clientChatCreate.js"; -``` -### Example Usage: defaultExample - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.client.chat.create({ - messages: [ - { - fragments: [ - { - text: "What are the company holidays this year?", - }, - ], - }, - ], - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatCreate } from "@gleanwork/api-client/funcs/clientChatCreate.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientChatCreate(glean, { - messages: [ - { - fragments: [ - { - text: "What are the company holidays this year?", - }, - ], - }, - ], - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientChatCreate failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatCreateMutation -} from "@gleanwork/api-client/react-query/clientChatCreate.js"; -``` -### Example Usage: gptAgentExample - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.client.chat.create({ - messages: [ - { - fragments: [ - { - text: "Who was the first person to land on the moon?", - }, - ], - }, - ], - agentConfig: { - agent: "GPT", - }, - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatCreate } from "@gleanwork/api-client/funcs/clientChatCreate.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientChatCreate(glean, { - messages: [ - { - fragments: [ - { - text: "Who was the first person to land on the moon?", - }, - ], - }, - ], - agentConfig: { - agent: "GPT", - }, - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientChatCreate failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatCreateMutation -} from "@gleanwork/api-client/react-query/clientChatCreate.js"; -``` -### Example Usage: streamingExample - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.client.chat.create({ - messages: [ - { - citations: [ - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - fragments: [ - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - ], - }, - { - citations: [ - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - fragments: [ - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - ], - }, - { - citations: [ - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - fragments: [ - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - ], - }, - ], - timeoutMillis: 30000, - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatCreate } from "@gleanwork/api-client/funcs/clientChatCreate.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientChatCreate(glean, { - messages: [ - { - citations: [ - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - fragments: [ - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - ], - }, - { - citations: [ - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - fragments: [ - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - ], - }, - { - citations: [ - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - fragments: [ - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - ], - }, - ], - timeoutMillis: 30000, - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientChatCreate failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatCreateMutation -} from "@gleanwork/api-client/react-query/clientChatCreate.js"; -``` -### Example Usage: updateResponse - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.client.chat.create({ - messages: [ - { - citations: [ - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - fragments: [ - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - ], - }, - { - citations: [ - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - fragments: [ - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - ], - }, - { - citations: [ - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - fragments: [ - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - ], - }, - ], - timeoutMillis: 30000, - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatCreate } from "@gleanwork/api-client/funcs/clientChatCreate.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientChatCreate(glean, { - messages: [ - { - citations: [ - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - fragments: [ - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - ], - }, - { - citations: [ - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - fragments: [ - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - ], - }, - { - citations: [ - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - sourceFile: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - sourcePerson: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - referenceRanges: [ - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - { - textRange: { - startIndex: 260313, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - fragments: [ - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - { - structuredResults: [ - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - { - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - customer: { - id: "", - company: { - name: "", - location: "New York City", - industry: "Finances", - about: "Financial, software, data, and media company headquartered in Midtown Manhattan, New York City", - }, - poc: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - notes: "CIO is interested in trying out the product.", - }, - team: { - id: "", - name: "", - members: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - customFields: [ - { - label: "", - values: [ - {}, - ], - }, - ], - datasourceProfiles: [ - { - datasource: "github", - handle: "", - }, - ], - }, - customEntity: { - roles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "ANSWER_MODERATOR", - }, - ], - }, - answer: { - id: 3, - docId: "ANSWERS_answer_3", - question: "Why is the sky blue?", - bodyText: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - addedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "EDITOR", - }, - ], - removedRoles: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - role: "OWNER", - }, - ], - combinedAnswerText: { - text: "From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.", - structuredList: [ - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - { - link: "https://en.wikipedia.org/wiki/Diffuse_sky_radiation", - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - text: "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.", - }, - ], - }, - likes: { - likedBy: [ - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - { - user: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - likedByUser: true, - numLikes: 412487, - }, - author: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - verification: { - state: "VERIFIED", - metadata: { - lastVerifier: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - reminders: [ - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 587641, - }, - ], - lastReminder: { - assignee: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - requestor: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - remindAt: 633695, - }, - candidateVerifiers: [ - { - name: "George Clooney", - obfuscatedId: "abc123", - }, - ], - }, - }, - collections: [ - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - { - name: "", - description: "vicinity officially eek fondly hmph clinking um ah circa well-groomed", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 345790, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - items: [ - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - { - collectionId: 765696, - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - itemType: "URL", - }, - ], - }, - ], - sourceDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - extractedQnA: { - questionResult: { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - }, - meeting: { - attendees: { - people: [ - { - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - ], - }, - }, - collection: { - name: "", - description: "governance poetry alb supposing quarrelsomely boohoo squirm bah fooey fooey", - audienceFilters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - id: 444084, - creator: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - code: { - repoName: "scio", - fileName: "README.md", - }, - shortcut: { - inputAlias: "", - createdBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - updatedBy: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - destinationDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - querySuggestions: { - suggestions: [ - { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - ], - person: { - name: "George Clooney", - obfuscatedId: "abc123", - }, - }, - relatedDocuments: [ - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - { - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - results: [ - { - title: "title", - url: "https://example.com/foo/bar", - nativeAppUrl: "slack://foo/bar", - snippets: [ - { - mimeType: "mimeType", - snippet: "snippet", - }, - ], - }, - ], - }, - ], - relatedQuestion: { - ranges: [ - { - startIndex: 367849, - document: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, - ], - }, - }, - ], - querySuggestion: { - query: "app:github type:pull author:mortimer", - label: "Mortimer's PRs", - datasource: "github", - }, - file: { - id: "FILE_1234", - url: "www.google.com", - name: "sample.pdf", - }, - action: { - metadata: { - type: "RETRIEVAL", - name: "", - displayName: "Avis_Gislason87", - displayDescription: "", - objectName: "[\"HR ticket\",\"Email\",\"Chat message\"]", - }, - }, - }, - ], - }, - ], - timeoutMillis: 30000, - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientChatCreate failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatCreateMutation -} from "@gleanwork/api-client/react-query/clientChatCreate.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `chatRequest` | [components.ChatRequest](../../models/components/chatrequest.md) | :heavy_check_mark: | Includes chat history for Glean AI to respond to. | -| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | -| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[components.ChatResponse](../../models/components/chatresponse.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## deleteAll - -Deletes all saved Chats a user has had and all their contained conversational content. - -### Example Usage - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - await glean.client.chat.deleteAll(); - - -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatDeleteAll } from "@gleanwork/api-client/funcs/clientChatDeleteAll.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientChatDeleteAll(glean); - if (res.ok) { - const { value: result } = res; - - } else { - console.log("clientChatDeleteAll failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatDeleteAllMutation -} from "@gleanwork/api-client/react-query/clientChatDeleteAll.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | -| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## delete - -Deletes saved Chats and all their contained conversational content. - -### Example Usage - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - await glean.client.chat.delete({ - ids: [], - }); - - -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatDelete } from "@gleanwork/api-client/funcs/clientChatDelete.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientChatDelete(glean, { - ids: [], - }); - if (res.ok) { - const { value: result } = res; - - } else { - console.log("clientChatDelete failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatDeleteMutation -} from "@gleanwork/api-client/react-query/clientChatDelete.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `deleteChatsRequest` | [components.DeleteChatsRequest](../../models/components/deletechatsrequest.md) | :heavy_check_mark: | N/A | -| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | -| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## retrieve - -Retrieves the chat history between Glean Assistant and the user for a given Chat. - -### Example Usage - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.client.chat.retrieve({ - id: "", - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatRetrieve } from "@gleanwork/api-client/funcs/clientChatRetrieve.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientChatRetrieve(glean, { - id: "", - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientChatRetrieve failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatRetrieveMutation -} from "@gleanwork/api-client/react-query/clientChatRetrieve.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `getChatRequest` | [components.GetChatRequest](../../models/components/getchatrequest.md) | :heavy_check_mark: | N/A | -| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | -| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[components.GetChatResponse](../../models/components/getchatresponse.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## list - -Retrieves all the saved Chats between Glean Assistant and the user. The returned Chats contain only metadata and no conversational content. - -### Example Usage - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.client.chat.list(); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatList } from "@gleanwork/api-client/funcs/clientChatList.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientChatList(glean); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientChatList failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatListMutation -} from "@gleanwork/api-client/react-query/clientChatList.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | -| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[components.ListChatsResponse](../../models/components/listchatsresponse.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## retrieveApplication - -Gets the Chat application details for the specified application ID. - -### Example Usage - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.client.chat.retrieveApplication({ - id: "", - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatRetrieveApplication } from "@gleanwork/api-client/funcs/clientChatRetrieveApplication.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientChatRetrieveApplication(glean, { - id: "", - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientChatRetrieveApplication failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatRetrieveApplicationMutation -} from "@gleanwork/api-client/react-query/clientChatRetrieveApplication.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `getChatApplicationRequest` | [components.GetChatApplicationRequest](../../models/components/getchatapplicationrequest.md) | :heavy_check_mark: | N/A | -| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | -| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[components.GetChatApplicationResponse](../../models/components/getchatapplicationresponse.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## uploadFiles - -Upload files for Chat. - -### Example Usage - - -```typescript -import { Glean } from "@gleanwork/api-client"; -import { openAsBlob } from "node:fs"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.client.chat.uploadFiles({ - files: [ - await openAsBlob("example.file"), - ], - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatUploadFiles } from "@gleanwork/api-client/funcs/clientChatUploadFiles.js"; -import { openAsBlob } from "node:fs"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientChatUploadFiles(glean, { - files: [ - await openAsBlob("example.file"), - ], - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientChatUploadFiles failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatUploadFilesMutation -} from "@gleanwork/api-client/react-query/clientChatUploadFiles.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `uploadChatFilesRequest` | [components.UploadChatFilesRequest](../../models/components/uploadchatfilesrequest.md) | :heavy_check_mark: | N/A | -| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | -| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[components.UploadChatFilesResponse](../../models/components/uploadchatfilesresponse.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## retrieveFiles - -Get files uploaded by a user for Chat. - -### Example Usage - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.client.chat.retrieveFiles({ - fileIds: [ - "", - ], - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatRetrieveFiles } from "@gleanwork/api-client/funcs/clientChatRetrieveFiles.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientChatRetrieveFiles(glean, { - fileIds: [ - "", - ], - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientChatRetrieveFiles failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatRetrieveFilesMutation -} from "@gleanwork/api-client/react-query/clientChatRetrieveFiles.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `getChatFilesRequest` | [components.GetChatFilesRequest](../../models/components/getchatfilesrequest.md) | :heavy_check_mark: | N/A | -| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | -| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[components.GetChatFilesResponse](../../models/components/getchatfilesresponse.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## deleteFiles - -Delete files uploaded by a user for Chat. - -### Example Usage - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - await glean.client.chat.deleteFiles({ - fileIds: [ - "", - "", - "", - ], - }); - - -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatDeleteFiles } from "@gleanwork/api-client/funcs/clientChatDeleteFiles.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientChatDeleteFiles(glean, { - fileIds: [ - "", - "", - "", - ], - }); - if (res.ok) { - const { value: result } = res; - - } else { - console.log("clientChatDeleteFiles failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatDeleteFilesMutation -} from "@gleanwork/api-client/react-query/clientChatDeleteFiles.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `deleteChatFilesRequest` | [components.DeleteChatFilesRequest](../../models/components/deletechatfilesrequest.md) | :heavy_check_mark: | N/A | -| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | -| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## createStream - -Have a conversation with Glean AI. - -### Example Usage: citationResponse - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.client.chat.createStream({ - messages: [], - timeoutMillis: 30000, - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatCreateStream } from "@gleanwork/api-client/funcs/clientChatCreateStream.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientChatCreateStream(glean, { - messages: [], - timeoutMillis: 30000, - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientChatCreateStream failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatCreateStreamMutation -} from "@gleanwork/api-client/react-query/clientChatCreateStream.js"; -``` -### Example Usage: defaultExample - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.client.chat.createStream({ - messages: [ - { - fragments: [ - { - text: "What are the company holidays this year?", - }, - ], - }, - ], - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatCreateStream } from "@gleanwork/api-client/funcs/clientChatCreateStream.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientChatCreateStream(glean, { - messages: [ - { - fragments: [ - { - text: "What are the company holidays this year?", - }, - ], - }, - ], - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientChatCreateStream failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatCreateStreamMutation -} from "@gleanwork/api-client/react-query/clientChatCreateStream.js"; -``` -### Example Usage: gptAgentExample - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.client.chat.createStream({ - messages: [ - { - fragments: [ - { - text: "Who was the first person to land on the moon?", - }, - ], - }, - ], - agentConfig: { - agent: "GPT", - }, - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatCreateStream } from "@gleanwork/api-client/funcs/clientChatCreateStream.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientChatCreateStream(glean, { - messages: [ - { - fragments: [ - { - text: "Who was the first person to land on the moon?", - }, - ], - }, - ], - agentConfig: { - agent: "GPT", - }, - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientChatCreateStream failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatCreateStreamMutation -} from "@gleanwork/api-client/react-query/clientChatCreateStream.js"; -``` -### Example Usage: streamingExample - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.client.chat.createStream({ - messages: [], - timeoutMillis: 30000, - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatCreateStream } from "@gleanwork/api-client/funcs/clientChatCreateStream.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientChatCreateStream(glean, { - messages: [], - timeoutMillis: 30000, - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientChatCreateStream failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatCreateStreamMutation -} from "@gleanwork/api-client/react-query/clientChatCreateStream.js"; -``` -### Example Usage: updateResponse - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.client.chat.createStream({ - messages: [], - timeoutMillis: 30000, - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientChatCreateStream } from "@gleanwork/api-client/funcs/clientChatCreateStream.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientChatCreateStream(glean, { - messages: [], - timeoutMillis: 30000, - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientChatCreateStream failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientChatCreateStreamMutation -} from "@gleanwork/api-client/react-query/clientChatCreateStream.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `chatRequest` | [components.ChatRequest](../../models/components/chatrequest.md) | :heavy_check_mark: | Includes chat history for Glean AI to respond to. | -| `timezoneOffset` | *number* | :heavy_minus_sign: | The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[string](../../models/.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/datasources/README.md b/docs/sdks/clientdatasources/README.md similarity index 91% rename from docs/sdks/datasources/README.md rename to docs/sdks/clientdatasources/README.md index 23c48bbd..dc963fe4 100644 --- a/docs/sdks/datasources/README.md +++ b/docs/sdks/clientdatasources/README.md @@ -1,17 +1,15 @@ -# Datasources +# Client.Datasources ## Overview -Manage datasources. - ### Available Operations -* [getDatasourceInstanceConfiguration](#getdatasourceinstanceconfiguration) - Get datasource instance configuration -* [updateDatasourceInstanceConfiguration](#updatedatasourceinstanceconfiguration) - Update datasource instance configuration -* [getDatasourceCredentialStatus](#getdatasourcecredentialstatus) - Get datasource instance credential status -* [rotateDatasourceCredentials](#rotatedatasourcecredentials) - Rotate datasource instance credentials +* [retrieveConfiguration](#retrieveconfiguration) - Get datasource instance configuration +* [updateConfiguration](#updateconfiguration) - Update datasource instance configuration +* [retrieveCredentialStatus](#retrievecredentialstatus) - Get datasource instance credential status +* [rotateCredentials](#rotatecredentials) - Rotate datasource instance credentials -## getDatasourceInstanceConfiguration +## retrieveConfiguration Gets the greenlisted configuration values for a datasource instance. Returns only configuration keys that are exposed via the public API greenlist. @@ -27,7 +25,7 @@ const glean = new Glean({ }); async function run() { - const result = await glean.datasources.getDatasourceInstanceConfiguration("o365sharepoint", "o365sharepoint_abc123"); + const result = await glean.client.datasources.retrieveConfiguration("o365sharepoint", "o365sharepoint_abc123"); console.log(result); } @@ -41,7 +39,7 @@ The standalone function version of this method: ```typescript import { GleanCore } from "@gleanwork/api-client/core.js"; -import { datasourcesGetDatasourceInstanceConfiguration } from "@gleanwork/api-client/funcs/datasourcesGetDatasourceInstanceConfiguration.js"; +import { clientDatasourcesRetrieveConfiguration } from "@gleanwork/api-client/funcs/clientDatasourcesRetrieveConfiguration.js"; // Use `GleanCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -50,12 +48,12 @@ const glean = new GleanCore({ }); async function run() { - const res = await datasourcesGetDatasourceInstanceConfiguration(glean, "o365sharepoint", "o365sharepoint_abc123"); + const res = await clientDatasourcesRetrieveConfiguration(glean, "o365sharepoint", "o365sharepoint_abc123"); if (res.ok) { const { value: result } = res; console.log(result); } else { - console.log("datasourcesGetDatasourceInstanceConfiguration failed:", res.error); + console.log("clientDatasourcesRetrieveConfiguration failed:", res.error); } } @@ -75,19 +73,19 @@ associated utilities. ```tsx import { // Query hooks for fetching data. - useDatasourcesGetDatasourceInstanceConfiguration, - useDatasourcesGetDatasourceInstanceConfigurationSuspense, + useClientDatasourcesRetrieveConfiguration, + useClientDatasourcesRetrieveConfigurationSuspense, // Utility for prefetching data during server-side rendering and in React // Server Components that will be immediately available to client components // using the hooks. - prefetchDatasourcesGetDatasourceInstanceConfiguration, + prefetchClientDatasourcesRetrieveConfiguration, // Utilities to invalidate the query cache for this query in response to // mutations and other user actions. - invalidateDatasourcesGetDatasourceInstanceConfiguration, - invalidateAllDatasourcesGetDatasourceInstanceConfiguration, -} from "@gleanwork/api-client/react-query/datasourcesGetDatasourceInstanceConfiguration.js"; + invalidateClientDatasourcesRetrieveConfiguration, + invalidateAllClientDatasourcesRetrieveConfiguration, +} from "@gleanwork/api-client/react-query/clientDatasourcesRetrieveConfiguration.js"; ``` ### Parameters @@ -111,7 +109,7 @@ import { | errors.ErrorResponse | 400, 403, 404 | application/json | | errors.GleanError | 4XX, 5XX | \*/\* | -## updateDatasourceInstanceConfiguration +## updateConfiguration Updates the greenlisted configuration values for a datasource instance. Only configuration keys that are exposed via the public API greenlist may be set. Returns the full greenlisted configuration after the update is applied. @@ -127,7 +125,7 @@ const glean = new Glean({ }); async function run() { - const result = await glean.datasources.updateDatasourceInstanceConfiguration({ + const result = await glean.client.datasources.updateConfiguration({ configuration: { values: { @@ -147,7 +145,7 @@ The standalone function version of this method: ```typescript import { GleanCore } from "@gleanwork/api-client/core.js"; -import { datasourcesUpdateDatasourceInstanceConfiguration } from "@gleanwork/api-client/funcs/datasourcesUpdateDatasourceInstanceConfiguration.js"; +import { clientDatasourcesUpdateConfiguration } from "@gleanwork/api-client/funcs/clientDatasourcesUpdateConfiguration.js"; // Use `GleanCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -156,7 +154,7 @@ const glean = new GleanCore({ }); async function run() { - const res = await datasourcesUpdateDatasourceInstanceConfiguration(glean, { + const res = await clientDatasourcesUpdateConfiguration(glean, { configuration: { values: { @@ -167,7 +165,7 @@ async function run() { const { value: result } = res; console.log(result); } else { - console.log("datasourcesUpdateDatasourceInstanceConfiguration failed:", res.error); + console.log("clientDatasourcesUpdateConfiguration failed:", res.error); } } @@ -187,8 +185,8 @@ associated utilities. ```tsx import { // Mutation hook for triggering the API call. - useDatasourcesUpdateDatasourceInstanceConfigurationMutation -} from "@gleanwork/api-client/react-query/datasourcesUpdateDatasourceInstanceConfiguration.js"; + useClientDatasourcesUpdateConfigurationMutation +} from "@gleanwork/api-client/react-query/clientDatasourcesUpdateConfiguration.js"; ``` ### Parameters @@ -213,7 +211,7 @@ import { | errors.ErrorResponse | 400, 403, 404 | application/json | | errors.GleanError | 4XX, 5XX | \*/\* | -## getDatasourceCredentialStatus +## retrieveCredentialStatus Returns the current credential status for a datasource instance. Access is limited to callers with the ADMIN scope; the handler enforces this check. @@ -229,7 +227,7 @@ const glean = new Glean({ }); async function run() { - const result = await glean.datasources.getDatasourceCredentialStatus("o365sharepoint_abc123"); + const result = await glean.client.datasources.retrieveCredentialStatus("o365sharepoint_abc123"); console.log(result); } @@ -243,7 +241,7 @@ The standalone function version of this method: ```typescript import { GleanCore } from "@gleanwork/api-client/core.js"; -import { datasourcesGetDatasourceCredentialStatus } from "@gleanwork/api-client/funcs/datasourcesGetDatasourceCredentialStatus.js"; +import { clientDatasourcesRetrieveCredentialStatus } from "@gleanwork/api-client/funcs/clientDatasourcesRetrieveCredentialStatus.js"; // Use `GleanCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -252,12 +250,12 @@ const glean = new GleanCore({ }); async function run() { - const res = await datasourcesGetDatasourceCredentialStatus(glean, "o365sharepoint_abc123"); + const res = await clientDatasourcesRetrieveCredentialStatus(glean, "o365sharepoint_abc123"); if (res.ok) { const { value: result } = res; console.log(result); } else { - console.log("datasourcesGetDatasourceCredentialStatus failed:", res.error); + console.log("clientDatasourcesRetrieveCredentialStatus failed:", res.error); } } @@ -277,19 +275,19 @@ associated utilities. ```tsx import { // Query hooks for fetching data. - useDatasourcesGetDatasourceCredentialStatus, - useDatasourcesGetDatasourceCredentialStatusSuspense, + useClientDatasourcesRetrieveCredentialStatus, + useClientDatasourcesRetrieveCredentialStatusSuspense, // Utility for prefetching data during server-side rendering and in React // Server Components that will be immediately available to client components // using the hooks. - prefetchDatasourcesGetDatasourceCredentialStatus, + prefetchClientDatasourcesRetrieveCredentialStatus, // Utilities to invalidate the query cache for this query in response to // mutations and other user actions. - invalidateDatasourcesGetDatasourceCredentialStatus, - invalidateAllDatasourcesGetDatasourceCredentialStatus, -} from "@gleanwork/api-client/react-query/datasourcesGetDatasourceCredentialStatus.js"; + invalidateClientDatasourcesRetrieveCredentialStatus, + invalidateAllClientDatasourcesRetrieveCredentialStatus, +} from "@gleanwork/api-client/react-query/clientDatasourcesRetrieveCredentialStatus.js"; ``` ### Parameters @@ -312,7 +310,7 @@ import { | errors.ErrorResponse | 400, 403, 404 | application/json | | errors.GleanError | 4XX, 5XX | \*/\* | -## rotateDatasourceCredentials +## rotateCredentials Rotates the credentials that a datasource instance uses to connect to its upstream system. Replaces the active credential material with the supplied values and returns the credential status after rotation. Access is limited to callers with the ADMIN scope; the handler enforces this check. Only keys recognized as credential material for the datasource type may be set in `credentials.values` (e.g. `clientSecret`, `apiToken`, `privateKey`, depending on the configured auth method). Unrecognized keys, or keys that correspond to non-credential configuration, cause a 400; other instance configuration must be updated via PATCH /configure/datasources/{datasourceId}/instances/{instanceId}. @@ -329,7 +327,7 @@ const glean = new Glean({ }); async function run() { - const result = await glean.datasources.rotateDatasourceCredentials({ + const result = await glean.client.datasources.rotateCredentials({ credentials: { values: { "key": {}, @@ -349,7 +347,7 @@ The standalone function version of this method: ```typescript import { GleanCore } from "@gleanwork/api-client/core.js"; -import { datasourcesRotateDatasourceCredentials } from "@gleanwork/api-client/funcs/datasourcesRotateDatasourceCredentials.js"; +import { clientDatasourcesRotateCredentials } from "@gleanwork/api-client/funcs/clientDatasourcesRotateCredentials.js"; // Use `GleanCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -358,7 +356,7 @@ const glean = new GleanCore({ }); async function run() { - const res = await datasourcesRotateDatasourceCredentials(glean, { + const res = await clientDatasourcesRotateCredentials(glean, { credentials: { values: { "key": {}, @@ -369,7 +367,7 @@ async function run() { const { value: result } = res; console.log(result); } else { - console.log("datasourcesRotateDatasourceCredentials failed:", res.error); + console.log("clientDatasourcesRotateCredentials failed:", res.error); } } @@ -389,8 +387,8 @@ associated utilities. ```tsx import { // Mutation hook for triggering the API call. - useDatasourcesRotateDatasourceCredentialsMutation -} from "@gleanwork/api-client/react-query/datasourcesRotateDatasourceCredentials.js"; + useClientDatasourcesRotateCredentialsMutation +} from "@gleanwork/api-client/react-query/clientDatasourcesRotateCredentials.js"; ``` ### Parameters diff --git a/docs/sdks/cliententities/README.md b/docs/sdks/cliententities/README.md deleted file mode 100644 index b4b14176..00000000 --- a/docs/sdks/cliententities/README.md +++ /dev/null @@ -1,226 +0,0 @@ -# Client.Entities - -## Overview - -### Available Operations - -* [list](#list) - List entities -* [readPeople](#readpeople) - Read people - -## list - -List some set of details for all entities that fit the given criteria and return in the requested order. Does not support negation in filters, assumes relation type EQUALS. There is a limit of 10000 entities that can be retrieved via this endpoint, except when using FULL_DIRECTORY request type for people entities. - -### Example Usage - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.client.entities.list({ - filter: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - pageSize: 100, - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientEntitiesList } from "@gleanwork/api-client/funcs/clientEntitiesList.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientEntitiesList(glean, { - filter: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - pageSize: 100, - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientEntitiesList failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientEntitiesListMutation -} from "@gleanwork/api-client/react-query/clientEntitiesList.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `listEntitiesRequest` | [components.ListEntitiesRequest](../../models/components/listentitiesrequest.md) | :heavy_check_mark: | List people request | -| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[components.ListEntitiesResponse](../../models/components/listentitiesresponse.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## readPeople - -Read people details for the given IDs. - -### Example Usage - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.client.entities.readPeople({ - obfuscatedIds: [ - "abc123", - "abc456", - ], - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientEntitiesReadPeople } from "@gleanwork/api-client/funcs/clientEntitiesReadPeople.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientEntitiesReadPeople(glean, { - obfuscatedIds: [ - "abc123", - "abc456", - ], - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientEntitiesReadPeople failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientEntitiesReadPeopleMutation -} from "@gleanwork/api-client/react-query/clientEntitiesReadPeople.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `peopleRequest` | [components.PeopleRequest](../../models/components/peoplerequest.md) | :heavy_check_mark: | People request | {
"obfuscatedIds": [
"abc123",
"abc456"
]
} | -| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | | - -### Response - -**Promise\<[components.PeopleResponse](../../models/components/peopleresponse.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/clientsearch/README.md b/docs/sdks/clientsearch/README.md new file mode 100644 index 00000000..a647106d --- /dev/null +++ b/docs/sdks/clientsearch/README.md @@ -0,0 +1,990 @@ +# Client.Search + +## Overview + +### Available Operations + +* [queryAsAdmin](#queryasadmin) - Search the index (admin) +* [autocomplete](#autocomplete) - Autocomplete +* [retrieveFeed](#retrievefeed) - Feed of documents and events +* [recommendations](#recommendations) - Recommend documents +* [query](#query) - Search + +## queryAsAdmin + +Retrieves results for search query without respect for permissions. This is available only to privileged users. + +### Example Usage + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.search.queryAsAdmin({ + trackingToken: "trackingToken", + pageSize: 10, + query: "vacation policy", + requestOptions: { + facetFilters: [ + { + fieldName: "type", + values: [ + { + value: "article", + relationType: "EQUALS", + }, + { + value: "document", + relationType: "EQUALS", + }, + ], + }, + { + fieldName: "department", + values: [ + { + value: "engineering", + relationType: "EQUALS", + }, + ], + }, + ], + facetBucketSize: 421489, + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientSearchQueryAsAdmin } from "@gleanwork/api-client/funcs/clientSearchQueryAsAdmin.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientSearchQueryAsAdmin(glean, { + trackingToken: "trackingToken", + pageSize: 10, + query: "vacation policy", + requestOptions: { + facetFilters: [ + { + fieldName: "type", + values: [ + { + value: "article", + relationType: "EQUALS", + }, + { + value: "document", + relationType: "EQUALS", + }, + ], + }, + { + fieldName: "department", + values: [ + { + value: "engineering", + relationType: "EQUALS", + }, + ], + }, + ], + facetBucketSize: 421489, + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientSearchQueryAsAdmin failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientSearchQueryAsAdminMutation +} from "@gleanwork/api-client/react-query/clientSearchQueryAsAdmin.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `searchRequest` | [components.SearchRequest](../../models/components/searchrequest.md) | :heavy_check_mark: | Admin search request | {
"trackingToken": "trackingToken",
"query": "vacation policy",
"pageSize": 10,
"requestOptions": {
"facetFilters": [
{
"fieldName": "type",
"values": [
{
"value": "article",
"relationType": "EQUALS"
},
{
"value": "document",
"relationType": "EQUALS"
}
]
},
{
"fieldName": "department",
"values": [
{
"value": "engineering",
"relationType": "EQUALS"
}
]
}
]
}
} | +| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | | + +### Response + +**Promise\<[components.SearchResponse](../../models/components/searchresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------------- | --------------------- | --------------------- | +| errors.GleanDataError | 403, 422 | application/json | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## autocomplete + +Retrieve query suggestions, operators and documents for the given partially typed query. + +### Example Usage + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.search.autocomplete({ + trackingToken: "trackingToken", + query: "what is a que", + datasource: "GDRIVE", + resultSize: 10, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientSearchAutocomplete } from "@gleanwork/api-client/funcs/clientSearchAutocomplete.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientSearchAutocomplete(glean, { + trackingToken: "trackingToken", + query: "what is a que", + datasource: "GDRIVE", + resultSize: 10, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientSearchAutocomplete failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientSearchAutocompleteMutation +} from "@gleanwork/api-client/react-query/clientSearchAutocomplete.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `autocompleteRequest` | [components.AutocompleteRequest](../../models/components/autocompleterequest.md) | :heavy_check_mark: | Autocomplete request | {
"trackingToken": "trackingToken",
"query": "what is a que",
"datasource": "GDRIVE",
"resultSize": 10
} | +| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | | + +### Response + +**Promise\<[components.AutocompleteResponse](../../models/components/autocompleteresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## retrieveFeed + +The personalized feed/home includes different types of contents including suggestions, recents, calendar events and many more. + +### Example Usage + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.search.retrieveFeed({ + timeoutMillis: 5000, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientSearchRetrieveFeed } from "@gleanwork/api-client/funcs/clientSearchRetrieveFeed.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientSearchRetrieveFeed(glean, { + timeoutMillis: 5000, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientSearchRetrieveFeed failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientSearchRetrieveFeedMutation +} from "@gleanwork/api-client/react-query/clientSearchRetrieveFeed.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `feedRequest` | [components.FeedRequest](../../models/components/feedrequest.md) | :heavy_check_mark: | Includes request params, client data and more for making user's feed. | +| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.FeedResponse](../../models/components/feedresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## recommendations + +Retrieve recommended documents for the given URL or Glean Document ID. + +### Example Usage + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.search.recommendations({ + sourceDocument: { + containerDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + parentDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "abc123", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + pageSize: 100, + maxSnippetSize: 400, + requestOptions: { + facetFilterSets: [ + { + filters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + }, + { + filters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + }, + { + filters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + }, + ], + context: { + containerDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + parentDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "abc123", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientSearchRecommendations } from "@gleanwork/api-client/funcs/clientSearchRecommendations.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientSearchRecommendations(glean, { + sourceDocument: { + containerDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + parentDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "abc123", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + pageSize: 100, + maxSnippetSize: 400, + requestOptions: { + facetFilterSets: [ + { + filters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + }, + { + filters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + }, + { + filters: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + }, + ], + context: { + containerDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + parentDocument: { + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + metadata: { + datasource: "datasource", + objectType: "Feature Request", + container: "container", + parentId: "JIRA_EN-1337", + mimeType: "mimeType", + documentId: "documentId", + createTime: new Date("2000-01-23T04:56:07.000Z"), + updateTime: new Date("2000-01-23T04:56:07.000Z"), + author: { + name: "name", + obfuscatedId: "abc123", + }, + components: [ + "Backend", + "Networking", + ], + status: "[\"Done\"]", + customData: { + "someCustomField": {}, + }, + }, + }, + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientSearchRecommendations failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientSearchRecommendationsMutation +} from "@gleanwork/api-client/react-query/clientSearchRecommendations.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `recommendationsRequest` | [components.RecommendationsRequest](../../models/components/recommendationsrequest.md) | :heavy_check_mark: | Recommendations request | +| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.ResultsResponse](../../models/components/resultsresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## query + +Retrieve results from the index for the given query and filters. + +### Example Usage + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.search.query({ + trackingToken: "trackingToken", + pageSize: 10, + query: "vacation policy", + requestOptions: { + facetFilters: [ + { + fieldName: "type", + values: [ + { + value: "article", + relationType: "EQUALS", + }, + { + value: "document", + relationType: "EQUALS", + }, + ], + }, + { + fieldName: "department", + values: [ + { + value: "engineering", + relationType: "EQUALS", + }, + ], + }, + ], + facetBucketSize: 400611, + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientSearchQuery } from "@gleanwork/api-client/funcs/clientSearchQuery.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientSearchQuery(glean, { + trackingToken: "trackingToken", + pageSize: 10, + query: "vacation policy", + requestOptions: { + facetFilters: [ + { + fieldName: "type", + values: [ + { + value: "article", + relationType: "EQUALS", + }, + { + value: "document", + relationType: "EQUALS", + }, + ], + }, + { + fieldName: "department", + values: [ + { + value: "engineering", + relationType: "EQUALS", + }, + ], + }, + ], + facetBucketSize: 400611, + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientSearchQuery failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientSearchQueryMutation +} from "@gleanwork/api-client/react-query/clientSearchQuery.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `searchRequest` | [components.SearchRequest](../../models/components/searchrequest.md) | :heavy_check_mark: | Search request | {
"trackingToken": "trackingToken",
"query": "vacation policy",
"pageSize": 10,
"requestOptions": {
"facetFilters": [
{
"fieldName": "type",
"values": [
{
"value": "article",
"relationType": "EQUALS"
},
{
"value": "document",
"relationType": "EQUALS"
}
]
},
{
"fieldName": "department",
"values": [
{
"value": "engineering",
"relationType": "EQUALS"
}
]
}
]
}
} | +| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | | + +### Response + +**Promise\<[components.SearchResponse](../../models/components/searchresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------------- | --------------------- | --------------------- | +| errors.GleanDataError | 403, 422 | application/json | +| errors.GleanError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/clienttools/README.md b/docs/sdks/clienttools/README.md deleted file mode 100644 index bdf02801..00000000 --- a/docs/sdks/clienttools/README.md +++ /dev/null @@ -1,207 +0,0 @@ -# Client.Tools - -## Overview - -### Available Operations - -* [list](#list) - List available tools -* [run](#run) - Execute the specified tool - -## list - -Returns a filtered set of available tools based on optional tool name parameters. If no filters are provided, all available tools are returned. - -### Example Usage - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.client.tools.list(); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientToolsList } from "@gleanwork/api-client/funcs/clientToolsList.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientToolsList(glean); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientToolsList failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Query hooks for fetching data. - useClientToolsList, - useClientToolsListSuspense, - - // Utility for prefetching data during server-side rendering and in React - // Server Components that will be immediately available to client components - // using the hooks. - prefetchClientToolsList, - - // Utilities to invalidate the query cache for this query in response to - // mutations and other user actions. - invalidateClientToolsList, - invalidateAllClientToolsList, -} from "@gleanwork/api-client/react-query/clientToolsList.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `toolNames` | *string*[] | :heavy_minus_sign: | Optional array of tool names to filter by | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[components.ToolsListResponse](../../models/components/toolslistresponse.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## run - -Execute the specified tool with provided parameters - -### Example Usage - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.client.tools.run({ - name: "", - parameters: { - "key": { - name: "", - value: "", - }, - }, - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientToolsRun } from "@gleanwork/api-client/funcs/clientToolsRun.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientToolsRun(glean, { - name: "", - parameters: { - "key": { - name: "", - value: "", - }, - }, - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientToolsRun failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientToolsRunMutation -} from "@gleanwork/api-client/react-query/clientToolsRun.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [components.ToolsCallRequest](../../models/components/toolscallrequest.md) | :heavy_check_mark: | The request object to use for the request. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[components.ToolsCallResponse](../../models/components/toolscallresponse.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/entities/README.md b/docs/sdks/entities/README.md index 16ea2080..8cedba2b 100644 --- a/docs/sdks/entities/README.md +++ b/docs/sdks/entities/README.md @@ -1,12 +1,232 @@ -# Entities +# Client.Entities ## Overview ### Available Operations -* [getPersonPhoto](#getpersonphoto) - Get person photo +* [list](#list) - List entities +* [readPeople](#readpeople) - Read people +* [retrievePersonPhoto](#retrievepersonphoto) - Get person photo -## getPersonPhoto +## list + +List some set of details for all entities that fit the given criteria and return in the requested order. Does not support negation in filters, assumes relation type EQUALS. There is a limit of 10000 entities that can be retrieved via this endpoint, except when using FULL_DIRECTORY request type for people entities. + +### Example Usage + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.entities.list({ + filter: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + pageSize: 100, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientEntitiesList } from "@gleanwork/api-client/funcs/clientEntitiesList.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientEntitiesList(glean, { + filter: [ + { + fieldName: "type", + values: [ + { + value: "Spreadsheet", + relationType: "EQUALS", + }, + { + value: "Presentation", + relationType: "EQUALS", + }, + ], + }, + ], + pageSize: 100, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientEntitiesList failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientEntitiesListMutation +} from "@gleanwork/api-client/react-query/clientEntitiesList.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `listEntitiesRequest` | [components.ListEntitiesRequest](../../models/components/listentitiesrequest.md) | :heavy_check_mark: | List people request | +| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.ListEntitiesResponse](../../models/components/listentitiesresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## readPeople + +Read people details for the given IDs. + +### Example Usage + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.entities.readPeople({ + obfuscatedIds: [ + "abc123", + "abc456", + ], + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientEntitiesReadPeople } from "@gleanwork/api-client/funcs/clientEntitiesReadPeople.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientEntitiesReadPeople(glean, { + obfuscatedIds: [ + "abc123", + "abc456", + ], + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientEntitiesReadPeople failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientEntitiesReadPeopleMutation +} from "@gleanwork/api-client/react-query/clientEntitiesReadPeople.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `peopleRequest` | [components.PeopleRequest](../../models/components/peoplerequest.md) | :heavy_check_mark: | People request | {
"obfuscatedIds": [
"abc123",
"abc456"
]
} | +| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | | + +### Response + +**Promise\<[components.PeopleResponse](../../models/components/peopleresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## retrievePersonPhoto Returns the profile photo bytes for a person whose photo is stored in Glean (crawled from an identity source or user-uploaded via admin console). Photos hosted externally (e.g. Slack CDN) are not served by this endpoint; callers should follow the photoUrl from /people or /listentities directly. Responses include a Cache-Control header (max-age=3600) to reduce redundant fetches. @@ -22,7 +242,7 @@ const glean = new Glean({ }); async function run() { - const result = await glean.entities.getPersonPhoto(""); + const result = await glean.client.entities.retrievePersonPhoto(""); console.log(result); } @@ -36,7 +256,7 @@ The standalone function version of this method: ```typescript import { GleanCore } from "@gleanwork/api-client/core.js"; -import { entitiesGetPersonPhoto } from "@gleanwork/api-client/funcs/entitiesGetPersonPhoto.js"; +import { clientEntitiesRetrievePersonPhoto } from "@gleanwork/api-client/funcs/clientEntitiesRetrievePersonPhoto.js"; // Use `GleanCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -45,12 +265,12 @@ const glean = new GleanCore({ }); async function run() { - const res = await entitiesGetPersonPhoto(glean, ""); + const res = await clientEntitiesRetrievePersonPhoto(glean, ""); if (res.ok) { const { value: result } = res; console.log(result); } else { - console.log("entitiesGetPersonPhoto failed:", res.error); + console.log("clientEntitiesRetrievePersonPhoto failed:", res.error); } } @@ -70,19 +290,19 @@ associated utilities. ```tsx import { // Query hooks for fetching data. - useEntitiesGetPersonPhoto, - useEntitiesGetPersonPhotoSuspense, + useClientEntitiesRetrievePersonPhoto, + useClientEntitiesRetrievePersonPhotoSuspense, // Utility for prefetching data during server-side rendering and in React // Server Components that will be immediately available to client components // using the hooks. - prefetchEntitiesGetPersonPhoto, + prefetchClientEntitiesRetrievePersonPhoto, // Utilities to invalidate the query cache for this query in response to // mutations and other user actions. - invalidateEntitiesGetPersonPhoto, - invalidateAllEntitiesGetPersonPhoto, -} from "@gleanwork/api-client/react-query/entitiesGetPersonPhoto.js"; + invalidateClientEntitiesRetrievePersonPhoto, + invalidateAllClientEntitiesRetrievePersonPhoto, +} from "@gleanwork/api-client/react-query/clientEntitiesRetrievePersonPhoto.js"; ``` ### Parameters diff --git a/docs/sdks/governance/README.md b/docs/sdks/findings/README.md similarity index 90% rename from docs/sdks/governance/README.md rename to docs/sdks/findings/README.md index 3f889d0d..383ea27a 100644 --- a/docs/sdks/governance/README.md +++ b/docs/sdks/findings/README.md @@ -1,15 +1,15 @@ -# Governance +# Client.Governance.Data.Findings ## Overview ### Available Operations -* [createfindingsexport](#createfindingsexport) - Creates findings export -* [listfindingsexports](#listfindingsexports) - Lists findings exports -* [downloadfindingsexport](#downloadfindingsexport) - Downloads findings export -* [deletefindingsexport](#deletefindingsexport) - Deletes findings export +* [create](#create) - Creates findings export +* [list](#list) - Lists findings exports +* [download](#download) - Downloads findings export +* [delete](#delete) - Deletes findings export -## createfindingsexport +## create Creates a new DLP findings export job. @@ -24,7 +24,7 @@ const glean = new Glean({ }); async function run() { - const result = await glean.governance.createfindingsexport({}); + const result = await glean.client.governance.data.findings.create({}); console.log(result); } @@ -38,7 +38,7 @@ The standalone function version of this method: ```typescript import { GleanCore } from "@gleanwork/api-client/core.js"; -import { governanceCreatefindingsexport } from "@gleanwork/api-client/funcs/governanceCreatefindingsexport.js"; +import { clientGovernanceDataFindingsCreate } from "@gleanwork/api-client/funcs/clientGovernanceDataFindingsCreate.js"; // Use `GleanCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -47,12 +47,12 @@ const glean = new GleanCore({ }); async function run() { - const res = await governanceCreatefindingsexport(glean, {}); + const res = await clientGovernanceDataFindingsCreate(glean, {}); if (res.ok) { const { value: result } = res; console.log(result); } else { - console.log("governanceCreatefindingsexport failed:", res.error); + console.log("clientGovernanceDataFindingsCreate failed:", res.error); } } @@ -72,8 +72,8 @@ associated utilities. ```tsx import { // Mutation hook for triggering the API call. - useGovernanceCreatefindingsexportMutation -} from "@gleanwork/api-client/react-query/governanceCreatefindingsexport.js"; + useClientGovernanceDataFindingsCreateMutation +} from "@gleanwork/api-client/react-query/clientGovernanceDataFindingsCreate.js"; ``` ### Parameters @@ -95,7 +95,7 @@ import { | ----------------- | ----------------- | ----------------- | | errors.GleanError | 4XX, 5XX | \*/\* | -## listfindingsexports +## list Lists all DLP findings exports. @@ -110,7 +110,7 @@ const glean = new Glean({ }); async function run() { - const result = await glean.governance.listfindingsexports(); + const result = await glean.client.governance.data.findings.list(); console.log(result); } @@ -124,7 +124,7 @@ The standalone function version of this method: ```typescript import { GleanCore } from "@gleanwork/api-client/core.js"; -import { governanceListfindingsexports } from "@gleanwork/api-client/funcs/governanceListfindingsexports.js"; +import { clientGovernanceDataFindingsList } from "@gleanwork/api-client/funcs/clientGovernanceDataFindingsList.js"; // Use `GleanCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -133,12 +133,12 @@ const glean = new GleanCore({ }); async function run() { - const res = await governanceListfindingsexports(glean); + const res = await clientGovernanceDataFindingsList(glean); if (res.ok) { const { value: result } = res; console.log(result); } else { - console.log("governanceListfindingsexports failed:", res.error); + console.log("clientGovernanceDataFindingsList failed:", res.error); } } @@ -158,18 +158,18 @@ associated utilities. ```tsx import { // Query hooks for fetching data. - useGovernanceListfindingsexports, - useGovernanceListfindingsexportsSuspense, + useClientGovernanceDataFindingsList, + useClientGovernanceDataFindingsListSuspense, // Utility for prefetching data during server-side rendering and in React // Server Components that will be immediately available to client components // using the hooks. - prefetchGovernanceListfindingsexports, + prefetchClientGovernanceDataFindingsList, // Utility to invalidate the query cache for this query in response to // mutations and other user actions. - invalidateAllGovernanceListfindingsexports, -} from "@gleanwork/api-client/react-query/governanceListfindingsexports.js"; + invalidateAllClientGovernanceDataFindingsList, +} from "@gleanwork/api-client/react-query/clientGovernanceDataFindingsList.js"; ``` ### Parameters @@ -190,7 +190,7 @@ import { | ----------------- | ----------------- | ----------------- | | errors.GleanError | 4XX, 5XX | \*/\* | -## downloadfindingsexport +## download Downloads a DLP findings export as a CSV file. @@ -205,7 +205,7 @@ const glean = new Glean({ }); async function run() { - const result = await glean.governance.downloadfindingsexport(""); + const result = await glean.client.governance.data.findings.download(""); console.log(result); } @@ -219,7 +219,7 @@ The standalone function version of this method: ```typescript import { GleanCore } from "@gleanwork/api-client/core.js"; -import { governanceDownloadfindingsexport } from "@gleanwork/api-client/funcs/governanceDownloadfindingsexport.js"; +import { clientGovernanceDataFindingsDownload } from "@gleanwork/api-client/funcs/clientGovernanceDataFindingsDownload.js"; // Use `GleanCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -228,12 +228,12 @@ const glean = new GleanCore({ }); async function run() { - const res = await governanceDownloadfindingsexport(glean, ""); + const res = await clientGovernanceDataFindingsDownload(glean, ""); if (res.ok) { const { value: result } = res; console.log(result); } else { - console.log("governanceDownloadfindingsexport failed:", res.error); + console.log("clientGovernanceDataFindingsDownload failed:", res.error); } } @@ -253,19 +253,19 @@ associated utilities. ```tsx import { // Query hooks for fetching data. - useGovernanceDownloadfindingsexport, - useGovernanceDownloadfindingsexportSuspense, + useClientGovernanceDataFindingsDownload, + useClientGovernanceDataFindingsDownloadSuspense, // Utility for prefetching data during server-side rendering and in React // Server Components that will be immediately available to client components // using the hooks. - prefetchGovernanceDownloadfindingsexport, + prefetchClientGovernanceDataFindingsDownload, // Utilities to invalidate the query cache for this query in response to // mutations and other user actions. - invalidateGovernanceDownloadfindingsexport, - invalidateAllGovernanceDownloadfindingsexport, -} from "@gleanwork/api-client/react-query/governanceDownloadfindingsexport.js"; + invalidateClientGovernanceDataFindingsDownload, + invalidateAllClientGovernanceDataFindingsDownload, +} from "@gleanwork/api-client/react-query/clientGovernanceDataFindingsDownload.js"; ``` ### Parameters @@ -287,7 +287,7 @@ import { | ----------------- | ----------------- | ----------------- | | errors.GleanError | 4XX, 5XX | \*/\* | -## deletefindingsexport +## delete Deletes a DLP findings export. @@ -302,7 +302,7 @@ const glean = new Glean({ }); async function run() { - await glean.governance.deletefindingsexport(741945); + await glean.client.governance.data.findings.delete(741945); } @@ -316,7 +316,7 @@ The standalone function version of this method: ```typescript import { GleanCore } from "@gleanwork/api-client/core.js"; -import { governanceDeletefindingsexport } from "@gleanwork/api-client/funcs/governanceDeletefindingsexport.js"; +import { clientGovernanceDataFindingsDelete } from "@gleanwork/api-client/funcs/clientGovernanceDataFindingsDelete.js"; // Use `GleanCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -325,12 +325,12 @@ const glean = new GleanCore({ }); async function run() { - const res = await governanceDeletefindingsexport(glean, 741945); + const res = await clientGovernanceDataFindingsDelete(glean, 741945); if (res.ok) { const { value: result } = res; } else { - console.log("governanceDeletefindingsexport failed:", res.error); + console.log("clientGovernanceDataFindingsDelete failed:", res.error); } } @@ -350,8 +350,8 @@ associated utilities. ```tsx import { // Mutation hook for triggering the API call. - useGovernanceDeletefindingsexportMutation -} from "@gleanwork/api-client/react-query/governanceDeletefindingsexport.js"; + useClientGovernanceDataFindingsDeleteMutation +} from "@gleanwork/api-client/react-query/clientGovernanceDataFindingsDelete.js"; ``` ### Parameters diff --git a/docs/sdks/indexingdocuments/README.md b/docs/sdks/indexingdocuments/README.md index 4377e4a5..175c9217 100644 --- a/docs/sdks/indexingdocuments/README.md +++ b/docs/sdks/indexingdocuments/README.md @@ -16,6 +16,8 @@ * [checkAccess](#checkaccess) - Check document access * [~~status~~](#status) - Get document upload and indexing status :warning: **Deprecated** * [~~count~~](#count) - Get document count :warning: **Deprecated** +* [debugEvents](#debugevents) - Beta: Get document lifecycle events + ## addOrUpdate @@ -977,6 +979,104 @@ import { ### Errors +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## debugEvents + +Retrieves lifecycle events for a specific document including upload time, index times and deletions. Rate limited to 1 request per minute per datasource. Currently in beta, might undergo breaking changes without prior notice. + + +### Example Usage + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.indexing.documents.debugEvents({ + objectType: "Article", + docId: "art123", + startDate: "2025-05-01", + maxEvents: 50, + }, ""); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { indexingDocumentsDebugEvents } from "@gleanwork/api-client/funcs/indexingDocumentsDebugEvents.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await indexingDocumentsDebugEvents(glean, { + objectType: "Article", + docId: "art123", + startDate: "2025-05-01", + maxEvents: 50, + }, ""); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("indexingDocumentsDebugEvents failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useIndexingDocumentsDebugEventsMutation +} from "@gleanwork/api-client/react-query/indexingDocumentsDebugEvents.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `datasource` | *string* | :heavy_check_mark: | The datasource to which the document belongs | +| `debugDocumentLifecycleRequest` | [components.DebugDocumentLifecycleRequest](../../models/components/debugdocumentlifecyclerequest.md) | :heavy_check_mark: | N/A | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.DebugDocumentLifecycleResponse](../../models/components/debugdocumentlifecycleresponse.md)\>** + +### Errors + | Error Type | Status Code | Content Type | | ----------------- | ----------------- | ----------------- | | errors.GleanError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/search/README.md b/docs/sdks/search/README.md index a647106d..f2436172 100644 --- a/docs/sdks/search/README.md +++ b/docs/sdks/search/README.md @@ -1,360 +1,19 @@ -# Client.Search +# Search ## Overview ### Available Operations -* [queryAsAdmin](#queryasadmin) - Search the index (admin) -* [autocomplete](#autocomplete) - Autocomplete -* [retrieveFeed](#retrievefeed) - Feed of documents and events -* [recommendations](#recommendations) - Recommend documents * [query](#query) - Search -## queryAsAdmin - -Retrieves results for search query without respect for permissions. This is available only to privileged users. - -### Example Usage - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.client.search.queryAsAdmin({ - trackingToken: "trackingToken", - pageSize: 10, - query: "vacation policy", - requestOptions: { - facetFilters: [ - { - fieldName: "type", - values: [ - { - value: "article", - relationType: "EQUALS", - }, - { - value: "document", - relationType: "EQUALS", - }, - ], - }, - { - fieldName: "department", - values: [ - { - value: "engineering", - relationType: "EQUALS", - }, - ], - }, - ], - facetBucketSize: 421489, - }, - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientSearchQueryAsAdmin } from "@gleanwork/api-client/funcs/clientSearchQueryAsAdmin.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientSearchQueryAsAdmin(glean, { - trackingToken: "trackingToken", - pageSize: 10, - query: "vacation policy", - requestOptions: { - facetFilters: [ - { - fieldName: "type", - values: [ - { - value: "article", - relationType: "EQUALS", - }, - { - value: "document", - relationType: "EQUALS", - }, - ], - }, - { - fieldName: "department", - values: [ - { - value: "engineering", - relationType: "EQUALS", - }, - ], - }, - ], - facetBucketSize: 421489, - }, - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientSearchQueryAsAdmin failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientSearchQueryAsAdminMutation -} from "@gleanwork/api-client/react-query/clientSearchQueryAsAdmin.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `searchRequest` | [components.SearchRequest](../../models/components/searchrequest.md) | :heavy_check_mark: | Admin search request | {
"trackingToken": "trackingToken",
"query": "vacation policy",
"pageSize": 10,
"requestOptions": {
"facetFilters": [
{
"fieldName": "type",
"values": [
{
"value": "article",
"relationType": "EQUALS"
},
{
"value": "document",
"relationType": "EQUALS"
}
]
},
{
"fieldName": "department",
"values": [
{
"value": "engineering",
"relationType": "EQUALS"
}
]
}
]
}
} | -| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | | - -### Response - -**Promise\<[components.SearchResponse](../../models/components/searchresponse.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| --------------------- | --------------------- | --------------------- | -| errors.GleanDataError | 403, 422 | application/json | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## autocomplete - -Retrieve query suggestions, operators and documents for the given partially typed query. - -### Example Usage - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.client.search.autocomplete({ - trackingToken: "trackingToken", - query: "what is a que", - datasource: "GDRIVE", - resultSize: 10, - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientSearchAutocomplete } from "@gleanwork/api-client/funcs/clientSearchAutocomplete.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientSearchAutocomplete(glean, { - trackingToken: "trackingToken", - query: "what is a que", - datasource: "GDRIVE", - resultSize: 10, - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientSearchAutocomplete failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientSearchAutocompleteMutation -} from "@gleanwork/api-client/react-query/clientSearchAutocomplete.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `autocompleteRequest` | [components.AutocompleteRequest](../../models/components/autocompleterequest.md) | :heavy_check_mark: | Autocomplete request | {
"trackingToken": "trackingToken",
"query": "what is a que",
"datasource": "GDRIVE",
"resultSize": 10
} | -| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | | - -### Response - -**Promise\<[components.AutocompleteResponse](../../models/components/autocompleteresponse.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## retrieveFeed - -The personalized feed/home includes different types of contents including suggestions, recents, calendar events and many more. - -### Example Usage - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.client.search.retrieveFeed({ - timeoutMillis: 5000, - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientSearchRetrieveFeed } from "@gleanwork/api-client/funcs/clientSearchRetrieveFeed.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientSearchRetrieveFeed(glean, { - timeoutMillis: 5000, - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientSearchRetrieveFeed failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientSearchRetrieveFeedMutation -} from "@gleanwork/api-client/react-query/clientSearchRetrieveFeed.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `feedRequest` | [components.FeedRequest](../../models/components/feedrequest.md) | :heavy_check_mark: | Includes request params, client data and more for making user's feed. | -| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[components.FeedResponse](../../models/components/feedresponse.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | +## query -## recommendations +Execute a search query and retrieve ranked results. This is the data retrieval variant of the search API and returns only results and pagination state. -Retrieve recommended documents for the given URL or Glean Document ID. ### Example Usage - + ```typescript import { Glean } from "@gleanwork/api-client"; @@ -363,208 +22,25 @@ const glean = new Glean({ }); async function run() { - const result = await glean.client.search.recommendations({ - sourceDocument: { - containerDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - parentDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "abc123", - }, - components: [ - "Backend", - "Networking", + const result = await glean.search.query({ + query: "quarterly planning 2026", + datasources: [ + "confluence", + "google_drive", + ], + datasource_instances: [ + "slack_acme", + "slack_eu", + ], + filters: [ + { + field: "type", + values: [ + "spreadsheet", + "presentation", ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, }, - }, - pageSize: 100, - maxSnippetSize: 400, - requestOptions: { - facetFilterSets: [ - { - filters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - }, - { - filters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - }, - { - filters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - }, - ], - context: { - containerDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - parentDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "abc123", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - }, + ], }); console.log(result); @@ -579,7 +55,7 @@ The standalone function version of this method: ```typescript import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientSearchRecommendations } from "@gleanwork/api-client/funcs/clientSearchRecommendations.js"; +import { searchQuery } from "@gleanwork/api-client/funcs/searchQuery.js"; // Use `GleanCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -588,363 +64,31 @@ const glean = new GleanCore({ }); async function run() { - const res = await clientSearchRecommendations(glean, { - sourceDocument: { - containerDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - parentDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "abc123", - }, - components: [ - "Backend", - "Networking", + const res = await searchQuery(glean, { + query: "quarterly planning 2026", + datasources: [ + "confluence", + "google_drive", + ], + datasource_instances: [ + "slack_acme", + "slack_eu", + ], + filters: [ + { + field: "type", + values: [ + "spreadsheet", + "presentation", ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - pageSize: 100, - maxSnippetSize: 400, - requestOptions: { - facetFilterSets: [ - { - filters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - }, - { - filters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - }, - { - filters: [ - { - fieldName: "type", - values: [ - { - value: "Spreadsheet", - relationType: "EQUALS", - }, - { - value: "Presentation", - relationType: "EQUALS", - }, - ], - }, - ], - }, - ], - context: { - containerDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - parentDocument: { - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, - }, - metadata: { - datasource: "datasource", - objectType: "Feature Request", - container: "container", - parentId: "JIRA_EN-1337", - mimeType: "mimeType", - documentId: "documentId", - createTime: new Date("2000-01-23T04:56:07.000Z"), - updateTime: new Date("2000-01-23T04:56:07.000Z"), - author: { - name: "name", - obfuscatedId: "abc123", - }, - components: [ - "Backend", - "Networking", - ], - status: "[\"Done\"]", - customData: { - "someCustomField": {}, - }, - }, }, - }, - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientSearchRecommendations failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useClientSearchRecommendationsMutation -} from "@gleanwork/api-client/react-query/clientSearchRecommendations.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `recommendationsRequest` | [components.RecommendationsRequest](../../models/components/recommendationsrequest.md) | :heavy_check_mark: | Recommendations request | -| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[components.ResultsResponse](../../models/components/resultsresponse.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## query - -Retrieve results from the index for the given query and filters. - -### Example Usage - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.client.search.query({ - trackingToken: "trackingToken", - pageSize: 10, - query: "vacation policy", - requestOptions: { - facetFilters: [ - { - fieldName: "type", - values: [ - { - value: "article", - relationType: "EQUALS", - }, - { - value: "document", - relationType: "EQUALS", - }, - ], - }, - { - fieldName: "department", - values: [ - { - value: "engineering", - relationType: "EQUALS", - }, - ], - }, - ], - facetBucketSize: 400611, - }, - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientSearchQuery } from "@gleanwork/api-client/funcs/clientSearchQuery.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await clientSearchQuery(glean, { - trackingToken: "trackingToken", - pageSize: 10, - query: "vacation policy", - requestOptions: { - facetFilters: [ - { - fieldName: "type", - values: [ - { - value: "article", - relationType: "EQUALS", - }, - { - value: "document", - relationType: "EQUALS", - }, - ], - }, - { - fieldName: "department", - values: [ - { - value: "engineering", - relationType: "EQUALS", - }, - ], - }, - ], - facetBucketSize: 400611, - }, + ], }); if (res.ok) { const { value: result } = res; console.log(result); } else { - console.log("clientSearchQuery failed:", res.error); + console.log("searchQuery failed:", res.error); } } @@ -964,27 +108,27 @@ associated utilities. ```tsx import { // Mutation hook for triggering the API call. - useClientSearchQueryMutation -} from "@gleanwork/api-client/react-query/clientSearchQuery.js"; + useSearchQueryMutation +} from "@gleanwork/api-client/react-query/searchQuery.js"; ``` ### Parameters -| Parameter | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `searchRequest` | [components.SearchRequest](../../models/components/searchrequest.md) | :heavy_check_mark: | Search request | {
"trackingToken": "trackingToken",
"query": "vacation policy",
"pageSize": 10,
"requestOptions": {
"facetFilters": [
{
"fieldName": "type",
"values": [
{
"value": "article",
"relationType": "EQUALS"
},
{
"value": "document",
"relationType": "EQUALS"
}
]
},
{
"fieldName": "department",
"values": [
{
"value": "engineering",
"relationType": "EQUALS"
}
]
}
]
}
} | -| `locale` | *string* | :heavy_minus_sign: | The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. | | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | | +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [components.PlatformSearchRequest](../../models/components/platformsearchrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | ### Response -**Promise\<[components.SearchResponse](../../models/components/searchresponse.md)\>** +**Promise\<[components.PlatformSearchResponse](../../models/components/platformsearchresponse.md)\>** ### Errors -| Error Type | Status Code | Content Type | -| --------------------- | --------------------- | --------------------- | -| errors.GleanDataError | 403, 422 | application/json | -| errors.GleanError | 4XX, 5XX | \*/\* | \ No newline at end of file +| Error Type | Status Code | Content Type | +| --------------------------------- | --------------------------------- | --------------------------------- | +| errors.PlatformProblemDetailError | 400, 401, 403, 404, 408, 429 | application/problem+json | +| errors.PlatformProblemDetailError | 500, 503 | application/problem+json | +| errors.GleanError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/tools/README.md b/docs/sdks/tools/README.md index edba57ef..2f3919d0 100644 --- a/docs/sdks/tools/README.md +++ b/docs/sdks/tools/README.md @@ -1,13 +1,214 @@ -# Tools +# Client.Tools ## Overview ### Available Operations -* [getActionPackAuthStatus](#getactionpackauthstatus) - Get end-user authentication status for an action pack. +* [list](#list) - List available tools +* [run](#run) - Execute the specified tool +* [retrieveActionPackAuthStatus](#retrieveactionpackauthstatus) - Get end-user authentication status for an action pack. * [authorizeActionPack](#authorizeactionpack) - Start the OAuth authorization flow for an action pack. -## getActionPackAuthStatus +## list + +Returns a filtered set of available tools based on optional tool name parameters. If no filters are provided, all available tools are returned. + +### Example Usage + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.tools.list(); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientToolsList } from "@gleanwork/api-client/funcs/clientToolsList.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientToolsList(glean); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientToolsList failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Query hooks for fetching data. + useClientToolsList, + useClientToolsListSuspense, + + // Utility for prefetching data during server-side rendering and in React + // Server Components that will be immediately available to client components + // using the hooks. + prefetchClientToolsList, + + // Utilities to invalidate the query cache for this query in response to + // mutations and other user actions. + invalidateClientToolsList, + invalidateAllClientToolsList, +} from "@gleanwork/api-client/react-query/clientToolsList.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `toolNames` | *string*[] | :heavy_minus_sign: | Optional array of tool names to filter by | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.ToolsListResponse](../../models/components/toolslistresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## run + +Execute the specified tool with provided parameters + +### Example Usage + + +```typescript +import { Glean } from "@gleanwork/api-client"; + +const glean = new Glean({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const result = await glean.client.tools.run({ + name: "", + parameters: { + "key": { + name: "", + value: "", + }, + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientToolsRun } from "@gleanwork/api-client/funcs/clientToolsRun.js"; + +// Use `GleanCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const glean = new GleanCore({ + apiToken: process.env["GLEAN_API_TOKEN"] ?? "", +}); + +async function run() { + const res = await clientToolsRun(glean, { + name: "", + parameters: { + "key": { + name: "", + value: "", + }, + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientToolsRun failed:", res.error); + } +} + +run(); +``` + +### React hooks and utilities + +This method can be used in React components through the following hooks and +associated utilities. + +> Check out [this guide][hook-guide] for information about each of the utilities +> below and how to get started using React hooks. + +[hook-guide]: ../../../REACT_QUERY.md + +```tsx +import { + // Mutation hook for triggering the API call. + useClientToolsRunMutation +} from "@gleanwork/api-client/react-query/clientToolsRun.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [components.ToolsCallRequest](../../models/components/toolscallrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[components.ToolsCallResponse](../../models/components/toolscallresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## retrieveActionPackAuthStatus Reports whether the calling user is already authenticated against the third-party tool backing the specified action pack. Intended for headless / server-driven clients @@ -25,7 +226,7 @@ const glean = new Glean({ }); async function run() { - const result = await glean.tools.getActionPackAuthStatus(""); + const result = await glean.client.tools.retrieveActionPackAuthStatus(""); console.log(result); } @@ -39,7 +240,7 @@ The standalone function version of this method: ```typescript import { GleanCore } from "@gleanwork/api-client/core.js"; -import { toolsGetActionPackAuthStatus } from "@gleanwork/api-client/funcs/toolsGetActionPackAuthStatus.js"; +import { clientToolsRetrieveActionPackAuthStatus } from "@gleanwork/api-client/funcs/clientToolsRetrieveActionPackAuthStatus.js"; // Use `GleanCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -48,12 +249,12 @@ const glean = new GleanCore({ }); async function run() { - const res = await toolsGetActionPackAuthStatus(glean, ""); + const res = await clientToolsRetrieveActionPackAuthStatus(glean, ""); if (res.ok) { const { value: result } = res; console.log(result); } else { - console.log("toolsGetActionPackAuthStatus failed:", res.error); + console.log("clientToolsRetrieveActionPackAuthStatus failed:", res.error); } } @@ -73,19 +274,19 @@ associated utilities. ```tsx import { // Query hooks for fetching data. - useToolsGetActionPackAuthStatus, - useToolsGetActionPackAuthStatusSuspense, + useClientToolsRetrieveActionPackAuthStatus, + useClientToolsRetrieveActionPackAuthStatusSuspense, // Utility for prefetching data during server-side rendering and in React // Server Components that will be immediately available to client components // using the hooks. - prefetchToolsGetActionPackAuthStatus, + prefetchClientToolsRetrieveActionPackAuthStatus, // Utilities to invalidate the query cache for this query in response to // mutations and other user actions. - invalidateToolsGetActionPackAuthStatus, - invalidateAllToolsGetActionPackAuthStatus, -} from "@gleanwork/api-client/react-query/toolsGetActionPackAuthStatus.js"; + invalidateClientToolsRetrieveActionPackAuthStatus, + invalidateAllClientToolsRetrieveActionPackAuthStatus, +} from "@gleanwork/api-client/react-query/clientToolsRetrieveActionPackAuthStatus.js"; ``` ### Parameters @@ -129,7 +330,7 @@ const glean = new Glean({ }); async function run() { - const result = await glean.tools.authorizeActionPack({ + const result = await glean.client.tools.authorizeActionPack({ returnUrl: "https://merry-allocation.org/", }, ""); @@ -145,7 +346,7 @@ The standalone function version of this method: ```typescript import { GleanCore } from "@gleanwork/api-client/core.js"; -import { toolsAuthorizeActionPack } from "@gleanwork/api-client/funcs/toolsAuthorizeActionPack.js"; +import { clientToolsAuthorizeActionPack } from "@gleanwork/api-client/funcs/clientToolsAuthorizeActionPack.js"; // Use `GleanCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -154,14 +355,14 @@ const glean = new GleanCore({ }); async function run() { - const res = await toolsAuthorizeActionPack(glean, { + const res = await clientToolsAuthorizeActionPack(glean, { returnUrl: "https://merry-allocation.org/", }, ""); if (res.ok) { const { value: result } = res; console.log(result); } else { - console.log("toolsAuthorizeActionPack failed:", res.error); + console.log("clientToolsAuthorizeActionPack failed:", res.error); } } @@ -181,8 +382,8 @@ associated utilities. ```tsx import { // Mutation hook for triggering the API call. - useToolsAuthorizeActionPackMutation -} from "@gleanwork/api-client/react-query/toolsAuthorizeActionPack.js"; + useClientToolsAuthorizeActionPackMutation +} from "@gleanwork/api-client/react-query/clientToolsAuthorizeActionPack.js"; ``` ### Parameters diff --git a/docs/sdks/troubleshooting/README.md b/docs/sdks/troubleshooting/README.md deleted file mode 100644 index ae68493c..00000000 --- a/docs/sdks/troubleshooting/README.md +++ /dev/null @@ -1,106 +0,0 @@ -# Troubleshooting - -## Overview - -### Available Operations - -* [postApiIndexV1DebugDatasourceDocumentEvents](#postapiindexv1debugdatasourcedocumentevents) - Beta: Get document lifecycle events - - -## postApiIndexV1DebugDatasourceDocumentEvents - -Retrieves lifecycle events for a specific document including upload time, index times and deletions. Rate limited to 1 request per minute per datasource. Currently in beta, might undergo breaking changes without prior notice. - - -### Example Usage - - -```typescript -import { Glean } from "@gleanwork/api-client"; - -const glean = new Glean({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const result = await glean.troubleshooting.postApiIndexV1DebugDatasourceDocumentEvents({ - objectType: "Article", - docId: "art123", - startDate: "2025-05-01", - maxEvents: 50, - }, ""); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents } from "@gleanwork/api-client/funcs/troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents.js"; - -// Use `GleanCore` for best tree-shaking performance. -// You can create one instance of it to use across an application. -const glean = new GleanCore({ - apiToken: process.env["GLEAN_API_TOKEN"] ?? "", -}); - -async function run() { - const res = await troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents(glean, { - objectType: "Article", - docId: "art123", - startDate: "2025-05-01", - maxEvents: 50, - }, ""); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents failed:", res.error); - } -} - -run(); -``` - -### React hooks and utilities - -This method can be used in React components through the following hooks and -associated utilities. - -> Check out [this guide][hook-guide] for information about each of the utilities -> below and how to get started using React hooks. - -[hook-guide]: ../../../REACT_QUERY.md - -```tsx -import { - // Mutation hook for triggering the API call. - useTroubleshootingPostApiIndexV1DebugDatasourceDocumentEventsMutation -} from "@gleanwork/api-client/react-query/troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `datasource` | *string* | :heavy_check_mark: | The datasource to which the document belongs | -| `debugDocumentLifecycleRequest` | [components.DebugDocumentLifecycleRequest](../../models/components/debugdocumentlifecyclerequest.md) | :heavy_check_mark: | N/A | -| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | -| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | -| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | - -### Response - -**Promise\<[components.DebugDocumentLifecycleResponse](../../models/components/debugdocumentlifecycleresponse.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/examples/package-lock.json b/examples/package-lock.json index 7bd8f14e..0f0e487b 100644 --- a/examples/package-lock.json +++ b/examples/package-lock.json @@ -18,7 +18,7 @@ }, "..": { "name": "@gleanwork/api-client", - "version": "0.16.1", + "version": "0.17.0", "dependencies": { "zod": "^3.25.0 || ^4.0.0" }, diff --git a/jsr.json b/jsr.json index 6fcd5b2a..4d1240f2 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "@gleanwork/api-client", - "version": "0.16.1", + "version": "0.17.0", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/package-lock.json b/package-lock.json index e75e8c90..70a3c2b6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@gleanwork/api-client", - "version": "0.16.1", + "version": "0.17.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@gleanwork/api-client", - "version": "0.16.1", + "version": "0.17.0", "dependencies": { "zod": "^3.25.0 || ^4.0.0" }, diff --git a/package.json b/package.json index 79320624..752ff74a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gleanwork/api-client", - "version": "0.16.1", + "version": "0.17.0", "author": "Speakeasy", "tshy": { "sourceDialects": [ diff --git a/src/__tests__/agents.test.ts b/src/__tests__/agents.test.ts index aa86b438..d8d0af0f 100644 --- a/src/__tests__/agents.test.ts +++ b/src/__tests__/agents.test.ts @@ -69,8 +69,8 @@ it.skip("Agents Create And Wait Run", async () => { ); }); -test("Agents Create Agent", async () => { - const testHttpClient = createTestHTTPClient("createAgent"); +test("Agents Platform Agents Search", async () => { + const testHttpClient = createTestHTTPClient("platform-agents-search"); const glean = new Glean({ serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", @@ -78,6 +78,54 @@ test("Agents Create Agent", async () => { apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", }); - const result = await glean.agents.createAgent({}); + const result = await glean.agents.search({ + name: "HR Policy Agent", + }); + expect(result).toBeDefined(); +}); + +test("Agents Platform Agents Get", async () => { + const testHttpClient = createTestHTTPClient("platform-agents-get"); + + const glean = new Glean({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", + }); + + const result = await glean.agents.get(""); + expect(result).toBeDefined(); +}); + +test("Agents Platform Agents Get Schemas", async () => { + const testHttpClient = createTestHTTPClient("platform-agents-get-schemas"); + + const glean = new Glean({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", + }); + + const result = await glean.agents.getSchemas(""); + expect(result).toBeDefined(); +}); + +test("Agents Platform Agents Create Run", async () => { + const testHttpClient = createTestHTTPClient("platform-agents-create-run"); + + const glean = new Glean({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", + }); + + const result = await glean.agents.createRun({ + messages: [ + { + role: "USER", + content: [], + }, + ], + }, ""); expect(result).toBeDefined(); }); diff --git a/src/__tests__/chat.test.ts b/src/__tests__/chat.test.ts index 6937dd9f..81d2a20d 100644 --- a/src/__tests__/chat.test.ts +++ b/src/__tests__/chat.test.ts @@ -16,6 +16,6 @@ test("Chat Get Chat File", async () => { apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", }); - const result = await glean.chat.getChatFile(""); + const result = await glean.client.chat.retrieveFile(""); expect(result).toBeDefined(); }); diff --git a/src/__tests__/authentication.test.ts b/src/__tests__/clientagents.test.ts similarity index 66% rename from src/__tests__/authentication.test.ts rename to src/__tests__/clientagents.test.ts index b2aa34bc..a4b5695e 100644 --- a/src/__tests__/authentication.test.ts +++ b/src/__tests__/clientagents.test.ts @@ -1,14 +1,14 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 691dee516585 + * @generated-id: d02a28a2e760 */ import { expect, test } from "vitest"; import { Glean } from "../index.js"; import { createTestHTTPClient } from "./testclient.js"; -test("Authentication Checkdatasourceauth", async () => { - const testHttpClient = createTestHTTPClient("checkdatasourceauth"); +test("Client Agents Create Agent", async () => { + const testHttpClient = createTestHTTPClient("createAgent"); const glean = new Glean({ serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", @@ -16,6 +16,6 @@ test("Authentication Checkdatasourceauth", async () => { apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", }); - const result = await glean.authentication.checkdatasourceauth(); + const result = await glean.client.agents.create({}); expect(result).toBeDefined(); }); diff --git a/src/__tests__/clientauthentication.test.ts b/src/__tests__/clientauthentication.test.ts index 45830200..e0c251c8 100644 --- a/src/__tests__/clientauthentication.test.ts +++ b/src/__tests__/clientauthentication.test.ts @@ -25,3 +25,16 @@ test("Client Authentication Createauthtoken", async () => { const result = await glean.client.authentication.createToken(); expect(result).toBeDefined(); }); + +test("Client Authentication Checkdatasourceauth", async () => { + const testHttpClient = createTestHTTPClient("checkdatasourceauth"); + + const glean = new Glean({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", + }); + + const result = await glean.client.authentication.checkDatasourceAuth(); + expect(result).toBeDefined(); +}); diff --git a/src/__tests__/clientdatasources.test.ts b/src/__tests__/clientdatasources.test.ts new file mode 100644 index 00000000..184e80c2 --- /dev/null +++ b/src/__tests__/clientdatasources.test.ts @@ -0,0 +1,83 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 62dc5e3af27f + */ + +import { expect, test } from "vitest"; +import { Glean } from "../index.js"; +import { createTestHTTPClient } from "./testclient.js"; + +test("Client Datasources Get Datasource Instance Configuration", async () => { + const testHttpClient = createTestHTTPClient( + "getDatasourceInstanceConfiguration", + ); + + const glean = new Glean({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", + }); + + const result = await glean.client.datasources.retrieveConfiguration( + "o365sharepoint", + "o365sharepoint_abc123", + ); + expect(result).toBeDefined(); +}); + +test("Client Datasources Update Datasource Instance Configuration", async () => { + const testHttpClient = createTestHTTPClient( + "updateDatasourceInstanceConfiguration", + ); + + const glean = new Glean({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", + }); + + const result = await glean.client.datasources.updateConfiguration( + { + configuration: { + values: {}, + }, + }, + "o365sharepoint", + "o365sharepoint_abc123", + ); + expect(result).toBeDefined(); +}); + +test("Client Datasources Get Datasource Credential Status", async () => { + const testHttpClient = createTestHTTPClient("getDatasourceCredentialStatus"); + + const glean = new Glean({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", + }); + + const result = await glean.client.datasources.retrieveCredentialStatus( + "o365sharepoint_abc123", + ); + expect(result).toBeDefined(); +}); + +test("Client Datasources Rotate Datasource Credentials", async () => { + const testHttpClient = createTestHTTPClient("rotateDatasourceCredentials"); + + const glean = new Glean({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", + }); + + const result = await glean.client.datasources.rotateCredentials({ + credentials: { + values: { + "key": {}, + }, + }, + }, "o365sharepoint_abc123"); + expect(result).toBeDefined(); +}); diff --git a/src/__tests__/datasources.test.ts b/src/__tests__/datasources.test.ts index 27025fea..6d647724 100644 --- a/src/__tests__/datasources.test.ts +++ b/src/__tests__/datasources.test.ts @@ -58,78 +58,3 @@ test("Datasources Post /Api/index/v1 /Getdatasourceconfig", async () => { }); expect(result).toBeDefined(); }); - -test("Datasources Get Datasource Instance Configuration", async () => { - const testHttpClient = createTestHTTPClient( - "getDatasourceInstanceConfiguration", - ); - - const glean = new Glean({ - serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", - httpClient: testHttpClient, - apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", - }); - - const result = await glean.datasources.getDatasourceInstanceConfiguration( - "o365sharepoint", - "o365sharepoint_abc123", - ); - expect(result).toBeDefined(); -}); - -test("Datasources Update Datasource Instance Configuration", async () => { - const testHttpClient = createTestHTTPClient( - "updateDatasourceInstanceConfiguration", - ); - - const glean = new Glean({ - serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", - httpClient: testHttpClient, - apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", - }); - - const result = await glean.datasources.updateDatasourceInstanceConfiguration( - { - configuration: { - values: {}, - }, - }, - "o365sharepoint", - "o365sharepoint_abc123", - ); - expect(result).toBeDefined(); -}); - -test("Datasources Get Datasource Credential Status", async () => { - const testHttpClient = createTestHTTPClient("getDatasourceCredentialStatus"); - - const glean = new Glean({ - serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", - httpClient: testHttpClient, - apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", - }); - - const result = await glean.datasources.getDatasourceCredentialStatus( - "o365sharepoint_abc123", - ); - expect(result).toBeDefined(); -}); - -test("Datasources Rotate Datasource Credentials", async () => { - const testHttpClient = createTestHTTPClient("rotateDatasourceCredentials"); - - const glean = new Glean({ - serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", - httpClient: testHttpClient, - apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", - }); - - const result = await glean.datasources.rotateDatasourceCredentials({ - credentials: { - values: { - "key": {}, - }, - }, - }, "o365sharepoint_abc123"); - expect(result).toBeDefined(); -}); diff --git a/src/__tests__/entities.test.ts b/src/__tests__/entities.test.ts index cc37bc60..38a0e7b0 100644 --- a/src/__tests__/entities.test.ts +++ b/src/__tests__/entities.test.ts @@ -5,7 +5,7 @@ import { assert, expect, it, test } from "vitest"; import { Glean } from "../index.js"; -import { GetPersonPhotoAcceptEnum } from "../sdk/entities.js"; +import { RetrievePersonPhotoAcceptEnum } from "../sdk/entities.js"; import { createTestHTTPClient } from "./testclient.js"; test("Entities Listentities", async () => { @@ -71,8 +71,12 @@ test("Entities Get Person Photo", async () => { apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", }); - const result = await glean.entities.getPersonPhoto("", undefined, { - acceptHeaderOverride: GetPersonPhotoAcceptEnum.imagePng, - }); + const result = await glean.client.entities.retrievePersonPhoto( + "", + undefined, + { + acceptHeaderOverride: RetrievePersonPhotoAcceptEnum.imagePng, + }, + ); expect(result).toBeDefined(); }); diff --git a/src/__tests__/governance.test.ts b/src/__tests__/findings.test.ts similarity index 80% rename from src/__tests__/governance.test.ts rename to src/__tests__/findings.test.ts index 933ca26f..b7bbdf93 100644 --- a/src/__tests__/governance.test.ts +++ b/src/__tests__/findings.test.ts @@ -1,13 +1,13 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 63127dff57fb + * @generated-id: 5c813049d90a */ import { assert, expect, it, test } from "vitest"; import { Glean } from "../index.js"; import { createTestHTTPClient } from "./testclient.js"; -test("Governance Listfindingsexports", async () => { +test("Findings Listfindingsexports", async () => { const testHttpClient = createTestHTTPClient("listfindingsexports"); const glean = new Glean({ @@ -16,11 +16,11 @@ test("Governance Listfindingsexports", async () => { apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", }); - const result = await glean.governance.listfindingsexports(); + const result = await glean.client.governance.data.findings.list(); expect(result).toBeDefined(); }); -it.skip("Governance Downloadfindingsexport", async () => { +it.skip("Findings Downloadfindingsexport", async () => { assert.fail( "incomplete test found please make sure to address the following errors: [`workflow step downloadfindingsexport.test contains criterion simple with invalid condition`, `workflow step downloadfindingsexport.test does not contain $contentType successCriteria and required for response body assertion`]", ); diff --git a/src/__tests__/messages.test.ts b/src/__tests__/messages.test.ts index f3905434..12904134 100644 --- a/src/__tests__/messages.test.ts +++ b/src/__tests__/messages.test.ts @@ -20,7 +20,7 @@ test("Messages Messages", async () => { idType: "CONVERSATION_ID", id: "", timestampMillis: 558834, - datasource: "FACEBOOKWORKPLACE", + datasource: "MICROSOFTTEAMS", }); expect(result).toBeDefined(); }); diff --git a/src/__tests__/mockserver/internal/handler/generated_handlers.go b/src/__tests__/mockserver/internal/handler/generated_handlers.go index 97b57be3..ac274cda 100644 --- a/src/__tests__/mockserver/internal/handler/generated_handlers.go +++ b/src/__tests__/mockserver/internal/handler/generated_handlers.go @@ -15,6 +15,8 @@ func GeneratedHandlers(ctx context.Context, dir *logging.HTTPFileDirectory, rt * return []*GeneratedHandler{ NewGeneratedHandler(ctx, http.MethodDelete, "/rest/api/index/custom-metadata/schema/{groupName}", pathDeleteRestAPIIndexCustomMetadataSchemaGroupName(dir, rt)), NewGeneratedHandler(ctx, http.MethodDelete, "/rest/api/index/document/{docId}/custom-metadata/{groupName}", pathDeleteRestAPIIndexDocumentDocIDCustomMetadataGroupName(dir, rt)), + NewGeneratedHandler(ctx, http.MethodGet, "/api/agents/{agent_id}", pathGetAPIAgentsAgentID(dir, rt)), + NewGeneratedHandler(ctx, http.MethodGet, "/api/agents/{agent_id}/schemas", pathGetAPIAgentsAgentIDSchemas(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/rest/api/index/custom-metadata/schema/{groupName}", pathGetRestAPIIndexCustomMetadataSchemaGroupName(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/rest/api/v1/actions/actionpack/{actionPackId}/auth", pathGetRestAPIV1ActionsActionpackActionPackIDAuth(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/rest/api/v1/agents/{agent_id}", pathGetRestAPIV1AgentsAgentID(dir, rt)), @@ -28,6 +30,8 @@ func GeneratedHandlers(ctx context.Context, dir *logging.HTTPFileDirectory, rt * NewGeneratedHandler(ctx, http.MethodGet, "/rest/api/v1/people/{person_id}/photo", pathGetRestAPIV1PeoplePersonIDPhoto(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/rest/api/v1/tools/list", pathGetRestAPIV1ToolsList(dir, rt)), NewGeneratedHandler(ctx, http.MethodPatch, "/rest/api/v1/configure/datasources/{datasourceId}/instances/{instanceId}", pathPatchRestAPIV1ConfigureDatasourcesDatasourceIDInstancesInstanceID(dir, rt)), + NewGeneratedHandler(ctx, http.MethodPost, "/api/agents/search", pathPostAPIAgentsSearch(dir, rt)), + NewGeneratedHandler(ctx, http.MethodPost, "/api/agents/{agent_id}/runs", pathPostAPIAgentsAgentIDRuns(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/api/index/v1/adddatasource", pathPostAPIIndexV1Adddatasource(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/api/index/v1/betausers", pathPostAPIIndexV1Betausers(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/api/index/v1/bulkindexdocuments", pathPostAPIIndexV1Bulkindexdocuments(dir, rt)), @@ -53,6 +57,7 @@ func GeneratedHandlers(ctx context.Context, dir *logging.HTTPFileDirectory, rt * NewGeneratedHandler(ctx, http.MethodPost, "/api/index/v1/processallmemberships", pathPostAPIIndexV1Processallmemberships(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/api/index/v1/rotatetoken", pathPostAPIIndexV1Rotatetoken(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/api/index/v1/updatepermissions", pathPostAPIIndexV1Updatepermissions(dir, rt)), + NewGeneratedHandler(ctx, http.MethodPost, "/api/search", pathPostAPISearch(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/rest/api/v1/actions/actionpack/{actionPackId}/auth", pathPostRestAPIV1ActionsActionpackActionPackIDAuth(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/rest/api/v1/activity", pathPostRestAPIV1Activity(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/rest/api/v1/addcollectionitems", pathPostRestAPIV1Addcollectionitems(dir, rt)), diff --git a/src/__tests__/mockserver/internal/handler/pathgetapiagentsagentid.go b/src/__tests__/mockserver/internal/handler/pathgetapiagentsagentid.go new file mode 100644 index 00000000..3e633285 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathgetapiagentsagentid.go @@ -0,0 +1,70 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: cb3e9dff49b4 + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathGetAPIAgentsAgentID(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "platform-agents-get[0]": + dir.HandlerFunc("platform-agents-get", testPlatformAgentsGetPlatformAgentsGet0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testPlatformAgentsGetPlatformAgentsGet0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, false, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *components.PlatformAgentGetResponse = &components.PlatformAgentGetResponse{ + Agent: components.PlatformAgent{ + AgentID: "mho4lwzylcozgoc2", + Name: "HR Policy Agent", + Capabilities: components.PlatformAgentCapabilities{}, + }, + RequestID: "", + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathgetapiagentsagentidschemas.go b/src/__tests__/mockserver/internal/handler/pathgetapiagentsagentidschemas.go new file mode 100644 index 00000000..4acc6c49 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathgetapiagentsagentidschemas.go @@ -0,0 +1,72 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: e095cf890e73 + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathGetAPIAgentsAgentIDSchemas(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "platform-agents-get-schemas[0]": + dir.HandlerFunc("platform-agents-get-schemas", testPlatformAgentsGetSchemasPlatformAgentsGetSchemas0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testPlatformAgentsGetSchemasPlatformAgentsGetSchemas0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, false, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *components.PlatformAgentSchemasResponse = &components.PlatformAgentSchemasResponse{ + AgentID: "", + InputSchema: map[string]any{}, + OutputSchema: map[string]any{ + "key": "", + "key1": "", + "key2": "", + }, + RequestID: "", + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathpostapiagentsagentidruns.go b/src/__tests__/mockserver/internal/handler/pathpostapiagentsagentidruns.go new file mode 100644 index 00000000..c1d674a6 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathpostapiagentsagentidruns.go @@ -0,0 +1,86 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 5bebaf9b24ce + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathPostAPIAgentsAgentIDRuns(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "platform-agents-create-run[0]": + dir.HandlerFunc("platform-agents-create-run", testPlatformAgentsCreateRunPlatformAgentsCreateRun0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testPlatformAgentsCreateRunPlatformAgentsCreateRun0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, false, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.ContentType(req, "application/json", true); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.AcceptHeader(req, []string{"application/json;q=1", "text/event-stream;q=0"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *components.PlatformAgentRunWaitResponse = &components.PlatformAgentRunWaitResponse{ + Run: &components.PlatformAgentRun{ + AgentID: "", + Messages: []components.PlatformMessage{ + components.PlatformMessage{ + Role: components.PlatformMessageRoleUser, + Content: []components.PlatformMessageTextBlock{}, + }, + }, + Status: components.PlatformAgentExecutionStatusError, + }, + Messages: []components.PlatformMessage{ + components.PlatformMessage{ + Role: components.PlatformMessageRoleUser, + Content: []components.PlatformMessageTextBlock{}, + }, + }, + RequestID: "", + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathpostapiagentssearch.go b/src/__tests__/mockserver/internal/handler/pathpostapiagentssearch.go new file mode 100644 index 00000000..a0cc4a10 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathpostapiagentssearch.go @@ -0,0 +1,71 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: a8776f04225b + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathPostAPIAgentsSearch(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "platform-agents-search[0]": + dir.HandlerFunc("platform-agents-search", testPlatformAgentsSearchPlatformAgentsSearch0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testPlatformAgentsSearchPlatformAgentsSearch0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, false, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.ContentType(req, "application/json", true); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *components.PlatformAgentsSearchResponse = &components.PlatformAgentsSearchResponse{ + Agents: []components.PlatformAgent{}, + RequestID: "", + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathpostapisearch.go b/src/__tests__/mockserver/internal/handler/pathpostapisearch.go new file mode 100644 index 00000000..9baa6291 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathpostapisearch.go @@ -0,0 +1,74 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 53fb32000093 + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/types" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathPostAPISearch(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "platform-search[0]": + dir.HandlerFunc("platform-search", testPlatformSearchPlatformSearch0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testPlatformSearchPlatformSearch0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, false, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.ContentType(req, "application/json", true); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *components.PlatformSearchResponse = &components.PlatformSearchResponse{ + Results: []components.PlatformResult{}, + HasMore: false, + NextCursor: types.String(""), + RequestID: "", + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/platformactionsummary.go b/src/__tests__/mockserver/internal/sdk/models/components/platformactionsummary.go new file mode 100644 index 00000000..9d6e6194 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/platformactionsummary.go @@ -0,0 +1,70 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 0620cdb117a7 + +package components + +type PlatformActionSummary struct { + // Unique identifier of the action. + ToolID string `json:"tool_id"` + // Display name of the action. + DisplayName string `json:"display_name"` + // Tool type. + Type *string `json:"type,omitempty"` + // Authentication type required by the action. + AuthType *string `json:"auth_type,omitempty"` + // Write-action execution type. + WriteActionType *string `json:"write_action_type,omitempty"` + // Whether this action has been fully configured. + IsSetupFinished *bool `json:"is_setup_finished,omitempty"` + // Kind of knowledge the action accesses or modifies. + DataSource *string `json:"data_source,omitempty"` +} + +func (o *PlatformActionSummary) GetToolID() string { + if o == nil { + return "" + } + return o.ToolID +} + +func (o *PlatformActionSummary) GetDisplayName() string { + if o == nil { + return "" + } + return o.DisplayName +} + +func (o *PlatformActionSummary) GetType() *string { + if o == nil { + return nil + } + return o.Type +} + +func (o *PlatformActionSummary) GetAuthType() *string { + if o == nil { + return nil + } + return o.AuthType +} + +func (o *PlatformActionSummary) GetWriteActionType() *string { + if o == nil { + return nil + } + return o.WriteActionType +} + +func (o *PlatformActionSummary) GetIsSetupFinished() *bool { + if o == nil { + return nil + } + return o.IsSetupFinished +} + +func (o *PlatformActionSummary) GetDataSource() *string { + if o == nil { + return nil + } + return o.DataSource +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/platformagent.go b/src/__tests__/mockserver/internal/sdk/models/components/platformagent.go new file mode 100644 index 00000000..e81931eb --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/platformagent.go @@ -0,0 +1,51 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 295e6fdc8185 + +package components + +type PlatformAgent struct { + // ID of the agent. + AgentID string `json:"agent_id"` + // Name of the agent. + Name string `json:"name"` + // Description of the agent. + Description *string `json:"description,omitempty"` + // Agent metadata. + Metadata map[string]any `json:"metadata,omitempty"` + Capabilities PlatformAgentCapabilities `json:"capabilities"` +} + +func (o *PlatformAgent) GetAgentID() string { + if o == nil { + return "" + } + return o.AgentID +} + +func (o *PlatformAgent) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *PlatformAgent) GetDescription() *string { + if o == nil { + return nil + } + return o.Description +} + +func (o *PlatformAgent) GetMetadata() map[string]any { + if o == nil { + return nil + } + return o.Metadata +} + +func (o *PlatformAgent) GetCapabilities() PlatformAgentCapabilities { + if o == nil { + return PlatformAgentCapabilities{} + } + return o.Capabilities +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/platformagentcapabilities.go b/src/__tests__/mockserver/internal/sdk/models/components/platformagentcapabilities.go new file mode 100644 index 00000000..62a24950 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/platformagentcapabilities.go @@ -0,0 +1,48 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: d7953f8005cd + +package components + +import ( + "mockserver/internal/sdk/utils" +) + +type PlatformAgentCapabilities struct { + // Whether the agent supports messages as input. + ApIoMessages *bool `json:"ap.io.messages,omitempty"` + // Whether the agent supports streaming output. + ApIoStreaming *bool `json:"ap.io.streaming,omitempty"` + AdditionalProperties map[string]any `additionalProperties:"true" json:"-"` +} + +func (p PlatformAgentCapabilities) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(p, "", false) +} + +func (p *PlatformAgentCapabilities) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *PlatformAgentCapabilities) GetApIoMessages() *bool { + if o == nil { + return nil + } + return o.ApIoMessages +} + +func (o *PlatformAgentCapabilities) GetApIoStreaming() *bool { + if o == nil { + return nil + } + return o.ApIoStreaming +} + +func (o *PlatformAgentCapabilities) GetAdditionalProperties() map[string]any { + if o == nil { + return nil + } + return o.AdditionalProperties +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/platformagentexecutionstatus.go b/src/__tests__/mockserver/internal/sdk/models/components/platformagentexecutionstatus.go new file mode 100644 index 00000000..c32ab5e6 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/platformagentexecutionstatus.go @@ -0,0 +1,36 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 427ee3a8d44d + +package components + +import ( + "encoding/json" + "fmt" +) + +// PlatformAgentExecutionStatus - Status of the agent run. +type PlatformAgentExecutionStatus string + +const ( + PlatformAgentExecutionStatusError PlatformAgentExecutionStatus = "error" + PlatformAgentExecutionStatusSuccess PlatformAgentExecutionStatus = "success" +) + +func (e PlatformAgentExecutionStatus) ToPointer() *PlatformAgentExecutionStatus { + return &e +} +func (e *PlatformAgentExecutionStatus) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "error": + fallthrough + case "success": + *e = PlatformAgentExecutionStatus(v) + return nil + default: + return fmt.Errorf("invalid value for PlatformAgentExecutionStatus: %v", v) + } +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/platformagentgetresponse.go b/src/__tests__/mockserver/internal/sdk/models/components/platformagentgetresponse.go new file mode 100644 index 00000000..5b673665 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/platformagentgetresponse.go @@ -0,0 +1,24 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: a2106a7f5d0d + +package components + +type PlatformAgentGetResponse struct { + Agent PlatformAgent `json:"agent"` + // Platform-generated request ID for support correlation. + RequestID string `json:"request_id"` +} + +func (o *PlatformAgentGetResponse) GetAgent() PlatformAgent { + if o == nil { + return PlatformAgent{} + } + return o.Agent +} + +func (o *PlatformAgentGetResponse) GetRequestID() string { + if o == nil { + return "" + } + return o.RequestID +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/platformagentrun.go b/src/__tests__/mockserver/internal/sdk/models/components/platformagentrun.go new file mode 100644 index 00000000..fdba97e5 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/platformagentrun.go @@ -0,0 +1,52 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: bb2d9f675f4a + +package components + +type PlatformAgentRun struct { + // ID of the agent being run. + AgentID string `json:"agent_id"` + // Input fields for an input-form triggered agent. + Input map[string]any `json:"input,omitempty"` + // Messages passed to the agent. + Messages []PlatformMessage `json:"messages,omitempty"` + // Metadata passed to the agent. + Metadata map[string]any `json:"metadata,omitempty"` + // Status of the agent run. + Status PlatformAgentExecutionStatus `json:"status"` +} + +func (o *PlatformAgentRun) GetAgentID() string { + if o == nil { + return "" + } + return o.AgentID +} + +func (o *PlatformAgentRun) GetInput() map[string]any { + if o == nil { + return nil + } + return o.Input +} + +func (o *PlatformAgentRun) GetMessages() []PlatformMessage { + if o == nil { + return nil + } + return o.Messages +} + +func (o *PlatformAgentRun) GetMetadata() map[string]any { + if o == nil { + return nil + } + return o.Metadata +} + +func (o *PlatformAgentRun) GetStatus() PlatformAgentExecutionStatus { + if o == nil { + return PlatformAgentExecutionStatus("") + } + return o.Status +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/platformagentruncreaterequest.go b/src/__tests__/mockserver/internal/sdk/models/components/platformagentruncreaterequest.go new file mode 100644 index 00000000..c2d7aa36 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/platformagentruncreaterequest.go @@ -0,0 +1,60 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 7c8f470c623b + +package components + +import ( + "mockserver/internal/sdk/utils" +) + +// PlatformAgentRunCreateRequest - Request to run an agent. A request MUST supply either `messages` (a non-empty conversation) or `input` (for input-form triggered agents). +type PlatformAgentRunCreateRequest struct { + // Input fields for an input-form triggered agent. + Input map[string]any `json:"input,omitempty"` + // Messages to pass to the agent. When provided, the array MUST contain at least one message and each message MUST specify a valid `role` and non-empty `content`. + // + Messages []PlatformMessage `json:"messages,omitempty"` + // Metadata to pass to the agent. + Metadata map[string]any `json:"metadata,omitempty"` + // Whether to stream the run response as server-sent events. + Stream *bool `default:"false" json:"stream"` +} + +func (p PlatformAgentRunCreateRequest) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(p, "", false) +} + +func (p *PlatformAgentRunCreateRequest) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *PlatformAgentRunCreateRequest) GetInput() map[string]any { + if o == nil { + return nil + } + return o.Input +} + +func (o *PlatformAgentRunCreateRequest) GetMessages() []PlatformMessage { + if o == nil { + return nil + } + return o.Messages +} + +func (o *PlatformAgentRunCreateRequest) GetMetadata() map[string]any { + if o == nil { + return nil + } + return o.Metadata +} + +func (o *PlatformAgentRunCreateRequest) GetStream() *bool { + if o == nil { + return nil + } + return o.Stream +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/platformagentrunwaitresponse.go b/src/__tests__/mockserver/internal/sdk/models/components/platformagentrunwaitresponse.go new file mode 100644 index 00000000..cc33b46f --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/platformagentrunwaitresponse.go @@ -0,0 +1,33 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 949626f75f93 + +package components + +type PlatformAgentRunWaitResponse struct { + Run *PlatformAgentRun `json:"run,omitempty"` + // Messages returned by the completed run. + Messages []PlatformMessage `json:"messages,omitempty"` + // Platform-generated request ID for support correlation. + RequestID string `json:"request_id"` +} + +func (o *PlatformAgentRunWaitResponse) GetRun() *PlatformAgentRun { + if o == nil { + return nil + } + return o.Run +} + +func (o *PlatformAgentRunWaitResponse) GetMessages() []PlatformMessage { + if o == nil { + return nil + } + return o.Messages +} + +func (o *PlatformAgentRunWaitResponse) GetRequestID() string { + if o == nil { + return "" + } + return o.RequestID +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/platformagentschemasresponse.go b/src/__tests__/mockserver/internal/sdk/models/components/platformagentschemasresponse.go new file mode 100644 index 00000000..4e2519ce --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/platformagentschemasresponse.go @@ -0,0 +1,61 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 32d47ed99b91 + +package components + +type PlatformAgentSchemasResponse struct { + // ID of the agent. + AgentID string `json:"agent_id"` + // Name of the agent. + Name *string `json:"name,omitempty"` + // Agent input schema in JSON Schema format. + InputSchema map[string]any `json:"input_schema"` + // Agent output schema in JSON Schema format. + OutputSchema map[string]any `json:"output_schema"` + // Tools that the agent can invoke, when requested. + Tools []PlatformActionSummary `json:"tools,omitempty"` + // Platform-generated request ID for support correlation. + RequestID string `json:"request_id"` +} + +func (o *PlatformAgentSchemasResponse) GetAgentID() string { + if o == nil { + return "" + } + return o.AgentID +} + +func (o *PlatformAgentSchemasResponse) GetName() *string { + if o == nil { + return nil + } + return o.Name +} + +func (o *PlatformAgentSchemasResponse) GetInputSchema() map[string]any { + if o == nil { + return map[string]any{} + } + return o.InputSchema +} + +func (o *PlatformAgentSchemasResponse) GetOutputSchema() map[string]any { + if o == nil { + return map[string]any{} + } + return o.OutputSchema +} + +func (o *PlatformAgentSchemasResponse) GetTools() []PlatformActionSummary { + if o == nil { + return nil + } + return o.Tools +} + +func (o *PlatformAgentSchemasResponse) GetRequestID() string { + if o == nil { + return "" + } + return o.RequestID +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/platformagentssearchrequest.go b/src/__tests__/mockserver/internal/sdk/models/components/platformagentssearchrequest.go new file mode 100644 index 00000000..dcb71156 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/platformagentssearchrequest.go @@ -0,0 +1,16 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 2ce2663e75bc + +package components + +type PlatformAgentsSearchRequest struct { + // Case-insensitive substring to match against agent names. If omitted or empty, no name filter is applied. + Name *string `json:"name,omitempty"` +} + +func (o *PlatformAgentsSearchRequest) GetName() *string { + if o == nil { + return nil + } + return o.Name +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/platformagentssearchresponse.go b/src/__tests__/mockserver/internal/sdk/models/components/platformagentssearchresponse.go new file mode 100644 index 00000000..233e621c --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/platformagentssearchresponse.go @@ -0,0 +1,25 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 9c7f20c6f3c5 + +package components + +type PlatformAgentsSearchResponse struct { + // Agents matching the search request. + Agents []PlatformAgent `json:"agents"` + // Platform-generated request ID for support correlation. + RequestID string `json:"request_id"` +} + +func (o *PlatformAgentsSearchResponse) GetAgents() []PlatformAgent { + if o == nil { + return []PlatformAgent{} + } + return o.Agents +} + +func (o *PlatformAgentsSearchResponse) GetRequestID() string { + if o == nil { + return "" + } + return o.RequestID +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/platformcontenttype.go b/src/__tests__/mockserver/internal/sdk/models/components/platformcontenttype.go new file mode 100644 index 00000000..858173bc --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/platformcontenttype.go @@ -0,0 +1,32 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 35fc64c34a6d + +package components + +import ( + "encoding/json" + "fmt" +) + +type PlatformContentType string + +const ( + PlatformContentTypeText PlatformContentType = "text" +) + +func (e PlatformContentType) ToPointer() *PlatformContentType { + return &e +} +func (e *PlatformContentType) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "text": + *e = PlatformContentType(v) + return nil + default: + return fmt.Errorf("invalid value for PlatformContentType: %v", v) + } +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/platformfilter.go b/src/__tests__/mockserver/internal/sdk/models/components/platformfilter.go new file mode 100644 index 00000000..7e8a8259 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/platformfilter.go @@ -0,0 +1,37 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 81cb594b3436 + +package components + +// PlatformFilter - A single filter criterion. For `EQUALS`, multiple values within a filter are OR'd. For `NOT_EQUALS`, multiple values exclude all listed values. Filters are AND'd with each other and with any inline query operators. +type PlatformFilter struct { + // The field to filter on. Accepts built-in filter field names such as `type`, `owner`, `from`, `author`, `channel`, `status`, `assignee`, `reporter`, `component`, `mentions`, and `collection`, plus custom datasource property names. + // + Field string `json:"field"` + // One or more values to match. + Values []string `json:"values"` + // Comparison operator to apply to this filter. Defaults to `EQUALS`. `GT`, `GTE`, `LT`, and `LTE` range operators require exactly one value; express bounded ranges with multiple filters on the same field. + // + Operator *PlatformFilterOperator `json:"operator,omitempty"` +} + +func (o *PlatformFilter) GetField() string { + if o == nil { + return "" + } + return o.Field +} + +func (o *PlatformFilter) GetValues() []string { + if o == nil { + return []string{} + } + return o.Values +} + +func (o *PlatformFilter) GetOperator() *PlatformFilterOperator { + if o == nil { + return nil + } + return o.Operator +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/platformfilteroperator.go b/src/__tests__/mockserver/internal/sdk/models/components/platformfilteroperator.go new file mode 100644 index 00000000..3fadc58e --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/platformfilteroperator.go @@ -0,0 +1,48 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 69a989d8c41e + +package components + +import ( + "encoding/json" + "fmt" +) + +// PlatformFilterOperator - Supported filter operator. +type PlatformFilterOperator string + +const ( + PlatformFilterOperatorEquals PlatformFilterOperator = "EQUALS" + PlatformFilterOperatorNotEquals PlatformFilterOperator = "NOT_EQUALS" + PlatformFilterOperatorGt PlatformFilterOperator = "GT" + PlatformFilterOperatorGte PlatformFilterOperator = "GTE" + PlatformFilterOperatorLt PlatformFilterOperator = "LT" + PlatformFilterOperatorLte PlatformFilterOperator = "LTE" +) + +func (e PlatformFilterOperator) ToPointer() *PlatformFilterOperator { + return &e +} +func (e *PlatformFilterOperator) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "EQUALS": + fallthrough + case "NOT_EQUALS": + fallthrough + case "GT": + fallthrough + case "GTE": + fallthrough + case "LT": + fallthrough + case "LTE": + *e = PlatformFilterOperator(v) + return nil + default: + return fmt.Errorf("invalid value for PlatformFilterOperator: %v", v) + } +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/platformmessage.go b/src/__tests__/mockserver/internal/sdk/models/components/platformmessage.go new file mode 100644 index 00000000..379405d3 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/platformmessage.go @@ -0,0 +1,25 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 392f31bb47af + +package components + +type PlatformMessage struct { + // Role of the message author. + Role PlatformMessageRole `json:"role"` + // Content blocks in the message. + Content []PlatformMessageTextBlock `json:"content"` +} + +func (o *PlatformMessage) GetRole() PlatformMessageRole { + if o == nil { + return PlatformMessageRole("") + } + return o.Role +} + +func (o *PlatformMessage) GetContent() []PlatformMessageTextBlock { + if o == nil { + return []PlatformMessageTextBlock{} + } + return o.Content +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/platformmessagerole.go b/src/__tests__/mockserver/internal/sdk/models/components/platformmessagerole.go new file mode 100644 index 00000000..9c1ff4b7 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/platformmessagerole.go @@ -0,0 +1,36 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 9ef790fca545 + +package components + +import ( + "encoding/json" + "fmt" +) + +// PlatformMessageRole - Role of the message author. +type PlatformMessageRole string + +const ( + PlatformMessageRoleUser PlatformMessageRole = "USER" + PlatformMessageRoleGleanAi PlatformMessageRole = "GLEAN_AI" +) + +func (e PlatformMessageRole) ToPointer() *PlatformMessageRole { + return &e +} +func (e *PlatformMessageRole) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "USER": + fallthrough + case "GLEAN_AI": + *e = PlatformMessageRole(v) + return nil + default: + return fmt.Errorf("invalid value for PlatformMessageRole: %v", v) + } +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/platformmessagetextblock.go b/src/__tests__/mockserver/internal/sdk/models/components/platformmessagetextblock.go new file mode 100644 index 00000000..a1c1ac83 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/platformmessagetextblock.go @@ -0,0 +1,24 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: f43622f0816b + +package components + +type PlatformMessageTextBlock struct { + // Text content. + Text string `json:"text"` + Type PlatformContentType `json:"type"` +} + +func (o *PlatformMessageTextBlock) GetText() string { + if o == nil { + return "" + } + return o.Text +} + +func (o *PlatformMessageTextBlock) GetType() PlatformContentType { + if o == nil { + return PlatformContentType("") + } + return o.Type +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/platformpersonreference.go b/src/__tests__/mockserver/internal/sdk/models/components/platformpersonreference.go new file mode 100644 index 00000000..238fa4f2 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/platformpersonreference.go @@ -0,0 +1,26 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 4b01d54383cf + +package components + +// PlatformPersonReference - A lightweight reference to a person, used where a payload merely points at someone. +type PlatformPersonReference struct { + // Opaque Glean person ID. + ID *string `json:"id,omitempty"` + // Display name. + Name string `json:"name"` +} + +func (o *PlatformPersonReference) GetID() *string { + if o == nil { + return nil + } + return o.ID +} + +func (o *PlatformPersonReference) GetName() string { + if o == nil { + return "" + } + return o.Name +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/platformproblemdetailcode.go b/src/__tests__/mockserver/internal/sdk/models/components/platformproblemdetailcode.go new file mode 100644 index 00000000..51d71ad4 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/platformproblemdetailcode.go @@ -0,0 +1,87 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 1670c27a2f37 + +package components + +import ( + "encoding/json" + "fmt" +) + +// PlatformProblemDetailCode - Stable machine-readable error code. +type PlatformProblemDetailCode string + +const ( + PlatformProblemDetailCodeInvalidRequest PlatformProblemDetailCode = "invalid_request" + PlatformProblemDetailCodeMissingRequiredField PlatformProblemDetailCode = "missing_required_field" + PlatformProblemDetailCodeInvalidParameter PlatformProblemDetailCode = "invalid_parameter" + PlatformProblemDetailCodeInvalidCursor PlatformProblemDetailCode = "invalid_cursor" + PlatformProblemDetailCodeExpiredCursor PlatformProblemDetailCode = "expired_cursor" + PlatformProblemDetailCodeInvalidFilter PlatformProblemDetailCode = "invalid_filter" + PlatformProblemDetailCodeInvalidDatasource PlatformProblemDetailCode = "invalid_datasource" + PlatformProblemDetailCodeAuthenticationRequired PlatformProblemDetailCode = "authentication_required" + PlatformProblemDetailCodeTokenExpired PlatformProblemDetailCode = "token_expired" + PlatformProblemDetailCodeInsufficientPermissions PlatformProblemDetailCode = "insufficient_permissions" + PlatformProblemDetailCodeResourceNotFound PlatformProblemDetailCode = "resource_not_found" + PlatformProblemDetailCodeMethodNotAllowed PlatformProblemDetailCode = "method_not_allowed" + PlatformProblemDetailCodeRequestTimeout PlatformProblemDetailCode = "request_timeout" + PlatformProblemDetailCodeConflict PlatformProblemDetailCode = "conflict" + PlatformProblemDetailCodeGone PlatformProblemDetailCode = "gone" + PlatformProblemDetailCodeUnprocessableQuery PlatformProblemDetailCode = "unprocessable_query" + PlatformProblemDetailCodeRateLimitExceeded PlatformProblemDetailCode = "rate_limit_exceeded" + PlatformProblemDetailCodeInternalError PlatformProblemDetailCode = "internal_error" + PlatformProblemDetailCodeServiceUnavailable PlatformProblemDetailCode = "service_unavailable" +) + +func (e PlatformProblemDetailCode) ToPointer() *PlatformProblemDetailCode { + return &e +} +func (e *PlatformProblemDetailCode) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "invalid_request": + fallthrough + case "missing_required_field": + fallthrough + case "invalid_parameter": + fallthrough + case "invalid_cursor": + fallthrough + case "expired_cursor": + fallthrough + case "invalid_filter": + fallthrough + case "invalid_datasource": + fallthrough + case "authentication_required": + fallthrough + case "token_expired": + fallthrough + case "insufficient_permissions": + fallthrough + case "resource_not_found": + fallthrough + case "method_not_allowed": + fallthrough + case "request_timeout": + fallthrough + case "conflict": + fallthrough + case "gone": + fallthrough + case "unprocessable_query": + fallthrough + case "rate_limit_exceeded": + fallthrough + case "internal_error": + fallthrough + case "service_unavailable": + *e = PlatformProblemDetailCode(v) + return nil + default: + return fmt.Errorf("invalid value for PlatformProblemDetailCode: %v", v) + } +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/platformproblemdetailerror.go b/src/__tests__/mockserver/internal/sdk/models/components/platformproblemdetailerror.go new file mode 100644 index 00000000..be26512c --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/platformproblemdetailerror.go @@ -0,0 +1,35 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 53e6bd95135a + +package components + +// PlatformProblemDetailError - Field-level validation problem for a single offending field. +type PlatformProblemDetailError struct { + // RFC 6901 JSON Pointer to the offending field. + Pointer string `json:"pointer"` + // Human-readable explanation for this field. + Detail string `json:"detail"` + // Stable machine-readable error code. + Code *PlatformProblemDetailCode `json:"code,omitempty"` +} + +func (o *PlatformProblemDetailError) GetPointer() string { + if o == nil { + return "" + } + return o.Pointer +} + +func (o *PlatformProblemDetailError) GetDetail() string { + if o == nil { + return "" + } + return o.Detail +} + +func (o *PlatformProblemDetailError) GetCode() *PlatformProblemDetailCode { + if o == nil { + return nil + } + return o.Code +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/platformresult.go b/src/__tests__/mockserver/internal/sdk/models/components/platformresult.go new file mode 100644 index 00000000..891cc5f5 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/platformresult.go @@ -0,0 +1,114 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: ac8208a62711 + +package components + +import ( + "mockserver/internal/sdk/optionalnullable" + "mockserver/internal/sdk/utils" + "time" +) + +type PlatformResult struct { + // Canonical URL of the result. + URL string `json:"url"` + // Result title. + Title string `json:"title"` + // Query-relevant plain-text excerpts from the result body. + Snippets []string `json:"snippets,omitempty"` + // The datasource this result originates from. + Datasource string `json:"datasource"` + // The datasource instance this result originates from, if known. + DatasourceInstance optionalnullable.OptionalNullable[string] `json:"datasource_instance,omitempty"` + // The document type within the datasource. + DocumentType optionalnullable.OptionalNullable[string] `json:"document_type,omitempty"` + // A lightweight reference to a person, used where a payload merely points at someone. + Creator *PlatformPersonReference `json:"creator,omitempty"` + // A lightweight reference to a person, used where a payload merely points at someone. + Owner *PlatformPersonReference `json:"owner,omitempty"` + // When the result was last modified. + UpdatedAt optionalnullable.OptionalNullable[time.Time] `json:"updated_at,omitempty"` + // When the result was created. + CreatedAt optionalnullable.OptionalNullable[time.Time] `json:"created_at,omitempty"` +} + +func (p PlatformResult) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(p, "", false) +} + +func (p *PlatformResult) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &p, "", false, []string{"url", "title", "datasource"}); err != nil { + return err + } + return nil +} + +func (o *PlatformResult) GetURL() string { + if o == nil { + return "" + } + return o.URL +} + +func (o *PlatformResult) GetTitle() string { + if o == nil { + return "" + } + return o.Title +} + +func (o *PlatformResult) GetSnippets() []string { + if o == nil { + return nil + } + return o.Snippets +} + +func (o *PlatformResult) GetDatasource() string { + if o == nil { + return "" + } + return o.Datasource +} + +func (o *PlatformResult) GetDatasourceInstance() optionalnullable.OptionalNullable[string] { + if o == nil { + return nil + } + return o.DatasourceInstance +} + +func (o *PlatformResult) GetDocumentType() optionalnullable.OptionalNullable[string] { + if o == nil { + return nil + } + return o.DocumentType +} + +func (o *PlatformResult) GetCreator() *PlatformPersonReference { + if o == nil { + return nil + } + return o.Creator +} + +func (o *PlatformResult) GetOwner() *PlatformPersonReference { + if o == nil { + return nil + } + return o.Owner +} + +func (o *PlatformResult) GetUpdatedAt() optionalnullable.OptionalNullable[time.Time] { + if o == nil { + return nil + } + return o.UpdatedAt +} + +func (o *PlatformResult) GetCreatedAt() optionalnullable.OptionalNullable[time.Time] { + if o == nil { + return nil + } + return o.CreatedAt +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/platformsearchrequest.go b/src/__tests__/mockserver/internal/sdk/models/components/platformsearchrequest.go new file mode 100644 index 00000000..4b25d70d --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/platformsearchrequest.go @@ -0,0 +1,91 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: f07f66ad8a85 + +package components + +import ( + "mockserver/internal/sdk/optionalnullable" + "mockserver/internal/sdk/utils" +) + +type PlatformSearchRequest struct { + // The search query string. Supports inline operators such as `from:jane type:document app:confluence`. Inline operators are AND'd with structured `filters`. + // + Query string `json:"query"` + // Number of results to return per page. + PageSize *int64 `default:"10" json:"page_size"` + // Opaque pagination token from a previous response's `next_cursor` field. Omit on the first request. + // + Cursor optionalnullable.OptionalNullable[string] `json:"cursor,omitempty"` + // Restrict results to specific datasources. Requests must not specify both `datasources` and `datasource_instances`. + // + Datasources []string `json:"datasources,omitempty"` + // Restrict results to specific datasource instances. Values are datasource instance identifiers returned by `GET /api/search/filters`. Requests must not specify both `datasources` and `datasource_instances`. + // + DatasourceInstances []string `json:"datasource_instances,omitempty"` + // Structured filters applied to search results. Equality operators OR multiple values within a filter. Multiple filters are AND'd together, including range filters on the same field. Filters are AND'd with any inline operators in `query`. Note that conflicting constraints on the same field (e.g., `type:document` in the query and `type: spreadsheet` in a filter) produce an empty result set. + // + Filters []PlatformFilter `json:"filters,omitempty"` + // Filter results to those last updated within this range. + TimeRange *PlatformTimeRange `json:"time_range,omitempty"` +} + +func (p PlatformSearchRequest) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(p, "", false) +} + +func (p *PlatformSearchRequest) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &p, "", false, []string{"query"}); err != nil { + return err + } + return nil +} + +func (o *PlatformSearchRequest) GetQuery() string { + if o == nil { + return "" + } + return o.Query +} + +func (o *PlatformSearchRequest) GetPageSize() *int64 { + if o == nil { + return nil + } + return o.PageSize +} + +func (o *PlatformSearchRequest) GetCursor() optionalnullable.OptionalNullable[string] { + if o == nil { + return nil + } + return o.Cursor +} + +func (o *PlatformSearchRequest) GetDatasources() []string { + if o == nil { + return nil + } + return o.Datasources +} + +func (o *PlatformSearchRequest) GetDatasourceInstances() []string { + if o == nil { + return nil + } + return o.DatasourceInstances +} + +func (o *PlatformSearchRequest) GetFilters() []PlatformFilter { + if o == nil { + return nil + } + return o.Filters +} + +func (o *PlatformSearchRequest) GetTimeRange() *PlatformTimeRange { + if o == nil { + return nil + } + return o.TimeRange +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/platformsearchresponse.go b/src/__tests__/mockserver/internal/sdk/models/components/platformsearchresponse.go new file mode 100644 index 00000000..95bffd73 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/platformsearchresponse.go @@ -0,0 +1,43 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 609dccefec94 + +package components + +type PlatformSearchResponse struct { + // Ordered list of search results. + Results []PlatformResult `json:"results"` + // Indicates whether additional pages of results are available. + HasMore bool `json:"has_more"` + // Opaque token to pass as `cursor` in the next request. + NextCursor *string `json:"next_cursor"` + // Platform-generated request ID for support correlation. + RequestID string `json:"request_id"` +} + +func (o *PlatformSearchResponse) GetResults() []PlatformResult { + if o == nil { + return []PlatformResult{} + } + return o.Results +} + +func (o *PlatformSearchResponse) GetHasMore() bool { + if o == nil { + return false + } + return o.HasMore +} + +func (o *PlatformSearchResponse) GetNextCursor() *string { + if o == nil { + return nil + } + return o.NextCursor +} + +func (o *PlatformSearchResponse) GetRequestID() string { + if o == nil { + return "" + } + return o.RequestID +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/platformtimerange.go b/src/__tests__/mockserver/internal/sdk/models/components/platformtimerange.go new file mode 100644 index 00000000..324a22fd --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/platformtimerange.go @@ -0,0 +1,42 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: b8e92c9af7ab + +package components + +import ( + "mockserver/internal/sdk/utils" + "time" +) + +// PlatformTimeRange - Filter results to those last updated within this range. +type PlatformTimeRange struct { + // Inclusive lower bound in ISO 8601 format. + Start *time.Time `json:"start,omitempty"` + // Exclusive upper bound in ISO 8601 format. + End *time.Time `json:"end,omitempty"` +} + +func (p PlatformTimeRange) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(p, "", false) +} + +func (p *PlatformTimeRange) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *PlatformTimeRange) GetStart() *time.Time { + if o == nil { + return nil + } + return o.Start +} + +func (o *PlatformTimeRange) GetEnd() *time.Time { + if o == nil { + return nil + } + return o.End +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/platformagentscreaterun.go b/src/__tests__/mockserver/internal/sdk/models/operations/platformagentscreaterun.go new file mode 100644 index 00000000..5f0f5cd9 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/platformagentscreaterun.go @@ -0,0 +1,57 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: cfdbe175ae56 + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type PlatformAgentsCreateRunRequest struct { + // ID of the agent to run. + AgentID string `pathParam:"style=simple,explode=false,name=agent_id"` + Body components.PlatformAgentRunCreateRequest `request:"mediaType=application/json"` +} + +func (o *PlatformAgentsCreateRunRequest) GetAgentID() string { + if o == nil { + return "" + } + return o.AgentID +} + +func (o *PlatformAgentsCreateRunRequest) GetBody() components.PlatformAgentRunCreateRequest { + if o == nil { + return components.PlatformAgentRunCreateRequest{} + } + return o.Body +} + +type PlatformAgentsCreateRunResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // Successful response. + PlatformAgentRunWaitResponse *components.PlatformAgentRunWaitResponse + // Successful response. + Res *string +} + +func (o *PlatformAgentsCreateRunResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *PlatformAgentsCreateRunResponse) GetPlatformAgentRunWaitResponse() *components.PlatformAgentRunWaitResponse { + if o == nil { + return nil + } + return o.PlatformAgentRunWaitResponse +} + +func (o *PlatformAgentsCreateRunResponse) GetRes() *string { + if o == nil { + return nil + } + return o.Res +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/platformagentsget.go b/src/__tests__/mockserver/internal/sdk/models/operations/platformagentsget.go new file mode 100644 index 00000000..5eb7082b --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/platformagentsget.go @@ -0,0 +1,40 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 76aa63b8cbba + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type PlatformAgentsGetRequest struct { + // ID of the agent to retrieve. + AgentID string `pathParam:"style=simple,explode=false,name=agent_id"` +} + +func (o *PlatformAgentsGetRequest) GetAgentID() string { + if o == nil { + return "" + } + return o.AgentID +} + +type PlatformAgentsGetResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // Successful response. + PlatformAgentGetResponse *components.PlatformAgentGetResponse +} + +func (o *PlatformAgentsGetResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *PlatformAgentsGetResponse) GetPlatformAgentGetResponse() *components.PlatformAgentGetResponse { + if o == nil { + return nil + } + return o.PlatformAgentGetResponse +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/platformagentsgetschemas.go b/src/__tests__/mockserver/internal/sdk/models/operations/platformagentsgetschemas.go new file mode 100644 index 00000000..9adf5c67 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/platformagentsgetschemas.go @@ -0,0 +1,61 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: d8573939e7a1 + +package operations + +import ( + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" +) + +type PlatformAgentsGetSchemasRequest struct { + // ID of the agent whose schemas should be retrieved. + AgentID string `pathParam:"style=simple,explode=false,name=agent_id"` + // Whether to include tool metadata in the response. + IncludeTools *bool `default:"false" queryParam:"style=form,explode=true,name=include_tools"` +} + +func (p PlatformAgentsGetSchemasRequest) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(p, "", false) +} + +func (p *PlatformAgentsGetSchemasRequest) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &p, "", false, []string{"agent_id"}); err != nil { + return err + } + return nil +} + +func (o *PlatformAgentsGetSchemasRequest) GetAgentID() string { + if o == nil { + return "" + } + return o.AgentID +} + +func (o *PlatformAgentsGetSchemasRequest) GetIncludeTools() *bool { + if o == nil { + return nil + } + return o.IncludeTools +} + +type PlatformAgentsGetSchemasResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // Successful response. + PlatformAgentSchemasResponse *components.PlatformAgentSchemasResponse +} + +func (o *PlatformAgentsGetSchemasResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *PlatformAgentsGetSchemasResponse) GetPlatformAgentSchemasResponse() *components.PlatformAgentSchemasResponse { + if o == nil { + return nil + } + return o.PlatformAgentSchemasResponse +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/platformagentssearch.go b/src/__tests__/mockserver/internal/sdk/models/operations/platformagentssearch.go new file mode 100644 index 00000000..400797ac --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/platformagentssearch.go @@ -0,0 +1,28 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 3cec32b020d0 + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type PlatformAgentsSearchResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // Successful response. + PlatformAgentsSearchResponse *components.PlatformAgentsSearchResponse +} + +func (o *PlatformAgentsSearchResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *PlatformAgentsSearchResponse) GetPlatformAgentsSearchResponse() *components.PlatformAgentsSearchResponse { + if o == nil { + return nil + } + return o.PlatformAgentsSearchResponse +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/platformsearch.go b/src/__tests__/mockserver/internal/sdk/models/operations/platformsearch.go new file mode 100644 index 00000000..20b4d8b2 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/platformsearch.go @@ -0,0 +1,28 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 8d5d0787d271 + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type PlatformSearchResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // Successful search. + PlatformSearchResponse *components.PlatformSearchResponse +} + +func (o *PlatformSearchResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *PlatformSearchResponse) GetPlatformSearchResponse() *components.PlatformSearchResponse { + if o == nil { + return nil + } + return o.PlatformSearchResponse +} diff --git a/src/__tests__/mockserver/internal/sdk/models/sdkerrors/platformproblemdetailerror.go b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/platformproblemdetailerror.go new file mode 100644 index 00000000..002b5190 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/platformproblemdetailerror.go @@ -0,0 +1,37 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 9cc51dae2363 + +package sdkerrors + +import ( + "encoding/json" + "mockserver/internal/sdk/models/components" +) + +// PlatformProblemDetailError - Error response following RFC 9457, extended with `code` and `documentation_url` for machine-readable classification and self-service remediation. +type PlatformProblemDetailError struct { + // URI identifying the error type. + Type string `json:"type"` + // Short, human-readable summary of the error. + Title string `json:"title"` + // HTTP status code mirrored from the response. + Status int64 `json:"status"` + // Human-readable explanation specific to this occurrence. + Detail string `json:"detail"` + // Stable machine-readable error code. + Code components.PlatformProblemDetailCode `json:"code"` + // Direct URL to documentation for this error code. + DocumentationURL *string `json:"documentation_url,omitempty"` + // Platform-generated request ID for support correlation. + RequestID string `json:"request_id"` + // Field-level validation problems, one entry per offending field. + Errors []components.PlatformProblemDetailError `json:"errors,omitempty"` + HTTPMeta components.HTTPMetadata `json:"-"` +} + +var _ error = &PlatformProblemDetailError{} + +func (e *PlatformProblemDetailError) Error() string { + data, _ := json.Marshal(e) + return string(data) +} diff --git a/src/__tests__/search.test.ts b/src/__tests__/search.test.ts index c747483d..91665302 100644 --- a/src/__tests__/search.test.ts +++ b/src/__tests__/search.test.ts @@ -2050,3 +2050,35 @@ test("Search Search", async () => { }); expect(result).toBeDefined(); }); + +test("Search Platform Search", async () => { + const testHttpClient = createTestHTTPClient("platform-search"); + + const glean = new Glean({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", + }); + + const result = await glean.search.query({ + query: "quarterly planning 2026", + datasources: [ + "confluence", + "google_drive", + ], + datasource_instances: [ + "slack_acme", + "slack_eu", + ], + filters: [ + { + field: "type", + values: [ + "spreadsheet", + "presentation", + ], + }, + ], + }); + expect(result).toBeDefined(); +}); diff --git a/src/__tests__/summarize.test.ts b/src/__tests__/summarize.test.ts index 4b946fe3..9b9473ea 100644 --- a/src/__tests__/summarize.test.ts +++ b/src/__tests__/summarize.test.ts @@ -19,11 +19,12 @@ test("Summarize Summarize", async () => { const result = await glean.client.documents.summarize({ documentSpecs: [ { - ugcType: "CHATS", - contentId: 207037, + ugcType: "ANSWERS", + contentId: 123467, }, { - url: "https://angelic-exhaust.com", + ugcType: "ANSWERS", + contentId: 123467, }, ], }); diff --git a/src/__tests__/tools.test.ts b/src/__tests__/tools.test.ts index af5d0b26..b597fc4d 100644 --- a/src/__tests__/tools.test.ts +++ b/src/__tests__/tools.test.ts @@ -50,7 +50,7 @@ test("Tools Get Action Pack Auth Status", async () => { apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", }); - const result = await glean.tools.getActionPackAuthStatus(""); + const result = await glean.client.tools.retrieveActionPackAuthStatus(""); expect(result).toBeDefined(); }); @@ -63,7 +63,7 @@ test("Tools Authorize Action Pack", async () => { apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", }); - const result = await glean.tools.authorizeActionPack({ + const result = await glean.client.tools.authorizeActionPack({ returnUrl: "https://merry-allocation.org/", }, ""); expect(result).toBeDefined(); diff --git a/src/funcs/agentsCreateRun.ts b/src/funcs/agentsCreateRun.ts new file mode 100644 index 00000000..d87e9db9 --- /dev/null +++ b/src/funcs/agentsCreateRun.ts @@ -0,0 +1,206 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 806c3e535dd1 + */ + +import { GleanCore } from "../core.js"; +import { encodeJSON, encodeSimple } from "../lib/encodings.js"; +import { matchStatusCode } from "../lib/http.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { GleanBaseError } from "../models/errors/gleanbaseerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +export enum CreateRunAcceptEnum { + applicationJson = "application/json", + textEventStream = "text/event-stream", +} + +/** + * Create agent run + * + * @remarks + * Execute an agent run. Set `stream` to true to receive server-sent events; otherwise the response contains the final agent messages. + */ +export function agentsCreateRun( + client: GleanCore, + platformAgentRunCreateRequest: components.PlatformAgentRunCreateRequest, + agentId: string, + options?: RequestOptions & { acceptHeaderOverride?: CreateRunAcceptEnum }, +): APIPromise< + Result< + operations.PlatformAgentsCreateRunResponse, + | errors.PlatformProblemDetailError + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + platformAgentRunCreateRequest, + agentId, + options, + )); +} + +async function $do( + client: GleanCore, + platformAgentRunCreateRequest: components.PlatformAgentRunCreateRequest, + agentId: string, + options?: RequestOptions & { acceptHeaderOverride?: CreateRunAcceptEnum }, +): Promise< + [ + Result< + operations.PlatformAgentsCreateRunResponse, + | errors.PlatformProblemDetailError + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const input: operations.PlatformAgentsCreateRunRequest = { + platformAgentRunCreateRequest: platformAgentRunCreateRequest, + agent_id: agentId, + }; + + const parsed = safeParse( + input, + (value) => + operations.PlatformAgentsCreateRunRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.PlatformAgentRunCreateRequest, { + explode: true, + }); + + const pathParams = { + agent_id: encodeSimple("agent_id", payload.agent_id, { + explode: false, + charEncoding: "percent", + }), + }; + const path = pathToFunc("/api/agents/{agent_id}/runs")(pathParams); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: options?.acceptHeaderOverride + || "application/json;q=1, text/event-stream;q=0", + })); + + const secConfig = await extractSecurity(client._options.apiToken); + const securityInput = secConfig == null ? {} : { apiToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "platform-agents-create-run", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.apiToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "POST", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + isErrorStatusCode: (statusCode: number) => + matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]), + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + operations.PlatformAgentsCreateRunResponse, + | errors.PlatformProblemDetailError + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, operations.PlatformAgentsCreateRunResponse$inboundSchema), + M.text(200, operations.PlatformAgentsCreateRunResponse$inboundSchema, { + ctype: "text/event-stream", + }), + M.jsonErr( + [400, 401, 403, 404, 408, 409, 429], + errors.PlatformProblemDetailError$inboundSchema, + { ctype: "application/problem+json" }, + ), + M.jsonErr([500, 503], errors.PlatformProblemDetailError$inboundSchema, { + ctype: "application/problem+json", + }), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/agentsGet.ts b/src/funcs/agentsGet.ts new file mode 100644 index 00000000..62be41a8 --- /dev/null +++ b/src/funcs/agentsGet.ts @@ -0,0 +1,189 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: ee72478b2e87 + */ + +import { GleanCore } from "../core.js"; +import { encodeSimple } from "../lib/encodings.js"; +import { matchStatusCode } from "../lib/http.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { GleanBaseError } from "../models/errors/gleanbaseerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Get agent + * + * @remarks + * Retrieve details for an agent available to the authenticated user. + */ +export function agentsGet( + client: GleanCore, + agentId: string, + options?: RequestOptions, +): APIPromise< + Result< + components.PlatformAgentGetResponse, + | errors.PlatformProblemDetailError + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + agentId, + options, + )); +} + +async function $do( + client: GleanCore, + agentId: string, + options?: RequestOptions, +): Promise< + [ + Result< + components.PlatformAgentGetResponse, + | errors.PlatformProblemDetailError + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const input: operations.PlatformAgentsGetRequest = { + agent_id: agentId, + }; + + const parsed = safeParse( + input, + (value) => operations.PlatformAgentsGetRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + agent_id: encodeSimple("agent_id", payload.agent_id, { + explode: false, + charEncoding: "percent", + }), + }; + const path = pathToFunc("/api/agents/{agent_id}")(pathParams); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.apiToken); + const securityInput = secConfig == null ? {} : { apiToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "platform-agents-get", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.apiToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + isErrorStatusCode: (statusCode: number) => + matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]), + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + components.PlatformAgentGetResponse, + | errors.PlatformProblemDetailError + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.PlatformAgentGetResponse$inboundSchema), + M.jsonErr( + [400, 401, 403, 404, 408, 429], + errors.PlatformProblemDetailError$inboundSchema, + { ctype: "application/problem+json" }, + ), + M.jsonErr([500, 503], errors.PlatformProblemDetailError$inboundSchema, { + ctype: "application/problem+json", + }), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/agentsGetSchemas.ts b/src/funcs/agentsGetSchemas.ts new file mode 100644 index 00000000..f63dfccb --- /dev/null +++ b/src/funcs/agentsGetSchemas.ts @@ -0,0 +1,199 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: edd2ff0bf57f + */ + +import { GleanCore } from "../core.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; +import { matchStatusCode } from "../lib/http.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { GleanBaseError } from "../models/errors/gleanbaseerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Get agent schemas + * + * @remarks + * Retrieve an agent's input and output JSON schemas. + */ +export function agentsGetSchemas( + client: GleanCore, + agentId: string, + includeTools?: boolean | undefined, + options?: RequestOptions, +): APIPromise< + Result< + components.PlatformAgentSchemasResponse, + | errors.PlatformProblemDetailError + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + agentId, + includeTools, + options, + )); +} + +async function $do( + client: GleanCore, + agentId: string, + includeTools?: boolean | undefined, + options?: RequestOptions, +): Promise< + [ + Result< + components.PlatformAgentSchemasResponse, + | errors.PlatformProblemDetailError + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const input: operations.PlatformAgentsGetSchemasRequest = { + agent_id: agentId, + include_tools: includeTools, + }; + + const parsed = safeParse( + input, + (value) => + operations.PlatformAgentsGetSchemasRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + agent_id: encodeSimple("agent_id", payload.agent_id, { + explode: false, + charEncoding: "percent", + }), + }; + const path = pathToFunc("/api/agents/{agent_id}/schemas")(pathParams); + + const query = encodeFormQuery({ + "include_tools": payload.include_tools, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.apiToken); + const securityInput = secConfig == null ? {} : { apiToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "platform-agents-get-schemas", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.apiToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + isErrorStatusCode: (statusCode: number) => + matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]), + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + components.PlatformAgentSchemasResponse, + | errors.PlatformProblemDetailError + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.PlatformAgentSchemasResponse$inboundSchema), + M.jsonErr( + [400, 401, 403, 404, 408, 429], + errors.PlatformProblemDetailError$inboundSchema, + { ctype: "application/problem+json" }, + ), + M.jsonErr([500, 503], errors.PlatformProblemDetailError$inboundSchema, { + ctype: "application/problem+json", + }), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/agentsSearch.ts b/src/funcs/agentsSearch.ts new file mode 100644 index 00000000..6ce45dcb --- /dev/null +++ b/src/funcs/agentsSearch.ts @@ -0,0 +1,180 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 9728cd0dc835 + */ + +import { GleanCore } from "../core.js"; +import { encodeJSON } from "../lib/encodings.js"; +import { matchStatusCode } from "../lib/http.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { GleanBaseError } from "../models/errors/gleanbaseerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Search agents + * + * @remarks + * Search agents available to the authenticated user by agent name. + */ +export function agentsSearch( + client: GleanCore, + request: components.PlatformAgentsSearchRequest, + options?: RequestOptions, +): APIPromise< + Result< + components.PlatformAgentsSearchResponse, + | errors.PlatformProblemDetailError + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: GleanCore, + request: components.PlatformAgentsSearchRequest, + options?: RequestOptions, +): Promise< + [ + Result< + components.PlatformAgentsSearchResponse, + | errors.PlatformProblemDetailError + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => + components.PlatformAgentsSearchRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload, { explode: true }); + + const path = pathToFunc("/api/agents/search")(); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.apiToken); + const securityInput = secConfig == null ? {} : { apiToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "platform-agents-search", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.apiToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "POST", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + isErrorStatusCode: (statusCode: number) => + matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]), + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + components.PlatformAgentsSearchResponse, + | errors.PlatformProblemDetailError + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.PlatformAgentsSearchResponse$inboundSchema), + M.jsonErr( + [400, 401, 403, 404, 408, 429], + errors.PlatformProblemDetailError$inboundSchema, + { ctype: "application/problem+json" }, + ), + M.jsonErr([500, 503], errors.PlatformProblemDetailError$inboundSchema, { + ctype: "application/problem+json", + }), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/agentsCreateAgent.ts b/src/funcs/clientAgentsCreate.ts similarity index 98% rename from src/funcs/agentsCreateAgent.ts rename to src/funcs/clientAgentsCreate.ts index 5535825e..bb57721a 100644 --- a/src/funcs/agentsCreateAgent.ts +++ b/src/funcs/clientAgentsCreate.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 51073dbdf0f4 + * @generated-id: 47ed45af6a00 */ import { GleanCore } from "../core.js"; @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; * @remarks * Create an agent. */ -export function agentsCreateAgent( +export function clientAgentsCreate( client: GleanCore, createWorkflowRequest: components.CreateWorkflowRequest, locale?: string | undefined, diff --git a/src/funcs/clientAgentsRetrieve.ts b/src/funcs/clientAgentsRetrieve.ts index 6e200755..36efec1a 100644 --- a/src/funcs/clientAgentsRetrieve.ts +++ b/src/funcs/clientAgentsRetrieve.ts @@ -87,7 +87,7 @@ async function $do( ] > { const input: operations.GetAgentRequest = { - agentId: agentId, + agent_id: agentId, locale: locale, timezoneOffset: timezoneOffset, }; diff --git a/src/funcs/clientAgentsRetrieveSchemas.ts b/src/funcs/clientAgentsRetrieveSchemas.ts index 6280126c..360a292a 100644 --- a/src/funcs/clientAgentsRetrieveSchemas.ts +++ b/src/funcs/clientAgentsRetrieveSchemas.ts @@ -87,7 +87,7 @@ async function $do( ] > { const input: operations.GetAgentSchemasRequest = { - agentId: agentId, + agent_id: agentId, locale: locale, timezoneOffset: timezoneOffset, }; diff --git a/src/funcs/agentsEditAgent.ts b/src/funcs/clientAgentsUpdate.ts similarity index 98% rename from src/funcs/agentsEditAgent.ts rename to src/funcs/clientAgentsUpdate.ts index 6a305004..4d36e2bd 100644 --- a/src/funcs/agentsEditAgent.ts +++ b/src/funcs/clientAgentsUpdate.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 973833b5affd + * @generated-id: 5143be254b1d */ import * as z from "zod/v3"; @@ -35,7 +35,7 @@ import { Result } from "../types/fp.js"; * @remarks * Creates a draft or publishes an [agent](https://developers.glean.com/agents/agents-api). Use `isDraft=true` to save a draft, or `isDraft=false` (or omit) to publish immediately. Only draft and publish modes are supported. */ -export function agentsEditAgent( +export function clientAgentsUpdate( client: GleanCore, editWorkflowRequest: components.EditWorkflowRequest, agentId: string, @@ -92,7 +92,7 @@ async function $do( > { const input: operations.EditAgentRequest = { editWorkflowRequest: editWorkflowRequest, - agentId: agentId, + agent_id: agentId, locale: locale, timezoneOffset: timezoneOffset, }; diff --git a/src/funcs/authenticationCheckdatasourceauth.ts b/src/funcs/clientAuthenticationCheckDatasourceAuth.ts similarity index 98% rename from src/funcs/authenticationCheckdatasourceauth.ts rename to src/funcs/clientAuthenticationCheckDatasourceAuth.ts index 1600d4a9..52b5e0d6 100644 --- a/src/funcs/authenticationCheckdatasourceauth.ts +++ b/src/funcs/clientAuthenticationCheckDatasourceAuth.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 735a35286828 + * @generated-id: 8cfd40ff8f14 */ import { GleanCore } from "../core.js"; @@ -36,7 +36,7 @@ import { Result } from "../types/fp.js"; * the `authUrlRelativePath` from each instance, and the transient auth token: * `/?transient_auth_token=`. */ -export function authenticationCheckdatasourceauth( +export function clientAuthenticationCheckDatasourceAuth( client: GleanCore, options?: RequestOptions, ): APIPromise< diff --git a/src/funcs/chatGetChatFile.ts b/src/funcs/clientChatRetrieveFile.ts similarity index 98% rename from src/funcs/chatGetChatFile.ts rename to src/funcs/clientChatRetrieveFile.ts index 3029f9a0..4f1e7d32 100644 --- a/src/funcs/chatGetChatFile.ts +++ b/src/funcs/clientChatRetrieveFile.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: ec3e59174ced + * @generated-id: 40175084109f */ import * as z from "zod/v3"; @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; * @remarks * Download the raw content of a file generated or uploaded during a chat session (for example, an image produced by the assistant). Returns the file bytes with a Content-Type header matching the file's MIME type. */ -export function chatGetChatFile( +export function clientChatRetrieveFile( client: GleanCore, fileId: string, preview?: boolean | undefined, diff --git a/src/funcs/datasourcesGetDatasourceInstanceConfiguration.ts b/src/funcs/clientDatasourcesRetrieveConfiguration.ts similarity index 98% rename from src/funcs/datasourcesGetDatasourceInstanceConfiguration.ts rename to src/funcs/clientDatasourcesRetrieveConfiguration.ts index ae598b8b..2e9b530f 100644 --- a/src/funcs/datasourcesGetDatasourceInstanceConfiguration.ts +++ b/src/funcs/clientDatasourcesRetrieveConfiguration.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 76db7ac74ddc + * @generated-id: 3dbe17712c34 */ import { GleanCore } from "../core.js"; @@ -34,7 +34,7 @@ import { Result } from "../types/fp.js"; * @remarks * Gets the greenlisted configuration values for a datasource instance. Returns only configuration keys that are exposed via the public API greenlist. */ -export function datasourcesGetDatasourceInstanceConfiguration( +export function clientDatasourcesRetrieveConfiguration( client: GleanCore, datasourceId: string, instanceId: string, diff --git a/src/funcs/datasourcesGetDatasourceCredentialStatus.ts b/src/funcs/clientDatasourcesRetrieveCredentialStatus.ts similarity index 98% rename from src/funcs/datasourcesGetDatasourceCredentialStatus.ts rename to src/funcs/clientDatasourcesRetrieveCredentialStatus.ts index c35e8689..126a48ee 100644 --- a/src/funcs/datasourcesGetDatasourceCredentialStatus.ts +++ b/src/funcs/clientDatasourcesRetrieveCredentialStatus.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: a541b9c70d16 + * @generated-id: 0b2b6eef06ed */ import { GleanCore } from "../core.js"; @@ -34,7 +34,7 @@ import { Result } from "../types/fp.js"; * @remarks * Returns the current credential status for a datasource instance. Access is limited to callers with the ADMIN scope; the handler enforces this check. */ -export function datasourcesGetDatasourceCredentialStatus( +export function clientDatasourcesRetrieveCredentialStatus( client: GleanCore, datasourceInstanceId: string, options?: RequestOptions, diff --git a/src/funcs/datasourcesRotateDatasourceCredentials.ts b/src/funcs/clientDatasourcesRotateCredentials.ts similarity index 98% rename from src/funcs/datasourcesRotateDatasourceCredentials.ts rename to src/funcs/clientDatasourcesRotateCredentials.ts index ad96776b..e419f840 100644 --- a/src/funcs/datasourcesRotateDatasourceCredentials.ts +++ b/src/funcs/clientDatasourcesRotateCredentials.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 494d27ff47ff + * @generated-id: 76ffb99fc76e */ import { GleanCore } from "../core.js"; @@ -35,7 +35,7 @@ import { Result } from "../types/fp.js"; * Rotates the credentials that a datasource instance uses to connect to its upstream system. Replaces the active credential material with the supplied values and returns the credential status after rotation. Access is limited to callers with the ADMIN scope; the handler enforces this check. * Only keys recognized as credential material for the datasource type may be set in `credentials.values` (e.g. `clientSecret`, `apiToken`, `privateKey`, depending on the configured auth method). Unrecognized keys, or keys that correspond to non-credential configuration, cause a 400; other instance configuration must be updated via PATCH /configure/datasources/{datasourceId}/instances/{instanceId}. */ -export function datasourcesRotateDatasourceCredentials( +export function clientDatasourcesRotateCredentials( client: GleanCore, rotateDatasourceCredentialsRequest: components.RotateDatasourceCredentialsRequest, diff --git a/src/funcs/datasourcesUpdateDatasourceInstanceConfiguration.ts b/src/funcs/clientDatasourcesUpdateConfiguration.ts similarity index 98% rename from src/funcs/datasourcesUpdateDatasourceInstanceConfiguration.ts rename to src/funcs/clientDatasourcesUpdateConfiguration.ts index 7941b6c1..3517217d 100644 --- a/src/funcs/datasourcesUpdateDatasourceInstanceConfiguration.ts +++ b/src/funcs/clientDatasourcesUpdateConfiguration.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 43e250fff0c1 + * @generated-id: ccdfa621f9d6 */ import { GleanCore } from "../core.js"; @@ -34,7 +34,7 @@ import { Result } from "../types/fp.js"; * @remarks * Updates the greenlisted configuration values for a datasource instance. Only configuration keys that are exposed via the public API greenlist may be set. Returns the full greenlisted configuration after the update is applied. */ -export function datasourcesUpdateDatasourceInstanceConfiguration( +export function clientDatasourcesUpdateConfiguration( client: GleanCore, updateDatasourceConfigurationRequest: components.UpdateDatasourceConfigurationRequest, diff --git a/src/funcs/entitiesGetPersonPhoto.ts b/src/funcs/clientEntitiesRetrievePersonPhoto.ts similarity index 95% rename from src/funcs/entitiesGetPersonPhoto.ts rename to src/funcs/clientEntitiesRetrievePersonPhoto.ts index 3d4b9ee6..99bbc620 100644 --- a/src/funcs/entitiesGetPersonPhoto.ts +++ b/src/funcs/clientEntitiesRetrievePersonPhoto.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: c5da648aa63d + * @generated-id: 45169116f8a8 */ import { GleanCore } from "../core.js"; @@ -26,7 +26,7 @@ import * as operations from "../models/operations/index.js"; import { APICall, APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; -export enum GetPersonPhotoAcceptEnum { +export enum RetrievePersonPhotoAcceptEnum { imageJpeg = "image/jpeg", imagePng = "image/png", } @@ -37,12 +37,12 @@ export enum GetPersonPhotoAcceptEnum { * @remarks * Returns the profile photo bytes for a person whose photo is stored in Glean (crawled from an identity source or user-uploaded via admin console). Photos hosted externally (e.g. Slack CDN) are not served by this endpoint; callers should follow the photoUrl from /people or /listentities directly. Responses include a Cache-Control header (max-age=3600) to reduce redundant fetches. */ -export function entitiesGetPersonPhoto( +export function clientEntitiesRetrievePersonPhoto( client: GleanCore, personId: string, ds?: string | undefined, options?: RequestOptions & { - acceptHeaderOverride?: GetPersonPhotoAcceptEnum; + acceptHeaderOverride?: RetrievePersonPhotoAcceptEnum; }, ): APIPromise< Result< @@ -70,7 +70,7 @@ async function $do( personId: string, ds?: string | undefined, options?: RequestOptions & { - acceptHeaderOverride?: GetPersonPhotoAcceptEnum; + acceptHeaderOverride?: RetrievePersonPhotoAcceptEnum; }, ): Promise< [ @@ -89,7 +89,7 @@ async function $do( ] > { const input: operations.GetPersonPhotoRequest = { - personId: personId, + person_id: personId, ds: ds, }; diff --git a/src/funcs/governanceCreatefindingsexport.ts b/src/funcs/clientGovernanceDataFindingsCreate.ts similarity index 98% rename from src/funcs/governanceCreatefindingsexport.ts rename to src/funcs/clientGovernanceDataFindingsCreate.ts index 6bd692d4..036c1474 100644 --- a/src/funcs/governanceCreatefindingsexport.ts +++ b/src/funcs/clientGovernanceDataFindingsCreate.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 5e4433cb388c + * @generated-id: e103cdf58c1a */ import { GleanCore } from "../core.js"; @@ -32,7 +32,7 @@ import { Result } from "../types/fp.js"; * @remarks * Creates a new DLP findings export job. */ -export function governanceCreatefindingsexport( +export function clientGovernanceDataFindingsCreate( client: GleanCore, request: components.DlpExportFindingsRequest, options?: RequestOptions, diff --git a/src/funcs/governanceDeletefindingsexport.ts b/src/funcs/clientGovernanceDataFindingsDelete.ts similarity index 98% rename from src/funcs/governanceDeletefindingsexport.ts rename to src/funcs/clientGovernanceDataFindingsDelete.ts index 1a498356..1d30e14a 100644 --- a/src/funcs/governanceDeletefindingsexport.ts +++ b/src/funcs/clientGovernanceDataFindingsDelete.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: bc9273a23f56 + * @generated-id: c8be62cc967b */ import * as z from "zod/v3"; @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; * @remarks * Deletes a DLP findings export. */ -export function governanceDeletefindingsexport( +export function clientGovernanceDataFindingsDelete( client: GleanCore, id: number, options?: RequestOptions, diff --git a/src/funcs/governanceDownloadfindingsexport.ts b/src/funcs/clientGovernanceDataFindingsDownload.ts similarity index 98% rename from src/funcs/governanceDownloadfindingsexport.ts rename to src/funcs/clientGovernanceDataFindingsDownload.ts index 56dc470c..68a976f1 100644 --- a/src/funcs/governanceDownloadfindingsexport.ts +++ b/src/funcs/clientGovernanceDataFindingsDownload.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 03396f39358f + * @generated-id: d256173c4ee6 */ import * as z from "zod/v3"; @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; * @remarks * Downloads a DLP findings export as a CSV file. */ -export function governanceDownloadfindingsexport( +export function clientGovernanceDataFindingsDownload( client: GleanCore, id: string, options?: RequestOptions, diff --git a/src/funcs/governanceListfindingsexports.ts b/src/funcs/clientGovernanceDataFindingsList.ts similarity index 98% rename from src/funcs/governanceListfindingsexports.ts rename to src/funcs/clientGovernanceDataFindingsList.ts index 64ec5a30..2d42d78a 100644 --- a/src/funcs/governanceListfindingsexports.ts +++ b/src/funcs/clientGovernanceDataFindingsList.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 7f1332e1467a + * @generated-id: d0788e1266f9 */ import { GleanCore } from "../core.js"; @@ -30,7 +30,7 @@ import { Result } from "../types/fp.js"; * @remarks * Lists all DLP findings exports. */ -export function governanceListfindingsexports( +export function clientGovernanceDataFindingsList( client: GleanCore, options?: RequestOptions, ): APIPromise< diff --git a/src/funcs/toolsAuthorizeActionPack.ts b/src/funcs/clientToolsAuthorizeActionPack.ts similarity index 98% rename from src/funcs/toolsAuthorizeActionPack.ts rename to src/funcs/clientToolsAuthorizeActionPack.ts index 0036b269..4439ae4b 100644 --- a/src/funcs/toolsAuthorizeActionPack.ts +++ b/src/funcs/clientToolsAuthorizeActionPack.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: d110954f314e + * @generated-id: dc605eda5aff */ import { GleanCore } from "../core.js"; @@ -39,7 +39,7 @@ import { Result } from "../types/fp.js"; * `returnUrl` must match the tenant's configured return URL allowlist; otherwise the * request is rejected with 400. */ -export function toolsAuthorizeActionPack( +export function clientToolsAuthorizeActionPack( client: GleanCore, authorizeActionPackRequest: components.AuthorizeActionPackRequest, actionPackId: string, diff --git a/src/funcs/toolsGetActionPackAuthStatus.ts b/src/funcs/clientToolsRetrieveActionPackAuthStatus.ts similarity index 98% rename from src/funcs/toolsGetActionPackAuthStatus.ts rename to src/funcs/clientToolsRetrieveActionPackAuthStatus.ts index 450d9b33..e27d551a 100644 --- a/src/funcs/toolsGetActionPackAuthStatus.ts +++ b/src/funcs/clientToolsRetrieveActionPackAuthStatus.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 54265f6b23fa + * @generated-id: 005f9b5127d8 */ import { GleanCore } from "../core.js"; @@ -35,7 +35,7 @@ import { Result } from "../types/fp.js"; * tool backing the specified action pack. Intended for headless / server-driven clients * that render an "Authorize" prompt when the user has not yet consented to the tool. */ -export function toolsGetActionPackAuthStatus( +export function clientToolsRetrieveActionPackAuthStatus( client: GleanCore, actionPackId: string, options?: RequestOptions, diff --git a/src/funcs/troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents.ts b/src/funcs/indexingDocumentsDebugEvents.ts similarity index 98% rename from src/funcs/troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents.ts rename to src/funcs/indexingDocumentsDebugEvents.ts index 38a2f74b..8c4a51c5 100644 --- a/src/funcs/troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents.ts +++ b/src/funcs/indexingDocumentsDebugEvents.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: da3ee94837ee + * @generated-id: cdf90816c99f */ import { GleanCore } from "../core.js"; @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; * @remarks * Retrieves lifecycle events for a specific document including upload time, index times and deletions. Rate limited to 1 request per minute per datasource. Currently in beta, might undergo breaking changes without prior notice. */ -export function troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents( +export function indexingDocumentsDebugEvents( client: GleanCore, debugDocumentLifecycleRequest: components.DebugDocumentLifecycleRequest, datasource: string, diff --git a/src/funcs/searchQuery.ts b/src/funcs/searchQuery.ts new file mode 100644 index 00000000..8e6b7cd8 --- /dev/null +++ b/src/funcs/searchQuery.ts @@ -0,0 +1,179 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: cc6075d2a5d0 + */ + +import { GleanCore } from "../core.js"; +import { encodeJSON } from "../lib/encodings.js"; +import { matchStatusCode } from "../lib/http.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js"; +import { pathToFunc } from "../lib/url.js"; +import * as components from "../models/components/index.js"; +import { GleanBaseError } from "../models/errors/gleanbaseerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Search + * + * @remarks + * Execute a search query and retrieve ranked results. This is the data retrieval variant of the search API and returns only results and pagination state. + */ +export function searchQuery( + client: GleanCore, + request: components.PlatformSearchRequest, + options?: RequestOptions, +): APIPromise< + Result< + components.PlatformSearchResponse, + | errors.PlatformProblemDetailError + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: GleanCore, + request: components.PlatformSearchRequest, + options?: RequestOptions, +): Promise< + [ + Result< + components.PlatformSearchResponse, + | errors.PlatformProblemDetailError + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => components.PlatformSearchRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload, { explode: true }); + + const path = pathToFunc("/api/search")(); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.apiToken); + const securityInput = secConfig == null ? {} : { apiToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "platform-search", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.apiToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "POST", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + isErrorStatusCode: (statusCode: number) => + matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]), + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + components.PlatformSearchResponse, + | errors.PlatformProblemDetailError + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.PlatformSearchResponse$inboundSchema), + M.jsonErr( + [400, 401, 403, 404, 408, 429], + errors.PlatformProblemDetailError$inboundSchema, + { ctype: "application/problem+json" }, + ), + M.jsonErr([500, 503], errors.PlatformProblemDetailError$inboundSchema, { + ctype: "application/problem+json", + }), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/lib/config.ts b/src/lib/config.ts index ddb8ecda..581e6dc3 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -73,8 +73,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "0.9.0", - sdkVersion: "0.16.1", - genVersion: "2.913.3", + sdkVersion: "0.17.0", + genVersion: "2.915.0", userAgent: - "speakeasy-sdk/typescript 0.16.1 2.913.3 0.9.0 @gleanwork/api-client", + "speakeasy-sdk/typescript 0.17.0 2.915.0 0.9.0 @gleanwork/api-client", } as const; diff --git a/src/models/components/actionsummary.ts b/src/models/components/actionsummary.ts index 0a260994..21347390 100644 --- a/src/models/components/actionsummary.ts +++ b/src/models/components/actionsummary.ts @@ -4,7 +4,6 @@ */ import * as z from "zod/v3"; -import { remap as remap$ } from "../../lib/primitives.js"; import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; @@ -16,11 +15,11 @@ export type ActionSummary = { /** * The unique identifier of the action. */ - toolId: string; + tool_id: string; /** * The display name of the action. */ - displayName: string; + display_name: string; /** * The type of tool - RETRIEVAL for read-only operations, ACTION for operations that modify data. */ @@ -28,15 +27,15 @@ export type ActionSummary = { /** * The authentication type required - OAUTH_USER, OAUTH_ADMIN, API_KEY, BASIC_AUTH, DWD (domain-wide delegation), or NONE. */ - authType?: string | undefined; + auth_type?: string | undefined; /** * For write actions only - REDIRECT (client renders URL) or EXECUTION (external server call). */ - writeActionType?: string | undefined; + write_action_type?: string | undefined; /** * Whether this action has been fully configured and validated. */ - isSetupFinished?: boolean | undefined; + is_setup_finished?: boolean | undefined; /** * Indicates the kind of knowledge a tool would access or modify. * @@ -50,7 +49,7 @@ export type ActionSummary = { * - Native tools that don't access or modify content via APIs (e.g., file analyst, think) * - Platform read or write tools (creator has to determine their knowledge implications) */ - dataSource?: string | undefined; + data_source?: string | undefined; }; /** @internal */ @@ -66,15 +65,6 @@ export const ActionSummary$inboundSchema: z.ZodType< write_action_type: z.string().optional(), is_setup_finished: z.boolean().optional(), data_source: z.string().optional(), -}).transform((v) => { - return remap$(v, { - "tool_id": "toolId", - "display_name": "displayName", - "auth_type": "authType", - "write_action_type": "writeActionType", - "is_setup_finished": "isSetupFinished", - "data_source": "dataSource", - }); }); export function actionSummaryFromJSON( diff --git a/src/models/components/agent.ts b/src/models/components/agent.ts index a876d041..fa0e86b5 100644 --- a/src/models/components/agent.ts +++ b/src/models/components/agent.ts @@ -29,11 +29,11 @@ export type AgentCapabilities = { /** * Whether the agent supports messages as an input. If true, you'll pass `messages` as an input when running the agent. */ - apIoMessages?: boolean | undefined; + "ap.io.messages"?: boolean | undefined; /** * Whether the agent supports streaming output. If true, you you can stream agent ouput. All agents currently support streaming. */ - apIoStreaming?: boolean | undefined; + "ap.io.streaming"?: boolean | undefined; additionalProperties?: { [k: string]: any } | undefined; }; @@ -41,7 +41,7 @@ export type Agent = { /** * The ID of the agent. */ - agentId: string; + agent_id: string; /** * The name of the agent */ @@ -96,8 +96,8 @@ export const AgentCapabilities$inboundSchema: z.ZodType< true, ).transform((v) => { return remap$(v, { - "ap.io.messages": "apIoMessages", - "ap.io.streaming": "apIoStreaming", + "ap.io.messages": "ap.io.messages", + "ap.io.streaming": "ap.io.streaming", }); }); @@ -119,10 +119,6 @@ export const Agent$inboundSchema: z.ZodType = z description: z.string().optional(), metadata: z.lazy(() => AgentMetadata$inboundSchema).optional(), capabilities: z.lazy(() => AgentCapabilities$inboundSchema), - }).transform((v) => { - return remap$(v, { - "agent_id": "agentId", - }); }); export function agentFromJSON( diff --git a/src/models/components/agentrun.ts b/src/models/components/agentrun.ts index 8031c8c9..354ea6b0 100644 --- a/src/models/components/agentrun.ts +++ b/src/models/components/agentrun.ts @@ -4,7 +4,6 @@ */ import * as z from "zod/v3"; -import { remap as remap$ } from "../../lib/primitives.js"; import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; @@ -21,7 +20,7 @@ export type AgentRun = { /** * The ID of the agent to run. */ - agentId: string; + agent_id: string; /** * The input to the agent. Required when the agent uses an input form trigger. */ @@ -51,10 +50,6 @@ export const AgentRun$inboundSchema: z.ZodType< messages: z.array(Message$inboundSchema).optional(), metadata: z.record(z.any()).optional(), status: AgentExecutionStatus$inboundSchema.optional(), -}).transform((v) => { - return remap$(v, { - "agent_id": "agentId", - }); }); export function agentRunFromJSON( diff --git a/src/models/components/agentruncreate.ts b/src/models/components/agentruncreate.ts index 4f55e905..e3f7cead 100644 --- a/src/models/components/agentruncreate.ts +++ b/src/models/components/agentruncreate.ts @@ -4,7 +4,6 @@ */ import * as z from "zod/v3"; -import { remap as remap$ } from "../../lib/primitives.js"; import { Message, Message$Outbound, @@ -18,7 +17,7 @@ export type AgentRunCreate = { /** * The ID of the agent to run. */ - agentId: string; + agent_id: string; /** * The input to the agent. Required when the agent uses an input form trigger. */ @@ -47,14 +46,10 @@ export const AgentRunCreate$outboundSchema: z.ZodType< z.ZodTypeDef, AgentRunCreate > = z.object({ - agentId: z.string(), + agent_id: z.string(), input: z.record(z.any()).optional(), messages: z.array(Message$outboundSchema).optional(), metadata: z.record(z.any()).optional(), -}).transform((v) => { - return remap$(v, { - agentId: "agent_id", - }); }); export function agentRunCreateToJSON(agentRunCreate: AgentRunCreate): string { diff --git a/src/models/components/agentschemas.ts b/src/models/components/agentschemas.ts index ac9c4c54..e5056606 100644 --- a/src/models/components/agentschemas.ts +++ b/src/models/components/agentschemas.ts @@ -4,7 +4,6 @@ */ import * as z from "zod/v3"; -import { remap as remap$ } from "../../lib/primitives.js"; import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; @@ -27,7 +26,7 @@ export type AgentSchemas = { /** * The ID of the agent. */ - agentId: string; + agent_id: string; /** * The name of the agent. */ @@ -35,11 +34,11 @@ export type AgentSchemas = { /** * The schema for the agent input. In JSON Schema format. */ - inputSchema: InputSchema; + input_schema: InputSchema; /** * The schema for the agent output. In JSON Schema format. */ - outputSchema: OutputSchema; + output_schema: OutputSchema; /** * List of tools that the agent can invoke. Only included when include_tools query parameter is set to true. */ @@ -91,12 +90,6 @@ export const AgentSchemas$inboundSchema: z.ZodType< input_schema: z.lazy(() => InputSchema$inboundSchema), output_schema: z.lazy(() => OutputSchema$inboundSchema), tools: z.array(ActionSummary$inboundSchema).optional(), -}).transform((v) => { - return remap$(v, { - "agent_id": "agentId", - "input_schema": "inputSchema", - "output_schema": "outputSchema", - }); }); export function agentSchemasFromJSON( diff --git a/src/models/components/authconfig.ts b/src/models/components/authconfig.ts index efd01fda..7bf20f42 100644 --- a/src/models/components/authconfig.ts +++ b/src/models/components/authconfig.ts @@ -4,7 +4,6 @@ */ import * as z from "zod/v3"; -import { remap as remap$ } from "../../lib/primitives.js"; import { safeParse } from "../../lib/schemas.js"; import * as openEnums from "../../types/enums.js"; import { OpenEnum } from "../../types/enums.js"; @@ -110,7 +109,7 @@ export type AuthConfig = { /** * The URL where users will be directed to start the OAuth flow. */ - clientUrl?: string | undefined; + client_url?: string | undefined; /** * A list of strings denoting the different scopes or access levels required by the tool. */ @@ -122,7 +121,7 @@ export type AuthConfig = { /** * The OAuth provider's endpoint, where access tokens are requested. */ - authorizationUrl?: string | undefined; + authorization_url?: string | undefined; /** * The OAuth 2.0 Resource Indicator (RFC 8707) for the protected resource. Discovered from Protected Resource Metadata (RFC 9728) during DCR. Included in authorization and token exchange requests when present. */ @@ -130,7 +129,7 @@ export type AuthConfig = { /** * The OAuth 2.0 token endpoint authentication method (RFC 7591). Determines how the client authenticates when exchanging an authorization code for a token. client_secret_post sends credentials as form fields, client_secret_basic sends them via Authorization header, none omits client secret and relies on PKCE only. Values use lowercase to match the OAuth 2.0 wire format (RFC 7591 Section 2). */ - tokenEndpointAuthMethod?: TokenEndpointAuthMethod | undefined; + token_endpoint_auth_method?: TokenEndpointAuthMethod | undefined; /** * The time the tool was last authorized in ISO format (ISO 8601). */ @@ -209,12 +208,6 @@ export const AuthConfig$inboundSchema: z.ZodType< lastAuthorizedAt: z.string().datetime({ offset: true }).transform(v => new Date(v) ).optional(), -}).transform((v) => { - return remap$(v, { - "client_url": "clientUrl", - "authorization_url": "authorizationUrl", - "token_endpoint_auth_method": "tokenEndpointAuthMethod", - }); }); /** @internal */ export type AuthConfig$Outbound = { @@ -243,19 +236,13 @@ export const AuthConfig$outboundSchema: z.ZodType< type: AuthConfigType$outboundSchema.optional(), grantType: GrantType$outboundSchema.optional(), status: AuthConfigStatus$outboundSchema.optional(), - clientUrl: z.string().optional(), + client_url: z.string().optional(), scopes: z.array(z.string()).optional(), audiences: z.array(z.string()).optional(), - authorizationUrl: z.string().optional(), + authorization_url: z.string().optional(), resource: z.string().optional(), - tokenEndpointAuthMethod: TokenEndpointAuthMethod$outboundSchema.optional(), + token_endpoint_auth_method: TokenEndpointAuthMethod$outboundSchema.optional(), lastAuthorizedAt: z.date().transform(v => v.toISOString()).optional(), -}).transform((v) => { - return remap$(v, { - clientUrl: "client_url", - authorizationUrl: "authorization_url", - tokenEndpointAuthMethod: "token_endpoint_auth_method", - }); }); export function authConfigToJSON(authConfig: AuthConfig): string { diff --git a/src/models/components/autocompleteresponse.ts b/src/models/components/autocompleteresponse.ts index 7fca6af1..c62c7926 100644 --- a/src/models/components/autocompleteresponse.ts +++ b/src/models/components/autocompleteresponse.ts @@ -37,7 +37,7 @@ export type AutocompleteResponse = { * Subsections of the results list from which distinct sections should be created. */ groups?: Array | undefined; - gleanDataError?: GleanDataError | undefined; + GleanDataError?: GleanDataError | undefined; /** * Time in milliseconds the backend took to respond to the request. */ @@ -59,7 +59,7 @@ export const AutocompleteResponse$inboundSchema: z.ZodType< backendTimeMillis: z.number().int().optional(), }).transform((v) => { return remap$(v, { - "errorInfo": "gleanDataError", + "errorInfo": "GleanDataError", }); }); diff --git a/src/models/components/index.ts b/src/models/components/index.ts index 8db14175..390b3f8c 100644 --- a/src/models/components/index.ts +++ b/src/models/components/index.ts @@ -340,6 +340,30 @@ export * from "./peruserassistantinsight.js"; export * from "./peruserinsight.js"; export * from "./pindocument.js"; export * from "./pinrequest.js"; +export * from "./platformactionsummary.js"; +export * from "./platformagent.js"; +export * from "./platformagentcapabilities.js"; +export * from "./platformagentexecutionstatus.js"; +export * from "./platformagentgetresponse.js"; +export * from "./platformagentrun.js"; +export * from "./platformagentruncreaterequest.js"; +export * from "./platformagentrunwaitresponse.js"; +export * from "./platformagentschemasresponse.js"; +export * from "./platformagentssearchrequest.js"; +export * from "./platformagentssearchresponse.js"; +export * from "./platformcontenttype.js"; +export * from "./platformfilter.js"; +export * from "./platformfilteroperator.js"; +export * from "./platformmessage.js"; +export * from "./platformmessagerole.js"; +export * from "./platformmessagetextblock.js"; +export * from "./platformpersonreference.js"; +export * from "./platformproblemdetailcode.js"; +export * from "./platformproblemdetailerror.js"; +export * from "./platformresult.js"; +export * from "./platformsearchrequest.js"; +export * from "./platformsearchresponse.js"; +export * from "./platformtimerange.js"; export * from "./possiblevalue.js"; export * from "./processalldocumentsrequest.js"; export * from "./processallmembershipsrequest.js"; diff --git a/src/models/components/platformactionsummary.ts b/src/models/components/platformactionsummary.ts new file mode 100644 index 00000000..c1704a02 --- /dev/null +++ b/src/models/components/platformactionsummary.ts @@ -0,0 +1,65 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 5ba86daff548 + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type PlatformActionSummary = { + /** + * Unique identifier of the action. + */ + tool_id: string; + /** + * Display name of the action. + */ + display_name: string; + /** + * Tool type. + */ + type?: string | undefined; + /** + * Authentication type required by the action. + */ + auth_type?: string | undefined; + /** + * Write-action execution type. + */ + write_action_type?: string | undefined; + /** + * Whether this action has been fully configured. + */ + is_setup_finished?: boolean | undefined; + /** + * Kind of knowledge the action accesses or modifies. + */ + data_source?: string | undefined; +}; + +/** @internal */ +export const PlatformActionSummary$inboundSchema: z.ZodType< + PlatformActionSummary, + z.ZodTypeDef, + unknown +> = z.object({ + tool_id: z.string(), + display_name: z.string(), + type: z.string().optional(), + auth_type: z.string().optional(), + write_action_type: z.string().optional(), + is_setup_finished: z.boolean().optional(), + data_source: z.string().optional(), +}); + +export function platformActionSummaryFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PlatformActionSummary$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PlatformActionSummary' from JSON`, + ); +} diff --git a/src/models/components/platformagent.ts b/src/models/components/platformagent.ts new file mode 100644 index 00000000..89363931 --- /dev/null +++ b/src/models/components/platformagent.ts @@ -0,0 +1,56 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 0573787fcf08 + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + PlatformAgentCapabilities, + PlatformAgentCapabilities$inboundSchema, +} from "./platformagentcapabilities.js"; + +export type PlatformAgent = { + /** + * ID of the agent. + */ + agent_id: string; + /** + * Name of the agent. + */ + name: string; + /** + * Description of the agent. + */ + description?: string | undefined; + /** + * Agent metadata. + */ + metadata?: { [k: string]: any } | undefined; + capabilities: PlatformAgentCapabilities; +}; + +/** @internal */ +export const PlatformAgent$inboundSchema: z.ZodType< + PlatformAgent, + z.ZodTypeDef, + unknown +> = z.object({ + agent_id: z.string(), + name: z.string(), + description: z.string().optional(), + metadata: z.record(z.any()).optional(), + capabilities: PlatformAgentCapabilities$inboundSchema, +}); + +export function platformAgentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PlatformAgent$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PlatformAgent' from JSON`, + ); +} diff --git a/src/models/components/platformagentcapabilities.ts b/src/models/components/platformagentcapabilities.ts new file mode 100644 index 00000000..0bbc0c9e --- /dev/null +++ b/src/models/components/platformagentcapabilities.ts @@ -0,0 +1,54 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: daefec738f28 + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; +import { + collectExtraKeys as collectExtraKeys$, + safeParse, +} from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type PlatformAgentCapabilities = { + /** + * Whether the agent supports messages as input. + */ + "ap.io.messages"?: boolean | undefined; + /** + * Whether the agent supports streaming output. + */ + "ap.io.streaming"?: boolean | undefined; + additionalProperties?: { [k: string]: any } | undefined; +}; + +/** @internal */ +export const PlatformAgentCapabilities$inboundSchema: z.ZodType< + PlatformAgentCapabilities, + z.ZodTypeDef, + unknown +> = collectExtraKeys$( + z.object({ + "ap.io.messages": z.boolean().optional(), + "ap.io.streaming": z.boolean().optional(), + }).catchall(z.any()), + "additionalProperties", + true, +).transform((v) => { + return remap$(v, { + "ap.io.messages": "ap.io.messages", + "ap.io.streaming": "ap.io.streaming", + }); +}); + +export function platformAgentCapabilitiesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PlatformAgentCapabilities$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PlatformAgentCapabilities' from JSON`, + ); +} diff --git a/src/models/components/platformagentexecutionstatus.ts b/src/models/components/platformagentexecutionstatus.ts new file mode 100644 index 00000000..32bfb38b --- /dev/null +++ b/src/models/components/platformagentexecutionstatus.ts @@ -0,0 +1,29 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 2d23bf28f1e8 + */ + +import * as z from "zod/v3"; +import * as openEnums from "../../types/enums.js"; +import { OpenEnum } from "../../types/enums.js"; + +/** + * Status of the agent run. + */ +export const PlatformAgentExecutionStatus = { + Error: "error", + Success: "success", +} as const; +/** + * Status of the agent run. + */ +export type PlatformAgentExecutionStatus = OpenEnum< + typeof PlatformAgentExecutionStatus +>; + +/** @internal */ +export const PlatformAgentExecutionStatus$inboundSchema: z.ZodType< + PlatformAgentExecutionStatus, + z.ZodTypeDef, + unknown +> = openEnums.inboundSchema(PlatformAgentExecutionStatus); diff --git a/src/models/components/platformagentgetresponse.ts b/src/models/components/platformagentgetresponse.ts new file mode 100644 index 00000000..62e5470b --- /dev/null +++ b/src/models/components/platformagentgetresponse.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: e38387a46922 + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { PlatformAgent, PlatformAgent$inboundSchema } from "./platformagent.js"; + +export type PlatformAgentGetResponse = { + agent: PlatformAgent; + /** + * Platform-generated request ID for support correlation. + */ + request_id: string; +}; + +/** @internal */ +export const PlatformAgentGetResponse$inboundSchema: z.ZodType< + PlatformAgentGetResponse, + z.ZodTypeDef, + unknown +> = z.object({ + agent: PlatformAgent$inboundSchema, + request_id: z.string(), +}); + +export function platformAgentGetResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PlatformAgentGetResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PlatformAgentGetResponse' from JSON`, + ); +} diff --git a/src/models/components/platformagentrun.ts b/src/models/components/platformagentrun.ts new file mode 100644 index 00000000..ac0cece6 --- /dev/null +++ b/src/models/components/platformagentrun.ts @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: b60e7899d3b0 + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + PlatformAgentExecutionStatus, + PlatformAgentExecutionStatus$inboundSchema, +} from "./platformagentexecutionstatus.js"; +import { + PlatformMessage, + PlatformMessage$inboundSchema, +} from "./platformmessage.js"; + +export type PlatformAgentRun = { + /** + * ID of the agent being run. + */ + agent_id: string; + /** + * Input fields for an input-form triggered agent. + */ + input?: { [k: string]: any } | undefined; + /** + * Messages passed to the agent. + */ + messages?: Array | undefined; + /** + * Metadata passed to the agent. + */ + metadata?: { [k: string]: any } | undefined; + /** + * Status of the agent run. + */ + status: PlatformAgentExecutionStatus; +}; + +/** @internal */ +export const PlatformAgentRun$inboundSchema: z.ZodType< + PlatformAgentRun, + z.ZodTypeDef, + unknown +> = z.object({ + agent_id: z.string(), + input: z.record(z.any()).optional(), + messages: z.array(PlatformMessage$inboundSchema).optional(), + metadata: z.record(z.any()).optional(), + status: PlatformAgentExecutionStatus$inboundSchema, +}); + +export function platformAgentRunFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PlatformAgentRun$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PlatformAgentRun' from JSON`, + ); +} diff --git a/src/models/components/platformagentruncreaterequest.ts b/src/models/components/platformagentruncreaterequest.ts new file mode 100644 index 00000000..156a9d05 --- /dev/null +++ b/src/models/components/platformagentruncreaterequest.ts @@ -0,0 +1,67 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 0aaec5605e0b + */ + +import * as z from "zod/v3"; +import { + PlatformMessage, + PlatformMessage$Outbound, + PlatformMessage$outboundSchema, +} from "./platformmessage.js"; + +/** + * Request to run an agent. A request MUST supply either `messages` (a non-empty conversation) or `input` (for input-form triggered agents). + * + * @remarks + */ +export type PlatformAgentRunCreateRequest = { + /** + * Input fields for an input-form triggered agent. + */ + input?: { [k: string]: any } | undefined; + /** + * Messages to pass to the agent. When provided, the array MUST contain at least one message and each message MUST specify a valid `role` and non-empty `content`. + * + * @remarks + */ + messages?: Array | undefined; + /** + * Metadata to pass to the agent. + */ + metadata?: { [k: string]: any } | undefined; + /** + * Whether to stream the run response as server-sent events. + */ + stream?: boolean | undefined; +}; + +/** @internal */ +export type PlatformAgentRunCreateRequest$Outbound = { + input?: { [k: string]: any } | undefined; + messages?: Array | undefined; + metadata?: { [k: string]: any } | undefined; + stream: boolean; +}; + +/** @internal */ +export const PlatformAgentRunCreateRequest$outboundSchema: z.ZodType< + PlatformAgentRunCreateRequest$Outbound, + z.ZodTypeDef, + PlatformAgentRunCreateRequest +> = z.object({ + input: z.record(z.any()).optional(), + messages: z.array(PlatformMessage$outboundSchema).optional(), + metadata: z.record(z.any()).optional(), + stream: z.boolean().default(false), +}); + +export function platformAgentRunCreateRequestToJSON( + platformAgentRunCreateRequest: PlatformAgentRunCreateRequest, +): string { + return JSON.stringify( + PlatformAgentRunCreateRequest$outboundSchema.parse( + platformAgentRunCreateRequest, + ), + ); +} diff --git a/src/models/components/platformagentrunwaitresponse.ts b/src/models/components/platformagentrunwaitresponse.ts new file mode 100644 index 00000000..deb2a35a --- /dev/null +++ b/src/models/components/platformagentrunwaitresponse.ts @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 123f244b0399 + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + PlatformAgentRun, + PlatformAgentRun$inboundSchema, +} from "./platformagentrun.js"; +import { + PlatformMessage, + PlatformMessage$inboundSchema, +} from "./platformmessage.js"; + +export type PlatformAgentRunWaitResponse = { + run?: PlatformAgentRun | undefined; + /** + * Messages returned by the completed run. + */ + messages?: Array | undefined; + /** + * Platform-generated request ID for support correlation. + */ + request_id: string; +}; + +/** @internal */ +export const PlatformAgentRunWaitResponse$inboundSchema: z.ZodType< + PlatformAgentRunWaitResponse, + z.ZodTypeDef, + unknown +> = z.object({ + run: PlatformAgentRun$inboundSchema.optional(), + messages: z.array(PlatformMessage$inboundSchema).optional(), + request_id: z.string(), +}); + +export function platformAgentRunWaitResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PlatformAgentRunWaitResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PlatformAgentRunWaitResponse' from JSON`, + ); +} diff --git a/src/models/components/platformagentschemasresponse.ts b/src/models/components/platformagentschemasresponse.ts new file mode 100644 index 00000000..c91ea55b --- /dev/null +++ b/src/models/components/platformagentschemasresponse.ts @@ -0,0 +1,64 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 68103f28d594 + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + PlatformActionSummary, + PlatformActionSummary$inboundSchema, +} from "./platformactionsummary.js"; + +export type PlatformAgentSchemasResponse = { + /** + * ID of the agent. + */ + agent_id: string; + /** + * Name of the agent. + */ + name?: string | undefined; + /** + * Agent input schema in JSON Schema format. + */ + input_schema: { [k: string]: any }; + /** + * Agent output schema in JSON Schema format. + */ + output_schema: { [k: string]: any }; + /** + * Tools that the agent can invoke, when requested. + */ + tools?: Array | undefined; + /** + * Platform-generated request ID for support correlation. + */ + request_id: string; +}; + +/** @internal */ +export const PlatformAgentSchemasResponse$inboundSchema: z.ZodType< + PlatformAgentSchemasResponse, + z.ZodTypeDef, + unknown +> = z.object({ + agent_id: z.string(), + name: z.string().optional(), + input_schema: z.record(z.any()), + output_schema: z.record(z.any()), + tools: z.array(PlatformActionSummary$inboundSchema).optional(), + request_id: z.string(), +}); + +export function platformAgentSchemasResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PlatformAgentSchemasResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PlatformAgentSchemasResponse' from JSON`, + ); +} diff --git a/src/models/components/platformagentssearchrequest.ts b/src/models/components/platformagentssearchrequest.ts new file mode 100644 index 00000000..0b62de15 --- /dev/null +++ b/src/models/components/platformagentssearchrequest.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: b1d63f2468c7 + */ + +import * as z from "zod/v3"; + +export type PlatformAgentsSearchRequest = { + /** + * Case-insensitive substring to match against agent names. If omitted or empty, no name filter is applied. + */ + name?: string | undefined; +}; + +/** @internal */ +export type PlatformAgentsSearchRequest$Outbound = { + name?: string | undefined; +}; + +/** @internal */ +export const PlatformAgentsSearchRequest$outboundSchema: z.ZodType< + PlatformAgentsSearchRequest$Outbound, + z.ZodTypeDef, + PlatformAgentsSearchRequest +> = z.object({ + name: z.string().optional(), +}); + +export function platformAgentsSearchRequestToJSON( + platformAgentsSearchRequest: PlatformAgentsSearchRequest, +): string { + return JSON.stringify( + PlatformAgentsSearchRequest$outboundSchema.parse( + platformAgentsSearchRequest, + ), + ); +} diff --git a/src/models/components/platformagentssearchresponse.ts b/src/models/components/platformagentssearchresponse.ts new file mode 100644 index 00000000..9b5e6b39 --- /dev/null +++ b/src/models/components/platformagentssearchresponse.ts @@ -0,0 +1,41 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: ce95b592315d + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { PlatformAgent, PlatformAgent$inboundSchema } from "./platformagent.js"; + +export type PlatformAgentsSearchResponse = { + /** + * Agents matching the search request. + */ + agents: Array; + /** + * Platform-generated request ID for support correlation. + */ + request_id: string; +}; + +/** @internal */ +export const PlatformAgentsSearchResponse$inboundSchema: z.ZodType< + PlatformAgentsSearchResponse, + z.ZodTypeDef, + unknown +> = z.object({ + agents: z.array(PlatformAgent$inboundSchema), + request_id: z.string(), +}); + +export function platformAgentsSearchResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PlatformAgentsSearchResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PlatformAgentsSearchResponse' from JSON`, + ); +} diff --git a/src/models/components/platformcontenttype.ts b/src/models/components/platformcontenttype.ts new file mode 100644 index 00000000..99ea1d2d --- /dev/null +++ b/src/models/components/platformcontenttype.ts @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 982868bad9f7 + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +export const PlatformContentType = { + Text: "text", +} as const; +export type PlatformContentType = ClosedEnum; + +/** @internal */ +export const PlatformContentType$inboundSchema: z.ZodNativeEnum< + typeof PlatformContentType +> = z.nativeEnum(PlatformContentType); +/** @internal */ +export const PlatformContentType$outboundSchema: z.ZodNativeEnum< + typeof PlatformContentType +> = PlatformContentType$inboundSchema; diff --git a/src/models/components/platformfilter.ts b/src/models/components/platformfilter.ts new file mode 100644 index 00000000..55f896e8 --- /dev/null +++ b/src/models/components/platformfilter.ts @@ -0,0 +1,56 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 606c0824e0d8 + */ + +import * as z from "zod/v3"; +import { + PlatformFilterOperator, + PlatformFilterOperator$outboundSchema, +} from "./platformfilteroperator.js"; + +/** + * A single filter criterion. For `EQUALS`, multiple values within a filter are OR'd. For `NOT_EQUALS`, multiple values exclude all listed values. Filters are AND'd with each other and with any inline query operators. + * + * @remarks + */ +export type PlatformFilter = { + /** + * The field to filter on. Accepts built-in filter field names such as `type`, `owner`, `from`, `author`, `channel`, `status`, `assignee`, `reporter`, `component`, `mentions`, and `collection`, plus custom datasource property names. + * + * @remarks + */ + field: string; + /** + * One or more values to match. + */ + values: Array; + /** + * Comparison operator to apply to this filter. Defaults to `EQUALS`. `GT`, `GTE`, `LT`, and `LTE` range operators require exactly one value; express bounded ranges with multiple filters on the same field. + * + * @remarks + */ + operator?: PlatformFilterOperator | undefined; +}; + +/** @internal */ +export type PlatformFilter$Outbound = { + field: string; + values: Array; + operator?: string | undefined; +}; + +/** @internal */ +export const PlatformFilter$outboundSchema: z.ZodType< + PlatformFilter$Outbound, + z.ZodTypeDef, + PlatformFilter +> = z.object({ + field: z.string(), + values: z.array(z.string()), + operator: PlatformFilterOperator$outboundSchema.optional(), +}); + +export function platformFilterToJSON(platformFilter: PlatformFilter): string { + return JSON.stringify(PlatformFilter$outboundSchema.parse(platformFilter)); +} diff --git a/src/models/components/platformfilteroperator.ts b/src/models/components/platformfilteroperator.ts new file mode 100644 index 00000000..747dc820 --- /dev/null +++ b/src/models/components/platformfilteroperator.ts @@ -0,0 +1,28 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 4b1aaa52245c + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; + +/** + * Supported filter operator. + */ +export const PlatformFilterOperator = { + Equals: "EQUALS", + NotEquals: "NOT_EQUALS", + Gt: "GT", + Gte: "GTE", + Lt: "LT", + Lte: "LTE", +} as const; +/** + * Supported filter operator. + */ +export type PlatformFilterOperator = ClosedEnum; + +/** @internal */ +export const PlatformFilterOperator$outboundSchema: z.ZodNativeEnum< + typeof PlatformFilterOperator +> = z.nativeEnum(PlatformFilterOperator); diff --git a/src/models/components/platformmessage.ts b/src/models/components/platformmessage.ts new file mode 100644 index 00000000..3b8f5a72 --- /dev/null +++ b/src/models/components/platformmessage.ts @@ -0,0 +1,71 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 8869a2cf3a64 + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + PlatformMessageRole, + PlatformMessageRole$inboundSchema, + PlatformMessageRole$outboundSchema, +} from "./platformmessagerole.js"; +import { + PlatformMessageTextBlock, + PlatformMessageTextBlock$inboundSchema, + PlatformMessageTextBlock$Outbound, + PlatformMessageTextBlock$outboundSchema, +} from "./platformmessagetextblock.js"; + +export type PlatformMessage = { + /** + * Role of the message author. + */ + role: PlatformMessageRole; + /** + * Content blocks in the message. + */ + content: Array; +}; + +/** @internal */ +export const PlatformMessage$inboundSchema: z.ZodType< + PlatformMessage, + z.ZodTypeDef, + unknown +> = z.object({ + role: PlatformMessageRole$inboundSchema, + content: z.array(PlatformMessageTextBlock$inboundSchema), +}); +/** @internal */ +export type PlatformMessage$Outbound = { + role: string; + content: Array; +}; + +/** @internal */ +export const PlatformMessage$outboundSchema: z.ZodType< + PlatformMessage$Outbound, + z.ZodTypeDef, + PlatformMessage +> = z.object({ + role: PlatformMessageRole$outboundSchema, + content: z.array(PlatformMessageTextBlock$outboundSchema), +}); + +export function platformMessageToJSON( + platformMessage: PlatformMessage, +): string { + return JSON.stringify(PlatformMessage$outboundSchema.parse(platformMessage)); +} +export function platformMessageFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PlatformMessage$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PlatformMessage' from JSON`, + ); +} diff --git a/src/models/components/platformmessagerole.ts b/src/models/components/platformmessagerole.ts new file mode 100644 index 00000000..8b838bdb --- /dev/null +++ b/src/models/components/platformmessagerole.ts @@ -0,0 +1,33 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 0ab40c0f07e5 + */ + +import * as z from "zod/v3"; +import * as openEnums from "../../types/enums.js"; +import { OpenEnum } from "../../types/enums.js"; + +/** + * Role of the message author. + */ +export const PlatformMessageRole = { + User: "USER", + GleanAi: "GLEAN_AI", +} as const; +/** + * Role of the message author. + */ +export type PlatformMessageRole = OpenEnum; + +/** @internal */ +export const PlatformMessageRole$inboundSchema: z.ZodType< + PlatformMessageRole, + z.ZodTypeDef, + unknown +> = openEnums.inboundSchema(PlatformMessageRole); +/** @internal */ +export const PlatformMessageRole$outboundSchema: z.ZodType< + string, + z.ZodTypeDef, + PlatformMessageRole +> = openEnums.outboundSchema(PlatformMessageRole); diff --git a/src/models/components/platformmessagetextblock.ts b/src/models/components/platformmessagetextblock.ts new file mode 100644 index 00000000..dc93ba90 --- /dev/null +++ b/src/models/components/platformmessagetextblock.ts @@ -0,0 +1,64 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 04c29072e98c + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + PlatformContentType, + PlatformContentType$inboundSchema, + PlatformContentType$outboundSchema, +} from "./platformcontenttype.js"; + +export type PlatformMessageTextBlock = { + /** + * Text content. + */ + text: string; + type: PlatformContentType; +}; + +/** @internal */ +export const PlatformMessageTextBlock$inboundSchema: z.ZodType< + PlatformMessageTextBlock, + z.ZodTypeDef, + unknown +> = z.object({ + text: z.string(), + type: PlatformContentType$inboundSchema, +}); +/** @internal */ +export type PlatformMessageTextBlock$Outbound = { + text: string; + type: string; +}; + +/** @internal */ +export const PlatformMessageTextBlock$outboundSchema: z.ZodType< + PlatformMessageTextBlock$Outbound, + z.ZodTypeDef, + PlatformMessageTextBlock +> = z.object({ + text: z.string(), + type: PlatformContentType$outboundSchema, +}); + +export function platformMessageTextBlockToJSON( + platformMessageTextBlock: PlatformMessageTextBlock, +): string { + return JSON.stringify( + PlatformMessageTextBlock$outboundSchema.parse(platformMessageTextBlock), + ); +} +export function platformMessageTextBlockFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PlatformMessageTextBlock$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PlatformMessageTextBlock' from JSON`, + ); +} diff --git a/src/models/components/platformpersonreference.ts b/src/models/components/platformpersonreference.ts new file mode 100644 index 00000000..a9d5b313 --- /dev/null +++ b/src/models/components/platformpersonreference.ts @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: bea88114dd5e + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * A lightweight reference to a person, used where a payload merely points at someone. + */ +export type PlatformPersonReference = { + /** + * Opaque Glean person ID. + */ + id?: string | undefined; + /** + * Display name. + */ + name: string; +}; + +/** @internal */ +export const PlatformPersonReference$inboundSchema: z.ZodType< + PlatformPersonReference, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string().optional(), + name: z.string(), +}); + +export function platformPersonReferenceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PlatformPersonReference$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PlatformPersonReference' from JSON`, + ); +} diff --git a/src/models/components/platformproblemdetailcode.ts b/src/models/components/platformproblemdetailcode.ts new file mode 100644 index 00000000..f0be8200 --- /dev/null +++ b/src/models/components/platformproblemdetailcode.ts @@ -0,0 +1,46 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 46cd388abcf0 + */ + +import * as z from "zod/v3"; +import * as openEnums from "../../types/enums.js"; +import { OpenEnum } from "../../types/enums.js"; + +/** + * Stable machine-readable error code. + */ +export const PlatformProblemDetailCode = { + InvalidRequest: "invalid_request", + MissingRequiredField: "missing_required_field", + InvalidParameter: "invalid_parameter", + InvalidCursor: "invalid_cursor", + ExpiredCursor: "expired_cursor", + InvalidFilter: "invalid_filter", + InvalidDatasource: "invalid_datasource", + AuthenticationRequired: "authentication_required", + TokenExpired: "token_expired", + InsufficientPermissions: "insufficient_permissions", + ResourceNotFound: "resource_not_found", + MethodNotAllowed: "method_not_allowed", + RequestTimeout: "request_timeout", + Conflict: "conflict", + Gone: "gone", + UnprocessableQuery: "unprocessable_query", + RateLimitExceeded: "rate_limit_exceeded", + InternalError: "internal_error", + ServiceUnavailable: "service_unavailable", +} as const; +/** + * Stable machine-readable error code. + */ +export type PlatformProblemDetailCode = OpenEnum< + typeof PlatformProblemDetailCode +>; + +/** @internal */ +export const PlatformProblemDetailCode$inboundSchema: z.ZodType< + PlatformProblemDetailCode, + z.ZodTypeDef, + unknown +> = openEnums.inboundSchema(PlatformProblemDetailCode); diff --git a/src/models/components/platformproblemdetailerror.ts b/src/models/components/platformproblemdetailerror.ts new file mode 100644 index 00000000..7ec20f40 --- /dev/null +++ b/src/models/components/platformproblemdetailerror.ts @@ -0,0 +1,52 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: b6c429f3b976 + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + PlatformProblemDetailCode, + PlatformProblemDetailCode$inboundSchema, +} from "./platformproblemdetailcode.js"; + +/** + * Field-level validation problem for a single offending field. + */ +export type PlatformProblemDetailError = { + /** + * RFC 6901 JSON Pointer to the offending field. + */ + pointer: string; + /** + * Human-readable explanation for this field. + */ + detail: string; + /** + * Stable machine-readable error code. + */ + code?: PlatformProblemDetailCode | undefined; +}; + +/** @internal */ +export const PlatformProblemDetailError$inboundSchema: z.ZodType< + PlatformProblemDetailError, + z.ZodTypeDef, + unknown +> = z.object({ + pointer: z.string(), + detail: z.string(), + code: PlatformProblemDetailCode$inboundSchema.optional(), +}); + +export function platformProblemDetailErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PlatformProblemDetailError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PlatformProblemDetailError' from JSON`, + ); +} diff --git a/src/models/components/platformresult.ts b/src/models/components/platformresult.ts new file mode 100644 index 00000000..35599c82 --- /dev/null +++ b/src/models/components/platformresult.ts @@ -0,0 +1,88 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: ace03f2ab3c3 + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + PlatformPersonReference, + PlatformPersonReference$inboundSchema, +} from "./platformpersonreference.js"; + +export type PlatformResult = { + /** + * Canonical URL of the result. + */ + url: string; + /** + * Result title. + */ + title: string; + /** + * Query-relevant plain-text excerpts from the result body. + */ + snippets?: Array | undefined; + /** + * The datasource this result originates from. + */ + datasource: string; + /** + * The datasource instance this result originates from, if known. + */ + datasource_instance?: string | null | undefined; + /** + * The document type within the datasource. + */ + document_type?: string | null | undefined; + /** + * A lightweight reference to a person, used where a payload merely points at someone. + */ + creator?: PlatformPersonReference | undefined; + /** + * A lightweight reference to a person, used where a payload merely points at someone. + */ + owner?: PlatformPersonReference | undefined; + /** + * When the result was last modified. + */ + updated_at?: Date | null | undefined; + /** + * When the result was created. + */ + created_at?: Date | null | undefined; +}; + +/** @internal */ +export const PlatformResult$inboundSchema: z.ZodType< + PlatformResult, + z.ZodTypeDef, + unknown +> = z.object({ + url: z.string(), + title: z.string(), + snippets: z.array(z.string()).optional(), + datasource: z.string(), + datasource_instance: z.nullable(z.string()).optional(), + document_type: z.nullable(z.string()).optional(), + creator: PlatformPersonReference$inboundSchema.optional(), + owner: PlatformPersonReference$inboundSchema.optional(), + updated_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), + created_at: z.nullable( + z.string().datetime({ offset: true }).transform(v => new Date(v)), + ).optional(), +}); + +export function platformResultFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PlatformResult$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PlatformResult' from JSON`, + ); +} diff --git a/src/models/components/platformsearchrequest.ts b/src/models/components/platformsearchrequest.ts new file mode 100644 index 00000000..8fe02b7e --- /dev/null +++ b/src/models/components/platformsearchrequest.ts @@ -0,0 +1,91 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 649980857a72 + */ + +import * as z from "zod/v3"; +import { + PlatformFilter, + PlatformFilter$Outbound, + PlatformFilter$outboundSchema, +} from "./platformfilter.js"; +import { + PlatformTimeRange, + PlatformTimeRange$Outbound, + PlatformTimeRange$outboundSchema, +} from "./platformtimerange.js"; + +export type PlatformSearchRequest = { + /** + * The search query string. Supports inline operators such as `from:jane type:document app:confluence`. Inline operators are AND'd with structured `filters`. + * + * @remarks + */ + query: string; + /** + * Number of results to return per page. + */ + page_size?: number | undefined; + /** + * Opaque pagination token from a previous response's `next_cursor` field. Omit on the first request. + * + * @remarks + */ + cursor?: string | null | undefined; + /** + * Restrict results to specific datasources. Requests must not specify both `datasources` and `datasource_instances`. + * + * @remarks + */ + datasources?: Array | undefined; + /** + * Restrict results to specific datasource instances. Values are datasource instance identifiers returned by `GET /api/search/filters`. Requests must not specify both `datasources` and `datasource_instances`. + * + * @remarks + */ + datasource_instances?: Array | undefined; + /** + * Structured filters applied to search results. Equality operators OR multiple values within a filter. Multiple filters are AND'd together, including range filters on the same field. Filters are AND'd with any inline operators in `query`. Note that conflicting constraints on the same field (e.g., `type:document` in the query and `type: spreadsheet` in a filter) produce an empty result set. + * + * @remarks + */ + filters?: Array | undefined; + /** + * Filter results to those last updated within this range. + */ + time_range?: PlatformTimeRange | undefined; +}; + +/** @internal */ +export type PlatformSearchRequest$Outbound = { + query: string; + page_size: number; + cursor?: string | null | undefined; + datasources?: Array | undefined; + datasource_instances?: Array | undefined; + filters?: Array | undefined; + time_range?: PlatformTimeRange$Outbound | undefined; +}; + +/** @internal */ +export const PlatformSearchRequest$outboundSchema: z.ZodType< + PlatformSearchRequest$Outbound, + z.ZodTypeDef, + PlatformSearchRequest +> = z.object({ + query: z.string(), + page_size: z.number().int().default(10), + cursor: z.nullable(z.string()).optional(), + datasources: z.array(z.string()).optional(), + datasource_instances: z.array(z.string()).optional(), + filters: z.array(PlatformFilter$outboundSchema).optional(), + time_range: PlatformTimeRange$outboundSchema.optional(), +}); + +export function platformSearchRequestToJSON( + platformSearchRequest: PlatformSearchRequest, +): string { + return JSON.stringify( + PlatformSearchRequest$outboundSchema.parse(platformSearchRequest), + ); +} diff --git a/src/models/components/platformsearchresponse.ts b/src/models/components/platformsearchresponse.ts new file mode 100644 index 00000000..e26c0612 --- /dev/null +++ b/src/models/components/platformsearchresponse.ts @@ -0,0 +1,54 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: a12b46a101c0 + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + PlatformResult, + PlatformResult$inboundSchema, +} from "./platformresult.js"; + +export type PlatformSearchResponse = { + /** + * Ordered list of search results. + */ + results: Array; + /** + * Indicates whether additional pages of results are available. + */ + has_more: boolean; + /** + * Opaque token to pass as `cursor` in the next request. + */ + next_cursor: string | null; + /** + * Platform-generated request ID for support correlation. + */ + request_id: string; +}; + +/** @internal */ +export const PlatformSearchResponse$inboundSchema: z.ZodType< + PlatformSearchResponse, + z.ZodTypeDef, + unknown +> = z.object({ + results: z.array(PlatformResult$inboundSchema), + has_more: z.boolean(), + next_cursor: z.nullable(z.string()), + request_id: z.string(), +}); + +export function platformSearchResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PlatformSearchResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PlatformSearchResponse' from JSON`, + ); +} diff --git a/src/models/components/platformtimerange.ts b/src/models/components/platformtimerange.ts new file mode 100644 index 00000000..d0a44b8c --- /dev/null +++ b/src/models/components/platformtimerange.ts @@ -0,0 +1,44 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: fb9ab6343c3a + */ + +import * as z from "zod/v3"; + +/** + * Filter results to those last updated within this range. + */ +export type PlatformTimeRange = { + /** + * Inclusive lower bound in ISO 8601 format. + */ + start?: Date | undefined; + /** + * Exclusive upper bound in ISO 8601 format. + */ + end?: Date | undefined; +}; + +/** @internal */ +export type PlatformTimeRange$Outbound = { + start?: string | undefined; + end?: string | undefined; +}; + +/** @internal */ +export const PlatformTimeRange$outboundSchema: z.ZodType< + PlatformTimeRange$Outbound, + z.ZodTypeDef, + PlatformTimeRange +> = z.object({ + start: z.date().transform(v => v.toISOString()).optional(), + end: z.date().transform(v => v.toISOString()).optional(), +}); + +export function platformTimeRangeToJSON( + platformTimeRange: PlatformTimeRange, +): string { + return JSON.stringify( + PlatformTimeRange$outboundSchema.parse(platformTimeRange), + ); +} diff --git a/src/models/components/resultsresponse.ts b/src/models/components/resultsresponse.ts index b5f70dea..1f6c0dea 100644 --- a/src/models/components/resultsresponse.ts +++ b/src/models/components/resultsresponse.ts @@ -29,7 +29,7 @@ export type ResultsResponse = { results?: Array | undefined; structuredResults?: Array | undefined; generatedQnaResult?: GeneratedQna | undefined; - gleanDataError?: GleanDataError | undefined; + GleanDataError?: GleanDataError | undefined; /** * A platform-generated request ID to correlate backend logs. */ @@ -56,7 +56,7 @@ export const ResultsResponse$inboundSchema: z.ZodType< backendTimeMillis: z.number().int().optional(), }).transform((v) => { return remap$(v, { - "errorInfo": "gleanDataError", + "errorInfo": "GleanDataError", }); }); diff --git a/src/models/components/searchresponse.ts b/src/models/components/searchresponse.ts index 4e68708d..7bb46356 100644 --- a/src/models/components/searchresponse.ts +++ b/src/models/components/searchresponse.ts @@ -40,7 +40,7 @@ export type SearchResponse = { results?: Array | undefined; structuredResults?: Array | undefined; generatedQnaResult?: GeneratedQna | undefined; - gleanDataError?: GleanDataError | undefined; + GleanDataError?: GleanDataError | undefined; /** * A platform-generated request ID to correlate backend logs. */ @@ -103,7 +103,7 @@ export const SearchResponse$inboundSchema: z.ZodType< hasMoreResults: z.boolean().optional(), }).transform((v) => { return remap$(v, { - "errorInfo": "gleanDataError", + "errorInfo": "GleanDataError", }); }); diff --git a/src/models/components/teammember.ts b/src/models/components/teammember.ts index 7d7179b2..5f37b086 100644 --- a/src/models/components/teammember.ts +++ b/src/models/components/teammember.ts @@ -4,7 +4,6 @@ */ import * as z from "zod/v3"; -import { remap as remap$ } from "../../lib/primitives.js"; import { RFCDate } from "../../types/rfcdate.js"; /** @@ -22,7 +21,7 @@ export type TeamMember = { /** * The member's start date */ - joinDate?: RFCDate | undefined; + join_date?: RFCDate | undefined; }; /** @internal */ @@ -40,11 +39,7 @@ export const TeamMember$outboundSchema: z.ZodType< > = z.object({ email: z.string(), relationship: z.string().default("MEMBER"), - joinDate: z.instanceof(RFCDate).transform(v => v.toString()).optional(), -}).transform((v) => { - return remap$(v, { - joinDate: "join_date", - }); + join_date: z.instanceof(RFCDate).transform(v => v.toString()).optional(), }); export function teamMemberToJSON(teamMember: TeamMember): string { diff --git a/src/models/errors/index.ts b/src/models/errors/index.ts index aace9693..65ae899b 100644 --- a/src/models/errors/index.ts +++ b/src/models/errors/index.ts @@ -10,5 +10,6 @@ export * from "./gleanbaseerror.js"; export * from "./gleandataerror.js"; export * from "./gleanerror.js"; export * from "./httpclienterrors.js"; +export * from "./platformproblemdetailerror.js"; export * from "./responsevalidationerror.js"; export * from "./sdkvalidationerror.js"; diff --git a/src/models/errors/platformproblemdetailerror.ts b/src/models/errors/platformproblemdetailerror.ts new file mode 100644 index 00000000..e535151c --- /dev/null +++ b/src/models/errors/platformproblemdetailerror.ts @@ -0,0 +1,141 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 2e0c46764da2 + */ + +import * as z from "zod/v3"; +import * as components from "../components/index.js"; +import { GleanBaseError } from "./gleanbaseerror.js"; + +/** + * Error response following RFC 9457, extended with `code` and `documentation_url` for machine-readable classification and self-service remediation. + * + * @remarks + */ +export type PlatformProblemDetailErrorData = { + /** + * URI identifying the error type. + */ + type: string; + /** + * Short, human-readable summary of the error. + */ + title: string; + /** + * HTTP status code mirrored from the response. + */ + status: number; + /** + * Human-readable explanation specific to this occurrence. + */ + detail: string; + /** + * Stable machine-readable error code. + */ + code: components.PlatformProblemDetailCode; + /** + * Direct URL to documentation for this error code. + */ + documentation_url?: string | undefined; + /** + * Platform-generated request ID for support correlation. + */ + request_id: string; + /** + * Field-level validation problems, one entry per offending field. + */ + errors?: Array | undefined; +}; + +/** + * Error response following RFC 9457, extended with `code` and `documentation_url` for machine-readable classification and self-service remediation. + * + * @remarks + */ +export class PlatformProblemDetailError extends GleanBaseError { + /** + * URI identifying the error type. + */ + type: string; + /** + * Short, human-readable summary of the error. + */ + title: string; + /** + * HTTP status code mirrored from the response. + */ + status: number; + /** + * Human-readable explanation specific to this occurrence. + */ + detail: string; + /** + * Stable machine-readable error code. + */ + code: components.PlatformProblemDetailCode; + /** + * Direct URL to documentation for this error code. + */ + documentation_url?: string | undefined; + /** + * Platform-generated request ID for support correlation. + */ + request_id: string; + /** + * Field-level validation problems, one entry per offending field. + */ + errors?: Array | undefined; + + /** The original data that was passed to this error instance. */ + data$: PlatformProblemDetailErrorData; + + constructor( + err: PlatformProblemDetailErrorData, + httpMeta: { response: Response; request: Request; body: string }, + ) { + const message = "message" in err && typeof err.message === "string" + ? err.message + : `API error occurred: ${JSON.stringify(err)}`; + super(message, httpMeta); + this.data$ = err; + this.type = err.type; + this.title = err.title; + this.status = err.status; + this.detail = err.detail; + this.code = err.code; + if (err.documentation_url != null) { + this.documentation_url = err.documentation_url; + } + this.request_id = err.request_id; + if (err.errors != null) this.errors = err.errors; + + this.name = "PlatformProblemDetailError"; + } +} + +/** @internal */ +export const PlatformProblemDetailError$inboundSchema: z.ZodType< + PlatformProblemDetailError, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string(), + title: z.string(), + status: z.number().int(), + detail: z.string(), + code: components.PlatformProblemDetailCode$inboundSchema, + documentation_url: z.string().optional(), + request_id: z.string(), + errors: z.array(components.PlatformProblemDetailError$inboundSchema) + .optional(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), +}) + .transform((v) => { + return new PlatformProblemDetailError(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }); diff --git a/src/models/operations/editagent.ts b/src/models/operations/editagent.ts index 2f9df3e2..3a411124 100644 --- a/src/models/operations/editagent.ts +++ b/src/models/operations/editagent.ts @@ -19,7 +19,7 @@ export type EditAgentRequest = { /** * The ID of the agent. */ - agentId: string; + agent_id: string; editWorkflowRequest: components.EditWorkflowRequest; }; @@ -39,11 +39,10 @@ export const EditAgentRequest$outboundSchema: z.ZodType< > = z.object({ locale: z.string().optional(), timezoneOffset: z.number().int().optional(), - agentId: z.string(), + agent_id: z.string(), editWorkflowRequest: components.EditWorkflowRequest$outboundSchema, }).transform((v) => { return remap$(v, { - agentId: "agent_id", editWorkflowRequest: "EditWorkflowRequest", }); }); diff --git a/src/models/operations/getagent.ts b/src/models/operations/getagent.ts index e4dc046c..22595c29 100644 --- a/src/models/operations/getagent.ts +++ b/src/models/operations/getagent.ts @@ -4,7 +4,6 @@ */ import * as z from "zod/v3"; -import { remap as remap$ } from "../../lib/primitives.js"; export type GetAgentRequest = { /** @@ -18,7 +17,7 @@ export type GetAgentRequest = { /** * The ID of the agent. */ - agentId: string; + agent_id: string; }; /** @internal */ @@ -36,11 +35,7 @@ export const GetAgentRequest$outboundSchema: z.ZodType< > = z.object({ locale: z.string().optional(), timezoneOffset: z.number().int().optional(), - agentId: z.string(), -}).transform((v) => { - return remap$(v, { - agentId: "agent_id", - }); + agent_id: z.string(), }); export function getAgentRequestToJSON( diff --git a/src/models/operations/getagentschemas.ts b/src/models/operations/getagentschemas.ts index 1f2798fa..f1cce365 100644 --- a/src/models/operations/getagentschemas.ts +++ b/src/models/operations/getagentschemas.ts @@ -4,7 +4,6 @@ */ import * as z from "zod/v3"; -import { remap as remap$ } from "../../lib/primitives.js"; export type GetAgentSchemasRequest = { /** @@ -18,7 +17,7 @@ export type GetAgentSchemasRequest = { /** * The ID of the agent. */ - agentId: string; + agent_id: string; }; /** @internal */ @@ -36,11 +35,7 @@ export const GetAgentSchemasRequest$outboundSchema: z.ZodType< > = z.object({ locale: z.string().optional(), timezoneOffset: z.number().int().optional(), - agentId: z.string(), -}).transform((v) => { - return remap$(v, { - agentId: "agent_id", - }); + agent_id: z.string(), }); export function getAgentSchemasRequestToJSON( diff --git a/src/models/operations/getpersonphoto.ts b/src/models/operations/getpersonphoto.ts index 287f8ac2..9ae6e667 100644 --- a/src/models/operations/getpersonphoto.ts +++ b/src/models/operations/getpersonphoto.ts @@ -13,7 +13,7 @@ export type GetPersonPhotoRequest = { /** * The obfuscated ID of the person whose photo to retrieve. */ - personId: string; + person_id: string; /** * Optional datasource override for crawled photos (e.g. AZURE, GDRIVE, OKTA). When omitted, the datasource is derived from the person's stored photo URL or the deployment's primary person datasource. * @@ -27,7 +27,7 @@ export type GetPersonPhotoResponseResult = | ReadableStream; export type GetPersonPhotoResponse = { - headers: { [k: string]: Array }; + Headers: { [k: string]: Array }; result: ReadableStream | ReadableStream; }; @@ -43,12 +43,8 @@ export const GetPersonPhotoRequest$outboundSchema: z.ZodType< z.ZodTypeDef, GetPersonPhotoRequest > = z.object({ - personId: z.string(), + person_id: z.string(), ds: z.string().optional(), -}).transform((v) => { - return remap$(v, { - personId: "person_id", - }); }); export function getPersonPhotoRequestToJSON( @@ -92,7 +88,6 @@ export const GetPersonPhotoResponse$inboundSchema: z.ZodType< ]), }).transform((v) => { return remap$(v, { - "Headers": "headers", "Result": "result", }); }); diff --git a/src/models/operations/index.ts b/src/models/operations/index.ts index ce2c6548..5640a11a 100644 --- a/src/models/operations/index.ts +++ b/src/models/operations/index.ts @@ -70,6 +70,9 @@ export * from "./listverifications.js"; export * from "./messages.js"; export * from "./people.js"; export * from "./pin.js"; +export * from "./platformagentscreaterun.js"; +export * from "./platformagentsget.js"; +export * from "./platformagentsgetschemas.js"; export * from "./postapiindexv1debugdatasourcedocument.js"; export * from "./postapiindexv1debugdatasourcedocumentevents.js"; export * from "./postapiindexv1debugdatasourcedocuments.js"; diff --git a/src/models/operations/platformagentscreaterun.ts b/src/models/operations/platformagentscreaterun.ts new file mode 100644 index 00000000..70e7208b --- /dev/null +++ b/src/models/operations/platformagentscreaterun.ts @@ -0,0 +1,75 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 51a44ec04f7d + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import * as components from "../components/index.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type PlatformAgentsCreateRunRequest = { + /** + * ID of the agent to run. + */ + agent_id: string; + platformAgentRunCreateRequest: components.PlatformAgentRunCreateRequest; +}; + +export type PlatformAgentsCreateRunResponse = + | components.PlatformAgentRunWaitResponse + | string; + +/** @internal */ +export type PlatformAgentsCreateRunRequest$Outbound = { + agent_id: string; + PlatformAgentRunCreateRequest: + components.PlatformAgentRunCreateRequest$Outbound; +}; + +/** @internal */ +export const PlatformAgentsCreateRunRequest$outboundSchema: z.ZodType< + PlatformAgentsCreateRunRequest$Outbound, + z.ZodTypeDef, + PlatformAgentsCreateRunRequest +> = z.object({ + agent_id: z.string(), + platformAgentRunCreateRequest: + components.PlatformAgentRunCreateRequest$outboundSchema, +}).transform((v) => { + return remap$(v, { + platformAgentRunCreateRequest: "PlatformAgentRunCreateRequest", + }); +}); + +export function platformAgentsCreateRunRequestToJSON( + platformAgentsCreateRunRequest: PlatformAgentsCreateRunRequest, +): string { + return JSON.stringify( + PlatformAgentsCreateRunRequest$outboundSchema.parse( + platformAgentsCreateRunRequest, + ), + ); +} + +/** @internal */ +export const PlatformAgentsCreateRunResponse$inboundSchema: z.ZodType< + PlatformAgentsCreateRunResponse, + z.ZodTypeDef, + unknown +> = z.union([ + components.PlatformAgentRunWaitResponse$inboundSchema, + z.string(), +]); + +export function platformAgentsCreateRunResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PlatformAgentsCreateRunResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PlatformAgentsCreateRunResponse' from JSON`, + ); +} diff --git a/src/models/operations/platformagentsget.ts b/src/models/operations/platformagentsget.ts new file mode 100644 index 00000000..a08c0a6a --- /dev/null +++ b/src/models/operations/platformagentsget.ts @@ -0,0 +1,35 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: a1a38c3fd799 + */ + +import * as z from "zod/v3"; + +export type PlatformAgentsGetRequest = { + /** + * ID of the agent to retrieve. + */ + agent_id: string; +}; + +/** @internal */ +export type PlatformAgentsGetRequest$Outbound = { + agent_id: string; +}; + +/** @internal */ +export const PlatformAgentsGetRequest$outboundSchema: z.ZodType< + PlatformAgentsGetRequest$Outbound, + z.ZodTypeDef, + PlatformAgentsGetRequest +> = z.object({ + agent_id: z.string(), +}); + +export function platformAgentsGetRequestToJSON( + platformAgentsGetRequest: PlatformAgentsGetRequest, +): string { + return JSON.stringify( + PlatformAgentsGetRequest$outboundSchema.parse(platformAgentsGetRequest), + ); +} diff --git a/src/models/operations/platformagentsgetschemas.ts b/src/models/operations/platformagentsgetschemas.ts new file mode 100644 index 00000000..69bd1349 --- /dev/null +++ b/src/models/operations/platformagentsgetschemas.ts @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: c025879102b3 + */ + +import * as z from "zod/v3"; + +export type PlatformAgentsGetSchemasRequest = { + /** + * ID of the agent whose schemas should be retrieved. + */ + agent_id: string; + /** + * Whether to include tool metadata in the response. + */ + include_tools?: boolean | undefined; +}; + +/** @internal */ +export type PlatformAgentsGetSchemasRequest$Outbound = { + agent_id: string; + include_tools: boolean; +}; + +/** @internal */ +export const PlatformAgentsGetSchemasRequest$outboundSchema: z.ZodType< + PlatformAgentsGetSchemasRequest$Outbound, + z.ZodTypeDef, + PlatformAgentsGetSchemasRequest +> = z.object({ + agent_id: z.string(), + include_tools: z.boolean().default(false), +}); + +export function platformAgentsGetSchemasRequestToJSON( + platformAgentsGetSchemasRequest: PlatformAgentsGetSchemasRequest, +): string { + return JSON.stringify( + PlatformAgentsGetSchemasRequest$outboundSchema.parse( + platformAgentsGetSchemasRequest, + ), + ); +} diff --git a/src/react-query/agentsCreateRun.ts b/src/react-query/agentsCreateRun.ts new file mode 100644 index 00000000..25ebf7a8 --- /dev/null +++ b/src/react-query/agentsCreateRun.ts @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: b1268b5938b6 + */ + +import { + MutationKey, + useMutation, + UseMutationResult, +} from "@tanstack/react-query"; +import { GleanCore } from "../core.js"; +import { + agentsCreateRun, + CreateRunAcceptEnum, +} from "../funcs/agentsCreateRun.js"; +import { combineSignals } from "../lib/primitives.js"; +import { RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import { GleanBaseError } from "../models/errors/gleanbaseerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import * as operations from "../models/operations/index.js"; +import { unwrapAsync } from "../types/fp.js"; +import { useGleanContext } from "./_context.js"; +import { MutationHookOptions } from "./_types.js"; + +export { CreateRunAcceptEnum } from "../funcs/agentsCreateRun.js"; + +export type AgentsCreateRunMutationVariables = { + platformAgentRunCreateRequest: components.PlatformAgentRunCreateRequest; + agentId: string; + options?: RequestOptions & { acceptHeaderOverride?: CreateRunAcceptEnum }; +}; + +export type AgentsCreateRunMutationData = + operations.PlatformAgentsCreateRunResponse; + +export type AgentsCreateRunMutationError = + | errors.PlatformProblemDetailError + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError; + +/** + * Create agent run + * + * @remarks + * Execute an agent run. Set `stream` to true to receive server-sent events; otherwise the response contains the final agent messages. + */ +export function useAgentsCreateRunMutation( + options?: MutationHookOptions< + AgentsCreateRunMutationData, + AgentsCreateRunMutationError, + AgentsCreateRunMutationVariables + >, +): UseMutationResult< + AgentsCreateRunMutationData, + AgentsCreateRunMutationError, + AgentsCreateRunMutationVariables +> { + const client = useGleanContext(); + return useMutation({ + ...buildAgentsCreateRunMutation(client, options), + ...options, + }); +} + +export function mutationKeyAgentsCreateRun(): MutationKey { + return ["@gleanwork/api-client", "agents", "createRun"]; +} + +export function buildAgentsCreateRunMutation( + client$: GleanCore, + hookOptions?: RequestOptions & { acceptHeaderOverride?: CreateRunAcceptEnum }, +): { + mutationKey: MutationKey; + mutationFn: ( + variables: AgentsCreateRunMutationVariables, + ) => Promise; +} { + return { + mutationKey: mutationKeyAgentsCreateRun(), + mutationFn: function agentsCreateRunMutationFn({ + platformAgentRunCreateRequest, + agentId, + options, + }): Promise { + const mergedOptions = { + ...hookOptions, + ...options, + fetchOptions: { + ...hookOptions?.fetchOptions, + ...options?.fetchOptions, + signal: combineSignals( + hookOptions?.fetchOptions?.signal, + options?.fetchOptions?.signal, + ), + }, + }; + return unwrapAsync(agentsCreateRun( + client$, + platformAgentRunCreateRequest, + agentId, + mergedOptions, + )); + }, + }; +} diff --git a/src/react-query/agentsGet.core.ts b/src/react-query/agentsGet.core.ts new file mode 100644 index 00000000..87e92f63 --- /dev/null +++ b/src/react-query/agentsGet.core.ts @@ -0,0 +1,67 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: bf202f112850 + */ + +import { + QueryClient, + QueryFunctionContext, + QueryKey, +} from "@tanstack/react-query"; +import { GleanCore } from "../core.js"; +import { agentsGet } from "../funcs/agentsGet.js"; +import { combineSignals } from "../lib/primitives.js"; +import { RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import { unwrapAsync } from "../types/fp.js"; +export type AgentsGetQueryData = components.PlatformAgentGetResponse; + +export function prefetchAgentsGet( + queryClient: QueryClient, + client$: GleanCore, + agentId: string, + options?: RequestOptions, +): Promise { + return queryClient.prefetchQuery({ + ...buildAgentsGetQuery( + client$, + agentId, + options, + ), + }); +} + +export function buildAgentsGetQuery( + client$: GleanCore, + agentId: string, + options?: RequestOptions, +): { + queryKey: QueryKey; + queryFn: (context: QueryFunctionContext) => Promise; +} { + return { + queryKey: queryKeyAgentsGet(agentId), + queryFn: async function agentsGetQueryFn(ctx): Promise { + const sig = combineSignals( + ctx.signal, + options?.signal, + options?.fetchOptions?.signal, + ); + const mergedOptions = { + ...options?.fetchOptions, + ...options, + signal: sig, + }; + + return unwrapAsync(agentsGet( + client$, + agentId, + mergedOptions, + )); + }, + }; +} + +export function queryKeyAgentsGet(agentId: string): QueryKey { + return ["@gleanwork/api-client", "agents", "get", agentId]; +} diff --git a/src/react-query/agentsGet.ts b/src/react-query/agentsGet.ts new file mode 100644 index 00000000..4f13d084 --- /dev/null +++ b/src/react-query/agentsGet.ts @@ -0,0 +1,126 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 9dfa72974fdb + */ + +import { + InvalidateQueryFilters, + QueryClient, + useQuery, + UseQueryResult, + useSuspenseQuery, + UseSuspenseQueryResult, +} from "@tanstack/react-query"; +import { GleanBaseError } from "../models/errors/gleanbaseerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import { useGleanContext } from "./_context.js"; +import { + QueryHookOptions, + SuspenseQueryHookOptions, + TupleToPrefixes, +} from "./_types.js"; +import { + AgentsGetQueryData, + buildAgentsGetQuery, + prefetchAgentsGet, + queryKeyAgentsGet, +} from "./agentsGet.core.js"; +export { + type AgentsGetQueryData, + buildAgentsGetQuery, + prefetchAgentsGet, + queryKeyAgentsGet, +}; + +export type AgentsGetQueryError = + | errors.PlatformProblemDetailError + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError; + +/** + * Get agent + * + * @remarks + * Retrieve details for an agent available to the authenticated user. + */ +export function useAgentsGet( + agentId: string, + options?: QueryHookOptions, +): UseQueryResult { + const client = useGleanContext(); + return useQuery({ + ...buildAgentsGetQuery( + client, + agentId, + options, + ), + ...options, + }); +} + +/** + * Get agent + * + * @remarks + * Retrieve details for an agent available to the authenticated user. + */ +export function useAgentsGetSuspense( + agentId: string, + options?: SuspenseQueryHookOptions, +): UseSuspenseQueryResult { + const client = useGleanContext(); + return useSuspenseQuery({ + ...buildAgentsGetQuery( + client, + agentId, + options, + ), + ...options, + }); +} + +export function setAgentsGetData( + client: QueryClient, + queryKeyBase: [agentId: string], + data: AgentsGetQueryData, +): AgentsGetQueryData | undefined { + const key = queryKeyAgentsGet(...queryKeyBase); + + return client.setQueryData(key, data); +} + +export function invalidateAgentsGet( + client: QueryClient, + queryKeyBase: TupleToPrefixes<[agentId: string]>, + filters?: Omit, +): Promise { + return client.invalidateQueries({ + ...filters, + queryKey: ["@gleanwork/api-client", "agents", "get", ...queryKeyBase], + }); +} + +export function invalidateAllAgentsGet( + client: QueryClient, + filters?: Omit, +): Promise { + return client.invalidateQueries({ + ...filters, + queryKey: ["@gleanwork/api-client", "agents", "get"], + }); +} diff --git a/src/react-query/agentsGetSchemas.core.ts b/src/react-query/agentsGetSchemas.core.ts new file mode 100644 index 00000000..2f5d004a --- /dev/null +++ b/src/react-query/agentsGetSchemas.core.ts @@ -0,0 +1,78 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: fcd506067f82 + */ + +import { + QueryClient, + QueryFunctionContext, + QueryKey, +} from "@tanstack/react-query"; +import { GleanCore } from "../core.js"; +import { agentsGetSchemas } from "../funcs/agentsGetSchemas.js"; +import { combineSignals } from "../lib/primitives.js"; +import { RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import { unwrapAsync } from "../types/fp.js"; +export type AgentsGetSchemasQueryData = components.PlatformAgentSchemasResponse; + +export function prefetchAgentsGetSchemas( + queryClient: QueryClient, + client$: GleanCore, + agentId: string, + includeTools?: boolean | undefined, + options?: RequestOptions, +): Promise { + return queryClient.prefetchQuery({ + ...buildAgentsGetSchemasQuery( + client$, + agentId, + includeTools, + options, + ), + }); +} + +export function buildAgentsGetSchemasQuery( + client$: GleanCore, + agentId: string, + includeTools?: boolean | undefined, + options?: RequestOptions, +): { + queryKey: QueryKey; + queryFn: ( + context: QueryFunctionContext, + ) => Promise; +} { + return { + queryKey: queryKeyAgentsGetSchemas(agentId, { includeTools }), + queryFn: async function agentsGetSchemasQueryFn( + ctx, + ): Promise { + const sig = combineSignals( + ctx.signal, + options?.signal, + options?.fetchOptions?.signal, + ); + const mergedOptions = { + ...options?.fetchOptions, + ...options, + signal: sig, + }; + + return unwrapAsync(agentsGetSchemas( + client$, + agentId, + includeTools, + mergedOptions, + )); + }, + }; +} + +export function queryKeyAgentsGetSchemas( + agentId: string, + parameters: { includeTools?: boolean | undefined }, +): QueryKey { + return ["@gleanwork/api-client", "agents", "getSchemas", agentId, parameters]; +} diff --git a/src/react-query/agentsGetSchemas.ts b/src/react-query/agentsGetSchemas.ts new file mode 100644 index 00000000..8dd62558 --- /dev/null +++ b/src/react-query/agentsGetSchemas.ts @@ -0,0 +1,149 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: e5e8003439d2 + */ + +import { + InvalidateQueryFilters, + QueryClient, + useQuery, + UseQueryResult, + useSuspenseQuery, + UseSuspenseQueryResult, +} from "@tanstack/react-query"; +import { GleanBaseError } from "../models/errors/gleanbaseerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import { useGleanContext } from "./_context.js"; +import { + QueryHookOptions, + SuspenseQueryHookOptions, + TupleToPrefixes, +} from "./_types.js"; +import { + AgentsGetSchemasQueryData, + buildAgentsGetSchemasQuery, + prefetchAgentsGetSchemas, + queryKeyAgentsGetSchemas, +} from "./agentsGetSchemas.core.js"; +export { + type AgentsGetSchemasQueryData, + buildAgentsGetSchemasQuery, + prefetchAgentsGetSchemas, + queryKeyAgentsGetSchemas, +}; + +export type AgentsGetSchemasQueryError = + | errors.PlatformProblemDetailError + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError; + +/** + * Get agent schemas + * + * @remarks + * Retrieve an agent's input and output JSON schemas. + */ +export function useAgentsGetSchemas( + agentId: string, + includeTools?: boolean | undefined, + options?: QueryHookOptions< + AgentsGetSchemasQueryData, + AgentsGetSchemasQueryError + >, +): UseQueryResult { + const client = useGleanContext(); + return useQuery({ + ...buildAgentsGetSchemasQuery( + client, + agentId, + includeTools, + options, + ), + ...options, + }); +} + +/** + * Get agent schemas + * + * @remarks + * Retrieve an agent's input and output JSON schemas. + */ +export function useAgentsGetSchemasSuspense( + agentId: string, + includeTools?: boolean | undefined, + options?: SuspenseQueryHookOptions< + AgentsGetSchemasQueryData, + AgentsGetSchemasQueryError + >, +): UseSuspenseQueryResult< + AgentsGetSchemasQueryData, + AgentsGetSchemasQueryError +> { + const client = useGleanContext(); + return useSuspenseQuery({ + ...buildAgentsGetSchemasQuery( + client, + agentId, + includeTools, + options, + ), + ...options, + }); +} + +export function setAgentsGetSchemasData( + client: QueryClient, + queryKeyBase: [ + agentId: string, + parameters: { includeTools?: boolean | undefined }, + ], + data: AgentsGetSchemasQueryData, +): AgentsGetSchemasQueryData | undefined { + const key = queryKeyAgentsGetSchemas(...queryKeyBase); + + return client.setQueryData(key, data); +} + +export function invalidateAgentsGetSchemas( + client: QueryClient, + queryKeyBase: TupleToPrefixes< + [agentId: string, parameters: { includeTools?: boolean | undefined }] + >, + filters?: Omit, +): Promise { + return client.invalidateQueries({ + ...filters, + queryKey: [ + "@gleanwork/api-client", + "agents", + "getSchemas", + ...queryKeyBase, + ], + }); +} + +export function invalidateAllAgentsGetSchemas( + client: QueryClient, + filters?: Omit, +): Promise { + return client.invalidateQueries({ + ...filters, + queryKey: ["@gleanwork/api-client", "agents", "getSchemas"], + }); +} diff --git a/src/react-query/agentsSearch.ts b/src/react-query/agentsSearch.ts new file mode 100644 index 00000000..9bd164a4 --- /dev/null +++ b/src/react-query/agentsSearch.ts @@ -0,0 +1,111 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 9405791fe3f7 + */ + +import { + MutationKey, + useMutation, + UseMutationResult, +} from "@tanstack/react-query"; +import { GleanCore } from "../core.js"; +import { agentsSearch } from "../funcs/agentsSearch.js"; +import { combineSignals } from "../lib/primitives.js"; +import { RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import { GleanBaseError } from "../models/errors/gleanbaseerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import { unwrapAsync } from "../types/fp.js"; +import { useGleanContext } from "./_context.js"; +import { MutationHookOptions } from "./_types.js"; + +export type AgentsSearchMutationVariables = { + request: components.PlatformAgentsSearchRequest; + options?: RequestOptions; +}; + +export type AgentsSearchMutationData = components.PlatformAgentsSearchResponse; + +export type AgentsSearchMutationError = + | errors.PlatformProblemDetailError + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError; + +/** + * Search agents + * + * @remarks + * Search agents available to the authenticated user by agent name. + */ +export function useAgentsSearchMutation( + options?: MutationHookOptions< + AgentsSearchMutationData, + AgentsSearchMutationError, + AgentsSearchMutationVariables + >, +): UseMutationResult< + AgentsSearchMutationData, + AgentsSearchMutationError, + AgentsSearchMutationVariables +> { + const client = useGleanContext(); + return useMutation({ + ...buildAgentsSearchMutation(client, options), + ...options, + }); +} + +export function mutationKeyAgentsSearch(): MutationKey { + return ["@gleanwork/api-client", "agents", "search"]; +} + +export function buildAgentsSearchMutation( + client$: GleanCore, + hookOptions?: RequestOptions, +): { + mutationKey: MutationKey; + mutationFn: ( + variables: AgentsSearchMutationVariables, + ) => Promise; +} { + return { + mutationKey: mutationKeyAgentsSearch(), + mutationFn: function agentsSearchMutationFn({ + request, + options, + }): Promise { + const mergedOptions = { + ...hookOptions, + ...options, + fetchOptions: { + ...hookOptions?.fetchOptions, + ...options?.fetchOptions, + signal: combineSignals( + hookOptions?.fetchOptions?.signal, + options?.fetchOptions?.signal, + ), + }, + }; + return unwrapAsync(agentsSearch( + client$, + request, + mergedOptions, + )); + }, + }; +} diff --git a/src/react-query/agentsCreateAgent.ts b/src/react-query/clientAgentsCreate.ts similarity index 66% rename from src/react-query/agentsCreateAgent.ts rename to src/react-query/clientAgentsCreate.ts index 3e1e379c..62ebd8a2 100644 --- a/src/react-query/agentsCreateAgent.ts +++ b/src/react-query/clientAgentsCreate.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: f764965707fa + * @generated-id: a37197e5deb4 */ import { @@ -9,7 +9,7 @@ import { UseMutationResult, } from "@tanstack/react-query"; import { GleanCore } from "../core.js"; -import { agentsCreateAgent } from "../funcs/agentsCreateAgent.js"; +import { clientAgentsCreate } from "../funcs/clientAgentsCreate.js"; import { combineSignals } from "../lib/primitives.js"; import { RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; @@ -27,16 +27,16 @@ import { unwrapAsync } from "../types/fp.js"; import { useGleanContext } from "./_context.js"; import { MutationHookOptions } from "./_types.js"; -export type AgentsCreateAgentMutationVariables = { +export type ClientAgentsCreateMutationVariables = { createWorkflowRequest: components.CreateWorkflowRequest; locale?: string | undefined; timezoneOffset?: number | undefined; options?: RequestOptions; }; -export type AgentsCreateAgentMutationData = components.WorkflowResult; +export type ClientAgentsCreateMutationData = components.WorkflowResult; -export type AgentsCreateAgentMutationError = +export type ClientAgentsCreateMutationError = | GleanBaseError | ResponseValidationError | ConnectionError @@ -52,45 +52,45 @@ export type AgentsCreateAgentMutationError = * @remarks * Create an agent. */ -export function useAgentsCreateAgentMutation( +export function useClientAgentsCreateMutation( options?: MutationHookOptions< - AgentsCreateAgentMutationData, - AgentsCreateAgentMutationError, - AgentsCreateAgentMutationVariables + ClientAgentsCreateMutationData, + ClientAgentsCreateMutationError, + ClientAgentsCreateMutationVariables >, ): UseMutationResult< - AgentsCreateAgentMutationData, - AgentsCreateAgentMutationError, - AgentsCreateAgentMutationVariables + ClientAgentsCreateMutationData, + ClientAgentsCreateMutationError, + ClientAgentsCreateMutationVariables > { const client = useGleanContext(); return useMutation({ - ...buildAgentsCreateAgentMutation(client, options), + ...buildClientAgentsCreateMutation(client, options), ...options, }); } -export function mutationKeyAgentsCreateAgent(): MutationKey { - return ["@gleanwork/api-client", "Agents", "createAgent"]; +export function mutationKeyClientAgentsCreate(): MutationKey { + return ["@gleanwork/api-client", "agents", "create"]; } -export function buildAgentsCreateAgentMutation( +export function buildClientAgentsCreateMutation( client$: GleanCore, hookOptions?: RequestOptions, ): { mutationKey: MutationKey; mutationFn: ( - variables: AgentsCreateAgentMutationVariables, - ) => Promise; + variables: ClientAgentsCreateMutationVariables, + ) => Promise; } { return { - mutationKey: mutationKeyAgentsCreateAgent(), - mutationFn: function agentsCreateAgentMutationFn({ + mutationKey: mutationKeyClientAgentsCreate(), + mutationFn: function clientAgentsCreateMutationFn({ createWorkflowRequest, locale, timezoneOffset, options, - }): Promise { + }): Promise { const mergedOptions = { ...hookOptions, ...options, @@ -103,7 +103,7 @@ export function buildAgentsCreateAgentMutation( ), }, }; - return unwrapAsync(agentsCreateAgent( + return unwrapAsync(clientAgentsCreate( client$, createWorkflowRequest, locale, diff --git a/src/react-query/agentsEditAgent.ts b/src/react-query/clientAgentsUpdate.ts similarity index 70% rename from src/react-query/agentsEditAgent.ts rename to src/react-query/clientAgentsUpdate.ts index 8bbcc46d..188be718 100644 --- a/src/react-query/agentsEditAgent.ts +++ b/src/react-query/clientAgentsUpdate.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 3b25e9fb1e70 + * @generated-id: 27d1d80c31c0 */ import { @@ -9,7 +9,7 @@ import { UseMutationResult, } from "@tanstack/react-query"; import { GleanCore } from "../core.js"; -import { agentsEditAgent } from "../funcs/agentsEditAgent.js"; +import { clientAgentsUpdate } from "../funcs/clientAgentsUpdate.js"; import { combineSignals } from "../lib/primitives.js"; import { RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; @@ -28,7 +28,7 @@ import { unwrapAsync } from "../types/fp.js"; import { useGleanContext } from "./_context.js"; import { MutationHookOptions } from "./_types.js"; -export type AgentsEditAgentMutationVariables = { +export type ClientAgentsUpdateMutationVariables = { editWorkflowRequest: components.EditWorkflowRequest; agentId: string; locale?: string | undefined; @@ -36,9 +36,9 @@ export type AgentsEditAgentMutationVariables = { options?: RequestOptions; }; -export type AgentsEditAgentMutationData = void; +export type ClientAgentsUpdateMutationData = void; -export type AgentsEditAgentMutationError = +export type ClientAgentsUpdateMutationError = | errors.ErrorResponse | GleanBaseError | ResponseValidationError @@ -55,46 +55,46 @@ export type AgentsEditAgentMutationError = * @remarks * Creates a draft or publishes an [agent](https://developers.glean.com/agents/agents-api). Use `isDraft=true` to save a draft, or `isDraft=false` (or omit) to publish immediately. Only draft and publish modes are supported. */ -export function useAgentsEditAgentMutation( +export function useClientAgentsUpdateMutation( options?: MutationHookOptions< - AgentsEditAgentMutationData, - AgentsEditAgentMutationError, - AgentsEditAgentMutationVariables + ClientAgentsUpdateMutationData, + ClientAgentsUpdateMutationError, + ClientAgentsUpdateMutationVariables >, ): UseMutationResult< - AgentsEditAgentMutationData, - AgentsEditAgentMutationError, - AgentsEditAgentMutationVariables + ClientAgentsUpdateMutationData, + ClientAgentsUpdateMutationError, + ClientAgentsUpdateMutationVariables > { const client = useGleanContext(); return useMutation({ - ...buildAgentsEditAgentMutation(client, options), + ...buildClientAgentsUpdateMutation(client, options), ...options, }); } -export function mutationKeyAgentsEditAgent(): MutationKey { - return ["@gleanwork/api-client", "Agents", "editAgent"]; +export function mutationKeyClientAgentsUpdate(): MutationKey { + return ["@gleanwork/api-client", "agents", "update"]; } -export function buildAgentsEditAgentMutation( +export function buildClientAgentsUpdateMutation( client$: GleanCore, hookOptions?: RequestOptions, ): { mutationKey: MutationKey; mutationFn: ( - variables: AgentsEditAgentMutationVariables, - ) => Promise; + variables: ClientAgentsUpdateMutationVariables, + ) => Promise; } { return { - mutationKey: mutationKeyAgentsEditAgent(), - mutationFn: function agentsEditAgentMutationFn({ + mutationKey: mutationKeyClientAgentsUpdate(), + mutationFn: function clientAgentsUpdateMutationFn({ editWorkflowRequest, agentId, locale, timezoneOffset, options, - }): Promise { + }): Promise { const mergedOptions = { ...hookOptions, ...options, @@ -107,7 +107,7 @@ export function buildAgentsEditAgentMutation( ), }, }; - return unwrapAsync(agentsEditAgent( + return unwrapAsync(clientAgentsUpdate( client$, editWorkflowRequest, agentId, diff --git a/src/react-query/authenticationCheckdatasourceauth.ts b/src/react-query/clientAuthenticationCheckDatasourceAuth.ts similarity index 61% rename from src/react-query/authenticationCheckdatasourceauth.ts rename to src/react-query/clientAuthenticationCheckDatasourceAuth.ts index 4843e0ed..7c4a422f 100644 --- a/src/react-query/authenticationCheckdatasourceauth.ts +++ b/src/react-query/clientAuthenticationCheckDatasourceAuth.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: de44a1fe0b75 + * @generated-id: 194e83ea31aa */ import { @@ -9,7 +9,7 @@ import { UseMutationResult, } from "@tanstack/react-query"; import { GleanCore } from "../core.js"; -import { authenticationCheckdatasourceauth } from "../funcs/authenticationCheckdatasourceauth.js"; +import { clientAuthenticationCheckDatasourceAuth } from "../funcs/clientAuthenticationCheckDatasourceAuth.js"; import { combineSignals } from "../lib/primitives.js"; import { RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; @@ -27,14 +27,14 @@ import { unwrapAsync } from "../types/fp.js"; import { useGleanContext } from "./_context.js"; import { MutationHookOptions } from "./_types.js"; -export type AuthenticationCheckdatasourceauthMutationVariables = { +export type ClientAuthenticationCheckDatasourceAuthMutationVariables = { options?: RequestOptions; }; -export type AuthenticationCheckdatasourceauthMutationData = +export type ClientAuthenticationCheckDatasourceAuthMutationData = components.CheckDatasourceAuthResponse; -export type AuthenticationCheckdatasourceauthMutationError = +export type ClientAuthenticationCheckDatasourceAuthMutationError = | GleanBaseError | ResponseValidationError | ConnectionError @@ -56,42 +56,42 @@ export type AuthenticationCheckdatasourceauthMutationError = * the `authUrlRelativePath` from each instance, and the transient auth token: * `/?transient_auth_token=`. */ -export function useAuthenticationCheckdatasourceauthMutation( +export function useClientAuthenticationCheckDatasourceAuthMutation( options?: MutationHookOptions< - AuthenticationCheckdatasourceauthMutationData, - AuthenticationCheckdatasourceauthMutationError, - AuthenticationCheckdatasourceauthMutationVariables + ClientAuthenticationCheckDatasourceAuthMutationData, + ClientAuthenticationCheckDatasourceAuthMutationError, + ClientAuthenticationCheckDatasourceAuthMutationVariables >, ): UseMutationResult< - AuthenticationCheckdatasourceauthMutationData, - AuthenticationCheckdatasourceauthMutationError, - AuthenticationCheckdatasourceauthMutationVariables + ClientAuthenticationCheckDatasourceAuthMutationData, + ClientAuthenticationCheckDatasourceAuthMutationError, + ClientAuthenticationCheckDatasourceAuthMutationVariables > { const client = useGleanContext(); return useMutation({ - ...buildAuthenticationCheckdatasourceauthMutation(client, options), + ...buildClientAuthenticationCheckDatasourceAuthMutation(client, options), ...options, }); } -export function mutationKeyAuthenticationCheckdatasourceauth(): MutationKey { - return ["@gleanwork/api-client", "Authentication", "checkdatasourceauth"]; +export function mutationKeyClientAuthenticationCheckDatasourceAuth(): MutationKey { + return ["@gleanwork/api-client", "authentication", "checkDatasourceAuth"]; } -export function buildAuthenticationCheckdatasourceauthMutation( +export function buildClientAuthenticationCheckDatasourceAuthMutation( client$: GleanCore, hookOptions?: RequestOptions, ): { mutationKey: MutationKey; mutationFn: ( - variables: AuthenticationCheckdatasourceauthMutationVariables, - ) => Promise; + variables: ClientAuthenticationCheckDatasourceAuthMutationVariables, + ) => Promise; } { return { - mutationKey: mutationKeyAuthenticationCheckdatasourceauth(), - mutationFn: function authenticationCheckdatasourceauthMutationFn({ + mutationKey: mutationKeyClientAuthenticationCheckDatasourceAuth(), + mutationFn: function clientAuthenticationCheckDatasourceAuthMutationFn({ options, - }): Promise { + }): Promise { const mergedOptions = { ...hookOptions, ...options, @@ -104,7 +104,7 @@ export function buildAuthenticationCheckdatasourceauthMutation( ), }, }; - return unwrapAsync(authenticationCheckdatasourceauth( + return unwrapAsync(clientAuthenticationCheckDatasourceAuth( client$, mergedOptions, )); diff --git a/src/react-query/chatGetChatFile.core.ts b/src/react-query/clientChatRetrieveFile.core.ts similarity index 60% rename from src/react-query/chatGetChatFile.core.ts rename to src/react-query/clientChatRetrieveFile.core.ts index ee79cc90..2a67d4fa 100644 --- a/src/react-query/chatGetChatFile.core.ts +++ b/src/react-query/clientChatRetrieveFile.core.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 4f2f16467589 + * @generated-id: b20b6bfb3aae */ import { @@ -9,13 +9,13 @@ import { QueryKey, } from "@tanstack/react-query"; import { GleanCore } from "../core.js"; -import { chatGetChatFile } from "../funcs/chatGetChatFile.js"; +import { clientChatRetrieveFile } from "../funcs/clientChatRetrieveFile.js"; import { combineSignals } from "../lib/primitives.js"; import { RequestOptions } from "../lib/sdks.js"; import { unwrapAsync } from "../types/fp.js"; -export type ChatGetChatFileQueryData = ReadableStream; +export type ClientChatRetrieveFileQueryData = ReadableStream; -export function prefetchChatGetChatFile( +export function prefetchClientChatRetrieveFile( queryClient: QueryClient, client$: GleanCore, fileId: string, @@ -23,7 +23,7 @@ export function prefetchChatGetChatFile( options?: RequestOptions, ): Promise { return queryClient.prefetchQuery({ - ...buildChatGetChatFileQuery( + ...buildClientChatRetrieveFileQuery( client$, fileId, preview, @@ -32,20 +32,22 @@ export function prefetchChatGetChatFile( }); } -export function buildChatGetChatFileQuery( +export function buildClientChatRetrieveFileQuery( client$: GleanCore, fileId: string, preview?: boolean | undefined, options?: RequestOptions, ): { queryKey: QueryKey; - queryFn: (context: QueryFunctionContext) => Promise; + queryFn: ( + context: QueryFunctionContext, + ) => Promise; } { return { - queryKey: queryKeyChatGetChatFile(fileId, { preview }), - queryFn: async function chatGetChatFileQueryFn( + queryKey: queryKeyClientChatRetrieveFile(fileId, { preview }), + queryFn: async function clientChatRetrieveFileQueryFn( ctx, - ): Promise { + ): Promise { const sig = combineSignals( ctx.signal, options?.signal, @@ -57,7 +59,7 @@ export function buildChatGetChatFileQuery( signal: sig, }; - return unwrapAsync(chatGetChatFile( + return unwrapAsync(clientChatRetrieveFile( client$, fileId, preview, @@ -67,9 +69,9 @@ export function buildChatGetChatFileQuery( }; } -export function queryKeyChatGetChatFile( +export function queryKeyClientChatRetrieveFile( fileId: string, parameters: { preview?: boolean | undefined }, ): QueryKey { - return ["@gleanwork/api-client", "Chat", "getChatFile", fileId, parameters]; + return ["@gleanwork/api-client", "chat", "retrieveFile", fileId, parameters]; } diff --git a/src/react-query/chatGetChatFile.ts b/src/react-query/clientChatRetrieveFile.ts similarity index 63% rename from src/react-query/chatGetChatFile.ts rename to src/react-query/clientChatRetrieveFile.ts index 67e3f8fb..c9e84190 100644 --- a/src/react-query/chatGetChatFile.ts +++ b/src/react-query/clientChatRetrieveFile.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 0b11cd5244ab + * @generated-id: 43c6232abc93 */ import { @@ -28,19 +28,19 @@ import { TupleToPrefixes, } from "./_types.js"; import { - buildChatGetChatFileQuery, - ChatGetChatFileQueryData, - prefetchChatGetChatFile, - queryKeyChatGetChatFile, -} from "./chatGetChatFile.core.js"; + buildClientChatRetrieveFileQuery, + ClientChatRetrieveFileQueryData, + prefetchClientChatRetrieveFile, + queryKeyClientChatRetrieveFile, +} from "./clientChatRetrieveFile.core.js"; export { - buildChatGetChatFileQuery, - type ChatGetChatFileQueryData, - prefetchChatGetChatFile, - queryKeyChatGetChatFile, + buildClientChatRetrieveFileQuery, + type ClientChatRetrieveFileQueryData, + prefetchClientChatRetrieveFile, + queryKeyClientChatRetrieveFile, }; -export type ChatGetChatFileQueryError = +export type ClientChatRetrieveFileQueryError = | GleanBaseError | ResponseValidationError | ConnectionError @@ -56,17 +56,20 @@ export type ChatGetChatFileQueryError = * @remarks * Download the raw content of a file generated or uploaded during a chat session (for example, an image produced by the assistant). Returns the file bytes with a Content-Type header matching the file's MIME type. */ -export function useChatGetChatFile( +export function useClientChatRetrieveFile( fileId: string, preview?: boolean | undefined, options?: QueryHookOptions< - ChatGetChatFileQueryData, - ChatGetChatFileQueryError + ClientChatRetrieveFileQueryData, + ClientChatRetrieveFileQueryError >, -): UseQueryResult { +): UseQueryResult< + ClientChatRetrieveFileQueryData, + ClientChatRetrieveFileQueryError +> { const client = useGleanContext(); return useQuery({ - ...buildChatGetChatFileQuery( + ...buildClientChatRetrieveFileQuery( client, fileId, preview, @@ -82,17 +85,20 @@ export function useChatGetChatFile( * @remarks * Download the raw content of a file generated or uploaded during a chat session (for example, an image produced by the assistant). Returns the file bytes with a Content-Type header matching the file's MIME type. */ -export function useChatGetChatFileSuspense( +export function useClientChatRetrieveFileSuspense( fileId: string, preview?: boolean | undefined, options?: SuspenseQueryHookOptions< - ChatGetChatFileQueryData, - ChatGetChatFileQueryError + ClientChatRetrieveFileQueryData, + ClientChatRetrieveFileQueryError >, -): UseSuspenseQueryResult { +): UseSuspenseQueryResult< + ClientChatRetrieveFileQueryData, + ClientChatRetrieveFileQueryError +> { const client = useGleanContext(); return useSuspenseQuery({ - ...buildChatGetChatFileQuery( + ...buildClientChatRetrieveFileQuery( client, fileId, preview, @@ -102,17 +108,17 @@ export function useChatGetChatFileSuspense( }); } -export function setChatGetChatFileData( +export function setClientChatRetrieveFileData( client: QueryClient, queryKeyBase: [fileId: string, parameters: { preview?: boolean | undefined }], - data: ChatGetChatFileQueryData, -): ChatGetChatFileQueryData | undefined { - const key = queryKeyChatGetChatFile(...queryKeyBase); + data: ClientChatRetrieveFileQueryData, +): ClientChatRetrieveFileQueryData | undefined { + const key = queryKeyClientChatRetrieveFile(...queryKeyBase); - return client.setQueryData(key, data); + return client.setQueryData(key, data); } -export function invalidateChatGetChatFile( +export function invalidateClientChatRetrieveFile( client: QueryClient, queryKeyBase: TupleToPrefixes< [fileId: string, parameters: { preview?: boolean | undefined }] @@ -121,16 +127,21 @@ export function invalidateChatGetChatFile( ): Promise { return client.invalidateQueries({ ...filters, - queryKey: ["@gleanwork/api-client", "Chat", "getChatFile", ...queryKeyBase], + queryKey: [ + "@gleanwork/api-client", + "chat", + "retrieveFile", + ...queryKeyBase, + ], }); } -export function invalidateAllChatGetChatFile( +export function invalidateAllClientChatRetrieveFile( client: QueryClient, filters?: Omit, ): Promise { return client.invalidateQueries({ ...filters, - queryKey: ["@gleanwork/api-client", "Chat", "getChatFile"], + queryKey: ["@gleanwork/api-client", "chat", "retrieveFile"], }); } diff --git a/src/react-query/clientDatasourcesRetrieveConfiguration.core.ts b/src/react-query/clientDatasourcesRetrieveConfiguration.core.ts new file mode 100644 index 00000000..68048634 --- /dev/null +++ b/src/react-query/clientDatasourcesRetrieveConfiguration.core.ts @@ -0,0 +1,88 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 666891b6fe7c + */ + +import { + QueryClient, + QueryFunctionContext, + QueryKey, +} from "@tanstack/react-query"; +import { GleanCore } from "../core.js"; +import { clientDatasourcesRetrieveConfiguration } from "../funcs/clientDatasourcesRetrieveConfiguration.js"; +import { combineSignals } from "../lib/primitives.js"; +import { RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import { unwrapAsync } from "../types/fp.js"; +export type ClientDatasourcesRetrieveConfigurationQueryData = + components.DatasourceConfigurationResponse; + +export function prefetchClientDatasourcesRetrieveConfiguration( + queryClient: QueryClient, + client$: GleanCore, + datasourceId: string, + instanceId: string, + options?: RequestOptions, +): Promise { + return queryClient.prefetchQuery({ + ...buildClientDatasourcesRetrieveConfigurationQuery( + client$, + datasourceId, + instanceId, + options, + ), + }); +} + +export function buildClientDatasourcesRetrieveConfigurationQuery( + client$: GleanCore, + datasourceId: string, + instanceId: string, + options?: RequestOptions, +): { + queryKey: QueryKey; + queryFn: ( + context: QueryFunctionContext, + ) => Promise; +} { + return { + queryKey: queryKeyClientDatasourcesRetrieveConfiguration( + datasourceId, + instanceId, + ), + queryFn: async function clientDatasourcesRetrieveConfigurationQueryFn( + ctx, + ): Promise { + const sig = combineSignals( + ctx.signal, + options?.signal, + options?.fetchOptions?.signal, + ); + const mergedOptions = { + ...options?.fetchOptions, + ...options, + signal: sig, + }; + + return unwrapAsync(clientDatasourcesRetrieveConfiguration( + client$, + datasourceId, + instanceId, + mergedOptions, + )); + }, + }; +} + +export function queryKeyClientDatasourcesRetrieveConfiguration( + datasourceId: string, + instanceId: string, +): QueryKey { + return [ + "@gleanwork/api-client", + "datasources", + "retrieveConfiguration", + datasourceId, + instanceId, + ]; +} diff --git a/src/react-query/datasourcesGetDatasourceInstanceConfiguration.ts b/src/react-query/clientDatasourcesRetrieveConfiguration.ts similarity index 55% rename from src/react-query/datasourcesGetDatasourceInstanceConfiguration.ts rename to src/react-query/clientDatasourcesRetrieveConfiguration.ts index 7e444693..3cb01e7c 100644 --- a/src/react-query/datasourcesGetDatasourceInstanceConfiguration.ts +++ b/src/react-query/clientDatasourcesRetrieveConfiguration.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 8afa1ec86403 + * @generated-id: 2f370dea591e */ import { @@ -29,19 +29,19 @@ import { TupleToPrefixes, } from "./_types.js"; import { - buildDatasourcesGetDatasourceInstanceConfigurationQuery, - DatasourcesGetDatasourceInstanceConfigurationQueryData, - prefetchDatasourcesGetDatasourceInstanceConfiguration, - queryKeyDatasourcesGetDatasourceInstanceConfiguration, -} from "./datasourcesGetDatasourceInstanceConfiguration.core.js"; + buildClientDatasourcesRetrieveConfigurationQuery, + ClientDatasourcesRetrieveConfigurationQueryData, + prefetchClientDatasourcesRetrieveConfiguration, + queryKeyClientDatasourcesRetrieveConfiguration, +} from "./clientDatasourcesRetrieveConfiguration.core.js"; export { - buildDatasourcesGetDatasourceInstanceConfigurationQuery, - type DatasourcesGetDatasourceInstanceConfigurationQueryData, - prefetchDatasourcesGetDatasourceInstanceConfiguration, - queryKeyDatasourcesGetDatasourceInstanceConfiguration, + buildClientDatasourcesRetrieveConfigurationQuery, + type ClientDatasourcesRetrieveConfigurationQueryData, + prefetchClientDatasourcesRetrieveConfiguration, + queryKeyClientDatasourcesRetrieveConfiguration, }; -export type DatasourcesGetDatasourceInstanceConfigurationQueryError = +export type ClientDatasourcesRetrieveConfigurationQueryError = | errors.ErrorResponse | GleanBaseError | ResponseValidationError @@ -58,20 +58,20 @@ export type DatasourcesGetDatasourceInstanceConfigurationQueryError = * @remarks * Gets the greenlisted configuration values for a datasource instance. Returns only configuration keys that are exposed via the public API greenlist. */ -export function useDatasourcesGetDatasourceInstanceConfiguration( +export function useClientDatasourcesRetrieveConfiguration( datasourceId: string, instanceId: string, options?: QueryHookOptions< - DatasourcesGetDatasourceInstanceConfigurationQueryData, - DatasourcesGetDatasourceInstanceConfigurationQueryError + ClientDatasourcesRetrieveConfigurationQueryData, + ClientDatasourcesRetrieveConfigurationQueryError >, ): UseQueryResult< - DatasourcesGetDatasourceInstanceConfigurationQueryData, - DatasourcesGetDatasourceInstanceConfigurationQueryError + ClientDatasourcesRetrieveConfigurationQueryData, + ClientDatasourcesRetrieveConfigurationQueryError > { const client = useGleanContext(); return useQuery({ - ...buildDatasourcesGetDatasourceInstanceConfigurationQuery( + ...buildClientDatasourcesRetrieveConfigurationQuery( client, datasourceId, instanceId, @@ -87,20 +87,20 @@ export function useDatasourcesGetDatasourceInstanceConfiguration( * @remarks * Gets the greenlisted configuration values for a datasource instance. Returns only configuration keys that are exposed via the public API greenlist. */ -export function useDatasourcesGetDatasourceInstanceConfigurationSuspense( +export function useClientDatasourcesRetrieveConfigurationSuspense( datasourceId: string, instanceId: string, options?: SuspenseQueryHookOptions< - DatasourcesGetDatasourceInstanceConfigurationQueryData, - DatasourcesGetDatasourceInstanceConfigurationQueryError + ClientDatasourcesRetrieveConfigurationQueryData, + ClientDatasourcesRetrieveConfigurationQueryError >, ): UseSuspenseQueryResult< - DatasourcesGetDatasourceInstanceConfigurationQueryData, - DatasourcesGetDatasourceInstanceConfigurationQueryError + ClientDatasourcesRetrieveConfigurationQueryData, + ClientDatasourcesRetrieveConfigurationQueryError > { const client = useGleanContext(); return useSuspenseQuery({ - ...buildDatasourcesGetDatasourceInstanceConfigurationQuery( + ...buildClientDatasourcesRetrieveConfigurationQuery( client, datasourceId, instanceId, @@ -110,21 +110,20 @@ export function useDatasourcesGetDatasourceInstanceConfigurationSuspense( }); } -export function setDatasourcesGetDatasourceInstanceConfigurationData( +export function setClientDatasourcesRetrieveConfigurationData( client: QueryClient, queryKeyBase: [datasourceId: string, instanceId: string], - data: DatasourcesGetDatasourceInstanceConfigurationQueryData, -): DatasourcesGetDatasourceInstanceConfigurationQueryData | undefined { - const key = queryKeyDatasourcesGetDatasourceInstanceConfiguration( - ...queryKeyBase, - ); + data: ClientDatasourcesRetrieveConfigurationQueryData, +): ClientDatasourcesRetrieveConfigurationQueryData | undefined { + const key = queryKeyClientDatasourcesRetrieveConfiguration(...queryKeyBase); - return client.setQueryData< - DatasourcesGetDatasourceInstanceConfigurationQueryData - >(key, data); + return client.setQueryData( + key, + data, + ); } -export function invalidateDatasourcesGetDatasourceInstanceConfiguration( +export function invalidateClientDatasourcesRetrieveConfiguration( client: QueryClient, queryKeyBase: TupleToPrefixes<[datasourceId: string, instanceId: string]>, filters?: Omit, @@ -133,23 +132,19 @@ export function invalidateDatasourcesGetDatasourceInstanceConfiguration( ...filters, queryKey: [ "@gleanwork/api-client", - "Datasources", - "getDatasourceInstanceConfiguration", + "datasources", + "retrieveConfiguration", ...queryKeyBase, ], }); } -export function invalidateAllDatasourcesGetDatasourceInstanceConfiguration( +export function invalidateAllClientDatasourcesRetrieveConfiguration( client: QueryClient, filters?: Omit, ): Promise { return client.invalidateQueries({ ...filters, - queryKey: [ - "@gleanwork/api-client", - "Datasources", - "getDatasourceInstanceConfiguration", - ], + queryKey: ["@gleanwork/api-client", "datasources", "retrieveConfiguration"], }); } diff --git a/src/react-query/datasourcesGetDatasourceCredentialStatus.core.ts b/src/react-query/clientDatasourcesRetrieveCredentialStatus.core.ts similarity index 61% rename from src/react-query/datasourcesGetDatasourceCredentialStatus.core.ts rename to src/react-query/clientDatasourcesRetrieveCredentialStatus.core.ts index 5cf8820b..0ec51d63 100644 --- a/src/react-query/datasourcesGetDatasourceCredentialStatus.core.ts +++ b/src/react-query/clientDatasourcesRetrieveCredentialStatus.core.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 8b0b17f93827 + * @generated-id: 3bddf4d353bb */ import { @@ -9,22 +9,22 @@ import { QueryKey, } from "@tanstack/react-query"; import { GleanCore } from "../core.js"; -import { datasourcesGetDatasourceCredentialStatus } from "../funcs/datasourcesGetDatasourceCredentialStatus.js"; +import { clientDatasourcesRetrieveCredentialStatus } from "../funcs/clientDatasourcesRetrieveCredentialStatus.js"; import { combineSignals } from "../lib/primitives.js"; import { RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { unwrapAsync } from "../types/fp.js"; -export type DatasourcesGetDatasourceCredentialStatusQueryData = +export type ClientDatasourcesRetrieveCredentialStatusQueryData = components.DatasourceCredentialStatusResponse; -export function prefetchDatasourcesGetDatasourceCredentialStatus( +export function prefetchClientDatasourcesRetrieveCredentialStatus( queryClient: QueryClient, client$: GleanCore, datasourceInstanceId: string, options?: RequestOptions, ): Promise { return queryClient.prefetchQuery({ - ...buildDatasourcesGetDatasourceCredentialStatusQuery( + ...buildClientDatasourcesRetrieveCredentialStatusQuery( client$, datasourceInstanceId, options, @@ -32,7 +32,7 @@ export function prefetchDatasourcesGetDatasourceCredentialStatus( }); } -export function buildDatasourcesGetDatasourceCredentialStatusQuery( +export function buildClientDatasourcesRetrieveCredentialStatusQuery( client$: GleanCore, datasourceInstanceId: string, options?: RequestOptions, @@ -40,15 +40,15 @@ export function buildDatasourcesGetDatasourceCredentialStatusQuery( queryKey: QueryKey; queryFn: ( context: QueryFunctionContext, - ) => Promise; + ) => Promise; } { return { - queryKey: queryKeyDatasourcesGetDatasourceCredentialStatus( + queryKey: queryKeyClientDatasourcesRetrieveCredentialStatus( datasourceInstanceId, ), - queryFn: async function datasourcesGetDatasourceCredentialStatusQueryFn( + queryFn: async function clientDatasourcesRetrieveCredentialStatusQueryFn( ctx, - ): Promise { + ): Promise { const sig = combineSignals( ctx.signal, options?.signal, @@ -60,7 +60,7 @@ export function buildDatasourcesGetDatasourceCredentialStatusQuery( signal: sig, }; - return unwrapAsync(datasourcesGetDatasourceCredentialStatus( + return unwrapAsync(clientDatasourcesRetrieveCredentialStatus( client$, datasourceInstanceId, mergedOptions, @@ -69,13 +69,13 @@ export function buildDatasourcesGetDatasourceCredentialStatusQuery( }; } -export function queryKeyDatasourcesGetDatasourceCredentialStatus( +export function queryKeyClientDatasourcesRetrieveCredentialStatus( datasourceInstanceId: string, ): QueryKey { return [ "@gleanwork/api-client", - "Datasources", - "getDatasourceCredentialStatus", + "datasources", + "retrieveCredentialStatus", datasourceInstanceId, ]; } diff --git a/src/react-query/datasourcesGetDatasourceCredentialStatus.ts b/src/react-query/clientDatasourcesRetrieveCredentialStatus.ts similarity index 57% rename from src/react-query/datasourcesGetDatasourceCredentialStatus.ts rename to src/react-query/clientDatasourcesRetrieveCredentialStatus.ts index d3733f9f..a238e2cc 100644 --- a/src/react-query/datasourcesGetDatasourceCredentialStatus.ts +++ b/src/react-query/clientDatasourcesRetrieveCredentialStatus.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 389e75cf9af7 + * @generated-id: d885f9fd297e */ import { @@ -29,19 +29,19 @@ import { TupleToPrefixes, } from "./_types.js"; import { - buildDatasourcesGetDatasourceCredentialStatusQuery, - DatasourcesGetDatasourceCredentialStatusQueryData, - prefetchDatasourcesGetDatasourceCredentialStatus, - queryKeyDatasourcesGetDatasourceCredentialStatus, -} from "./datasourcesGetDatasourceCredentialStatus.core.js"; + buildClientDatasourcesRetrieveCredentialStatusQuery, + ClientDatasourcesRetrieveCredentialStatusQueryData, + prefetchClientDatasourcesRetrieveCredentialStatus, + queryKeyClientDatasourcesRetrieveCredentialStatus, +} from "./clientDatasourcesRetrieveCredentialStatus.core.js"; export { - buildDatasourcesGetDatasourceCredentialStatusQuery, - type DatasourcesGetDatasourceCredentialStatusQueryData, - prefetchDatasourcesGetDatasourceCredentialStatus, - queryKeyDatasourcesGetDatasourceCredentialStatus, + buildClientDatasourcesRetrieveCredentialStatusQuery, + type ClientDatasourcesRetrieveCredentialStatusQueryData, + prefetchClientDatasourcesRetrieveCredentialStatus, + queryKeyClientDatasourcesRetrieveCredentialStatus, }; -export type DatasourcesGetDatasourceCredentialStatusQueryError = +export type ClientDatasourcesRetrieveCredentialStatusQueryError = | errors.ErrorResponse | GleanBaseError | ResponseValidationError @@ -58,19 +58,19 @@ export type DatasourcesGetDatasourceCredentialStatusQueryError = * @remarks * Returns the current credential status for a datasource instance. Access is limited to callers with the ADMIN scope; the handler enforces this check. */ -export function useDatasourcesGetDatasourceCredentialStatus( +export function useClientDatasourcesRetrieveCredentialStatus( datasourceInstanceId: string, options?: QueryHookOptions< - DatasourcesGetDatasourceCredentialStatusQueryData, - DatasourcesGetDatasourceCredentialStatusQueryError + ClientDatasourcesRetrieveCredentialStatusQueryData, + ClientDatasourcesRetrieveCredentialStatusQueryError >, ): UseQueryResult< - DatasourcesGetDatasourceCredentialStatusQueryData, - DatasourcesGetDatasourceCredentialStatusQueryError + ClientDatasourcesRetrieveCredentialStatusQueryData, + ClientDatasourcesRetrieveCredentialStatusQueryError > { const client = useGleanContext(); return useQuery({ - ...buildDatasourcesGetDatasourceCredentialStatusQuery( + ...buildClientDatasourcesRetrieveCredentialStatusQuery( client, datasourceInstanceId, options, @@ -85,19 +85,19 @@ export function useDatasourcesGetDatasourceCredentialStatus( * @remarks * Returns the current credential status for a datasource instance. Access is limited to callers with the ADMIN scope; the handler enforces this check. */ -export function useDatasourcesGetDatasourceCredentialStatusSuspense( +export function useClientDatasourcesRetrieveCredentialStatusSuspense( datasourceInstanceId: string, options?: SuspenseQueryHookOptions< - DatasourcesGetDatasourceCredentialStatusQueryData, - DatasourcesGetDatasourceCredentialStatusQueryError + ClientDatasourcesRetrieveCredentialStatusQueryData, + ClientDatasourcesRetrieveCredentialStatusQueryError >, ): UseSuspenseQueryResult< - DatasourcesGetDatasourceCredentialStatusQueryData, - DatasourcesGetDatasourceCredentialStatusQueryError + ClientDatasourcesRetrieveCredentialStatusQueryData, + ClientDatasourcesRetrieveCredentialStatusQueryError > { const client = useGleanContext(); return useSuspenseQuery({ - ...buildDatasourcesGetDatasourceCredentialStatusQuery( + ...buildClientDatasourcesRetrieveCredentialStatusQuery( client, datasourceInstanceId, options, @@ -106,20 +106,21 @@ export function useDatasourcesGetDatasourceCredentialStatusSuspense( }); } -export function setDatasourcesGetDatasourceCredentialStatusData( +export function setClientDatasourcesRetrieveCredentialStatusData( client: QueryClient, queryKeyBase: [datasourceInstanceId: string], - data: DatasourcesGetDatasourceCredentialStatusQueryData, -): DatasourcesGetDatasourceCredentialStatusQueryData | undefined { - const key = queryKeyDatasourcesGetDatasourceCredentialStatus(...queryKeyBase); - - return client.setQueryData( - key, - data, + data: ClientDatasourcesRetrieveCredentialStatusQueryData, +): ClientDatasourcesRetrieveCredentialStatusQueryData | undefined { + const key = queryKeyClientDatasourcesRetrieveCredentialStatus( + ...queryKeyBase, ); + + return client.setQueryData< + ClientDatasourcesRetrieveCredentialStatusQueryData + >(key, data); } -export function invalidateDatasourcesGetDatasourceCredentialStatus( +export function invalidateClientDatasourcesRetrieveCredentialStatus( client: QueryClient, queryKeyBase: TupleToPrefixes<[datasourceInstanceId: string]>, filters?: Omit, @@ -128,14 +129,14 @@ export function invalidateDatasourcesGetDatasourceCredentialStatus( ...filters, queryKey: [ "@gleanwork/api-client", - "Datasources", - "getDatasourceCredentialStatus", + "datasources", + "retrieveCredentialStatus", ...queryKeyBase, ], }); } -export function invalidateAllDatasourcesGetDatasourceCredentialStatus( +export function invalidateAllClientDatasourcesRetrieveCredentialStatus( client: QueryClient, filters?: Omit, ): Promise { @@ -143,8 +144,8 @@ export function invalidateAllDatasourcesGetDatasourceCredentialStatus( ...filters, queryKey: [ "@gleanwork/api-client", - "Datasources", - "getDatasourceCredentialStatus", + "datasources", + "retrieveCredentialStatus", ], }); } diff --git a/src/react-query/datasourcesRotateDatasourceCredentials.ts b/src/react-query/clientDatasourcesRotateCredentials.ts similarity index 66% rename from src/react-query/datasourcesRotateDatasourceCredentials.ts rename to src/react-query/clientDatasourcesRotateCredentials.ts index 477bb4e0..48ecdf45 100644 --- a/src/react-query/datasourcesRotateDatasourceCredentials.ts +++ b/src/react-query/clientDatasourcesRotateCredentials.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: c212153c2287 + * @generated-id: 322a20ea20c2 */ import { @@ -9,7 +9,7 @@ import { UseMutationResult, } from "@tanstack/react-query"; import { GleanCore } from "../core.js"; -import { datasourcesRotateDatasourceCredentials } from "../funcs/datasourcesRotateDatasourceCredentials.js"; +import { clientDatasourcesRotateCredentials } from "../funcs/clientDatasourcesRotateCredentials.js"; import { combineSignals } from "../lib/primitives.js"; import { RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; @@ -28,17 +28,17 @@ import { unwrapAsync } from "../types/fp.js"; import { useGleanContext } from "./_context.js"; import { MutationHookOptions } from "./_types.js"; -export type DatasourcesRotateDatasourceCredentialsMutationVariables = { +export type ClientDatasourcesRotateCredentialsMutationVariables = { rotateDatasourceCredentialsRequest: components.RotateDatasourceCredentialsRequest; datasourceInstanceId: string; options?: RequestOptions; }; -export type DatasourcesRotateDatasourceCredentialsMutationData = +export type ClientDatasourcesRotateCredentialsMutationData = components.DatasourceCredentialStatusResponse; -export type DatasourcesRotateDatasourceCredentialsMutationError = +export type ClientDatasourcesRotateCredentialsMutationError = | errors.ErrorResponse | GleanBaseError | ResponseValidationError @@ -56,48 +56,44 @@ export type DatasourcesRotateDatasourceCredentialsMutationError = * Rotates the credentials that a datasource instance uses to connect to its upstream system. Replaces the active credential material with the supplied values and returns the credential status after rotation. Access is limited to callers with the ADMIN scope; the handler enforces this check. * Only keys recognized as credential material for the datasource type may be set in `credentials.values` (e.g. `clientSecret`, `apiToken`, `privateKey`, depending on the configured auth method). Unrecognized keys, or keys that correspond to non-credential configuration, cause a 400; other instance configuration must be updated via PATCH /configure/datasources/{datasourceId}/instances/{instanceId}. */ -export function useDatasourcesRotateDatasourceCredentialsMutation( +export function useClientDatasourcesRotateCredentialsMutation( options?: MutationHookOptions< - DatasourcesRotateDatasourceCredentialsMutationData, - DatasourcesRotateDatasourceCredentialsMutationError, - DatasourcesRotateDatasourceCredentialsMutationVariables + ClientDatasourcesRotateCredentialsMutationData, + ClientDatasourcesRotateCredentialsMutationError, + ClientDatasourcesRotateCredentialsMutationVariables >, ): UseMutationResult< - DatasourcesRotateDatasourceCredentialsMutationData, - DatasourcesRotateDatasourceCredentialsMutationError, - DatasourcesRotateDatasourceCredentialsMutationVariables + ClientDatasourcesRotateCredentialsMutationData, + ClientDatasourcesRotateCredentialsMutationError, + ClientDatasourcesRotateCredentialsMutationVariables > { const client = useGleanContext(); return useMutation({ - ...buildDatasourcesRotateDatasourceCredentialsMutation(client, options), + ...buildClientDatasourcesRotateCredentialsMutation(client, options), ...options, }); } -export function mutationKeyDatasourcesRotateDatasourceCredentials(): MutationKey { - return [ - "@gleanwork/api-client", - "Datasources", - "rotateDatasourceCredentials", - ]; +export function mutationKeyClientDatasourcesRotateCredentials(): MutationKey { + return ["@gleanwork/api-client", "datasources", "rotateCredentials"]; } -export function buildDatasourcesRotateDatasourceCredentialsMutation( +export function buildClientDatasourcesRotateCredentialsMutation( client$: GleanCore, hookOptions?: RequestOptions, ): { mutationKey: MutationKey; mutationFn: ( - variables: DatasourcesRotateDatasourceCredentialsMutationVariables, - ) => Promise; + variables: ClientDatasourcesRotateCredentialsMutationVariables, + ) => Promise; } { return { - mutationKey: mutationKeyDatasourcesRotateDatasourceCredentials(), - mutationFn: function datasourcesRotateDatasourceCredentialsMutationFn({ + mutationKey: mutationKeyClientDatasourcesRotateCredentials(), + mutationFn: function clientDatasourcesRotateCredentialsMutationFn({ rotateDatasourceCredentialsRequest, datasourceInstanceId, options, - }): Promise { + }): Promise { const mergedOptions = { ...hookOptions, ...options, @@ -110,7 +106,7 @@ export function buildDatasourcesRotateDatasourceCredentialsMutation( ), }, }; - return unwrapAsync(datasourcesRotateDatasourceCredentials( + return unwrapAsync(clientDatasourcesRotateCredentials( client$, rotateDatasourceCredentialsRequest, datasourceInstanceId, diff --git a/src/react-query/clientDatasourcesUpdateConfiguration.ts b/src/react-query/clientDatasourcesUpdateConfiguration.ts new file mode 100644 index 00000000..a66d3409 --- /dev/null +++ b/src/react-query/clientDatasourcesUpdateConfiguration.ts @@ -0,0 +1,119 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 01cf9229f8e2 + */ + +import { + MutationKey, + useMutation, + UseMutationResult, +} from "@tanstack/react-query"; +import { GleanCore } from "../core.js"; +import { clientDatasourcesUpdateConfiguration } from "../funcs/clientDatasourcesUpdateConfiguration.js"; +import { combineSignals } from "../lib/primitives.js"; +import { RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import { GleanBaseError } from "../models/errors/gleanbaseerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import { unwrapAsync } from "../types/fp.js"; +import { useGleanContext } from "./_context.js"; +import { MutationHookOptions } from "./_types.js"; + +export type ClientDatasourcesUpdateConfigurationMutationVariables = { + updateDatasourceConfigurationRequest: + components.UpdateDatasourceConfigurationRequest; + datasourceId: string; + instanceId: string; + options?: RequestOptions; +}; + +export type ClientDatasourcesUpdateConfigurationMutationData = + components.DatasourceConfigurationResponse; + +export type ClientDatasourcesUpdateConfigurationMutationError = + | errors.ErrorResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError; + +/** + * Update datasource instance configuration + * + * @remarks + * Updates the greenlisted configuration values for a datasource instance. Only configuration keys that are exposed via the public API greenlist may be set. Returns the full greenlisted configuration after the update is applied. + */ +export function useClientDatasourcesUpdateConfigurationMutation( + options?: MutationHookOptions< + ClientDatasourcesUpdateConfigurationMutationData, + ClientDatasourcesUpdateConfigurationMutationError, + ClientDatasourcesUpdateConfigurationMutationVariables + >, +): UseMutationResult< + ClientDatasourcesUpdateConfigurationMutationData, + ClientDatasourcesUpdateConfigurationMutationError, + ClientDatasourcesUpdateConfigurationMutationVariables +> { + const client = useGleanContext(); + return useMutation({ + ...buildClientDatasourcesUpdateConfigurationMutation(client, options), + ...options, + }); +} + +export function mutationKeyClientDatasourcesUpdateConfiguration(): MutationKey { + return ["@gleanwork/api-client", "datasources", "updateConfiguration"]; +} + +export function buildClientDatasourcesUpdateConfigurationMutation( + client$: GleanCore, + hookOptions?: RequestOptions, +): { + mutationKey: MutationKey; + mutationFn: ( + variables: ClientDatasourcesUpdateConfigurationMutationVariables, + ) => Promise; +} { + return { + mutationKey: mutationKeyClientDatasourcesUpdateConfiguration(), + mutationFn: function clientDatasourcesUpdateConfigurationMutationFn({ + updateDatasourceConfigurationRequest, + datasourceId, + instanceId, + options, + }): Promise { + const mergedOptions = { + ...hookOptions, + ...options, + fetchOptions: { + ...hookOptions?.fetchOptions, + ...options?.fetchOptions, + signal: combineSignals( + hookOptions?.fetchOptions?.signal, + options?.fetchOptions?.signal, + ), + }, + }; + return unwrapAsync(clientDatasourcesUpdateConfiguration( + client$, + updateDatasourceConfigurationRequest, + datasourceId, + instanceId, + mergedOptions, + )); + }, + }; +} diff --git a/src/react-query/entitiesGetPersonPhoto.core.ts b/src/react-query/clientEntitiesRetrievePersonPhoto.core.ts similarity index 58% rename from src/react-query/entitiesGetPersonPhoto.core.ts rename to src/react-query/clientEntitiesRetrievePersonPhoto.core.ts index ee3cdd60..91f8d039 100644 --- a/src/react-query/entitiesGetPersonPhoto.core.ts +++ b/src/react-query/clientEntitiesRetrievePersonPhoto.core.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: f33ca2d2477f + * @generated-id: 25899e595b4f */ import { @@ -10,26 +10,27 @@ import { } from "@tanstack/react-query"; import { GleanCore } from "../core.js"; import { - entitiesGetPersonPhoto, - GetPersonPhotoAcceptEnum, -} from "../funcs/entitiesGetPersonPhoto.js"; + clientEntitiesRetrievePersonPhoto, + RetrievePersonPhotoAcceptEnum, +} from "../funcs/clientEntitiesRetrievePersonPhoto.js"; import { combineSignals } from "../lib/primitives.js"; import { RequestOptions } from "../lib/sdks.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; -export type EntitiesGetPersonPhotoQueryData = operations.GetPersonPhotoResponse; +export type ClientEntitiesRetrievePersonPhotoQueryData = + operations.GetPersonPhotoResponse; -export function prefetchEntitiesGetPersonPhoto( +export function prefetchClientEntitiesRetrievePersonPhoto( queryClient: QueryClient, client$: GleanCore, personId: string, ds?: string | undefined, options?: RequestOptions & { - acceptHeaderOverride?: GetPersonPhotoAcceptEnum; + acceptHeaderOverride?: RetrievePersonPhotoAcceptEnum; }, ): Promise { return queryClient.prefetchQuery({ - ...buildEntitiesGetPersonPhotoQuery( + ...buildClientEntitiesRetrievePersonPhotoQuery( client$, personId, ds, @@ -38,24 +39,24 @@ export function prefetchEntitiesGetPersonPhoto( }); } -export function buildEntitiesGetPersonPhotoQuery( +export function buildClientEntitiesRetrievePersonPhotoQuery( client$: GleanCore, personId: string, ds?: string | undefined, options?: RequestOptions & { - acceptHeaderOverride?: GetPersonPhotoAcceptEnum; + acceptHeaderOverride?: RetrievePersonPhotoAcceptEnum; }, ): { queryKey: QueryKey; queryFn: ( context: QueryFunctionContext, - ) => Promise; + ) => Promise; } { return { - queryKey: queryKeyEntitiesGetPersonPhoto(personId, { ds }), - queryFn: async function entitiesGetPersonPhotoQueryFn( + queryKey: queryKeyClientEntitiesRetrievePersonPhoto(personId, { ds }), + queryFn: async function clientEntitiesRetrievePersonPhotoQueryFn( ctx, - ): Promise { + ): Promise { const sig = combineSignals( ctx.signal, options?.signal, @@ -67,7 +68,7 @@ export function buildEntitiesGetPersonPhotoQuery( signal: sig, }; - return unwrapAsync(entitiesGetPersonPhoto( + return unwrapAsync(clientEntitiesRetrievePersonPhoto( client$, personId, ds, @@ -77,14 +78,14 @@ export function buildEntitiesGetPersonPhotoQuery( }; } -export function queryKeyEntitiesGetPersonPhoto( +export function queryKeyClientEntitiesRetrievePersonPhoto( personId: string, parameters: { ds?: string | undefined }, ): QueryKey { return [ "@gleanwork/api-client", - "Entities", - "getPersonPhoto", + "entities", + "retrievePersonPhoto", personId, parameters, ]; diff --git a/src/react-query/entitiesGetPersonPhoto.ts b/src/react-query/clientEntitiesRetrievePersonPhoto.ts similarity index 62% rename from src/react-query/entitiesGetPersonPhoto.ts rename to src/react-query/clientEntitiesRetrievePersonPhoto.ts index 0b3b1d73..4bfecc8e 100644 --- a/src/react-query/entitiesGetPersonPhoto.ts +++ b/src/react-query/clientEntitiesRetrievePersonPhoto.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 2b2ae1b6770a + * @generated-id: dda0efa9a33f */ import { @@ -28,19 +28,19 @@ import { TupleToPrefixes, } from "./_types.js"; import { - buildEntitiesGetPersonPhotoQuery, - EntitiesGetPersonPhotoQueryData, - prefetchEntitiesGetPersonPhoto, - queryKeyEntitiesGetPersonPhoto, -} from "./entitiesGetPersonPhoto.core.js"; + buildClientEntitiesRetrievePersonPhotoQuery, + ClientEntitiesRetrievePersonPhotoQueryData, + prefetchClientEntitiesRetrievePersonPhoto, + queryKeyClientEntitiesRetrievePersonPhoto, +} from "./clientEntitiesRetrievePersonPhoto.core.js"; export { - buildEntitiesGetPersonPhotoQuery, - type EntitiesGetPersonPhotoQueryData, - prefetchEntitiesGetPersonPhoto, - queryKeyEntitiesGetPersonPhoto, + buildClientEntitiesRetrievePersonPhotoQuery, + type ClientEntitiesRetrievePersonPhotoQueryData, + prefetchClientEntitiesRetrievePersonPhoto, + queryKeyClientEntitiesRetrievePersonPhoto, }; -export type EntitiesGetPersonPhotoQueryError = +export type ClientEntitiesRetrievePersonPhotoQueryError = | GleanBaseError | ResponseValidationError | ConnectionError @@ -50,7 +50,7 @@ export type EntitiesGetPersonPhotoQueryError = | UnexpectedClientError | SDKValidationError; -export { GetPersonPhotoAcceptEnum } from "../funcs/entitiesGetPersonPhoto.js"; +export { RetrievePersonPhotoAcceptEnum } from "../funcs/clientEntitiesRetrievePersonPhoto.js"; /** * Get person photo @@ -58,20 +58,20 @@ export { GetPersonPhotoAcceptEnum } from "../funcs/entitiesGetPersonPhoto.js"; * @remarks * Returns the profile photo bytes for a person whose photo is stored in Glean (crawled from an identity source or user-uploaded via admin console). Photos hosted externally (e.g. Slack CDN) are not served by this endpoint; callers should follow the photoUrl from /people or /listentities directly. Responses include a Cache-Control header (max-age=3600) to reduce redundant fetches. */ -export function useEntitiesGetPersonPhoto( +export function useClientEntitiesRetrievePersonPhoto( personId: string, ds?: string | undefined, options?: QueryHookOptions< - EntitiesGetPersonPhotoQueryData, - EntitiesGetPersonPhotoQueryError + ClientEntitiesRetrievePersonPhotoQueryData, + ClientEntitiesRetrievePersonPhotoQueryError >, ): UseQueryResult< - EntitiesGetPersonPhotoQueryData, - EntitiesGetPersonPhotoQueryError + ClientEntitiesRetrievePersonPhotoQueryData, + ClientEntitiesRetrievePersonPhotoQueryError > { const client = useGleanContext(); return useQuery({ - ...buildEntitiesGetPersonPhotoQuery( + ...buildClientEntitiesRetrievePersonPhotoQuery( client, personId, ds, @@ -87,20 +87,20 @@ export function useEntitiesGetPersonPhoto( * @remarks * Returns the profile photo bytes for a person whose photo is stored in Glean (crawled from an identity source or user-uploaded via admin console). Photos hosted externally (e.g. Slack CDN) are not served by this endpoint; callers should follow the photoUrl from /people or /listentities directly. Responses include a Cache-Control header (max-age=3600) to reduce redundant fetches. */ -export function useEntitiesGetPersonPhotoSuspense( +export function useClientEntitiesRetrievePersonPhotoSuspense( personId: string, ds?: string | undefined, options?: SuspenseQueryHookOptions< - EntitiesGetPersonPhotoQueryData, - EntitiesGetPersonPhotoQueryError + ClientEntitiesRetrievePersonPhotoQueryData, + ClientEntitiesRetrievePersonPhotoQueryError >, ): UseSuspenseQueryResult< - EntitiesGetPersonPhotoQueryData, - EntitiesGetPersonPhotoQueryError + ClientEntitiesRetrievePersonPhotoQueryData, + ClientEntitiesRetrievePersonPhotoQueryError > { const client = useGleanContext(); return useSuspenseQuery({ - ...buildEntitiesGetPersonPhotoQuery( + ...buildClientEntitiesRetrievePersonPhotoQuery( client, personId, ds, @@ -110,17 +110,20 @@ export function useEntitiesGetPersonPhotoSuspense( }); } -export function setEntitiesGetPersonPhotoData( +export function setClientEntitiesRetrievePersonPhotoData( client: QueryClient, queryKeyBase: [personId: string, parameters: { ds?: string | undefined }], - data: EntitiesGetPersonPhotoQueryData, -): EntitiesGetPersonPhotoQueryData | undefined { - const key = queryKeyEntitiesGetPersonPhoto(...queryKeyBase); + data: ClientEntitiesRetrievePersonPhotoQueryData, +): ClientEntitiesRetrievePersonPhotoQueryData | undefined { + const key = queryKeyClientEntitiesRetrievePersonPhoto(...queryKeyBase); - return client.setQueryData(key, data); + return client.setQueryData( + key, + data, + ); } -export function invalidateEntitiesGetPersonPhoto( +export function invalidateClientEntitiesRetrievePersonPhoto( client: QueryClient, queryKeyBase: TupleToPrefixes< [personId: string, parameters: { ds?: string | undefined }] @@ -131,19 +134,19 @@ export function invalidateEntitiesGetPersonPhoto( ...filters, queryKey: [ "@gleanwork/api-client", - "Entities", - "getPersonPhoto", + "entities", + "retrievePersonPhoto", ...queryKeyBase, ], }); } -export function invalidateAllEntitiesGetPersonPhoto( +export function invalidateAllClientEntitiesRetrievePersonPhoto( client: QueryClient, filters?: Omit, ): Promise { return client.invalidateQueries({ ...filters, - queryKey: ["@gleanwork/api-client", "Entities", "getPersonPhoto"], + queryKey: ["@gleanwork/api-client", "entities", "retrievePersonPhoto"], }); } diff --git a/src/react-query/governanceCreatefindingsexport.ts b/src/react-query/clientGovernanceDataFindingsCreate.ts similarity index 58% rename from src/react-query/governanceCreatefindingsexport.ts rename to src/react-query/clientGovernanceDataFindingsCreate.ts index 445b47d1..38efe772 100644 --- a/src/react-query/governanceCreatefindingsexport.ts +++ b/src/react-query/clientGovernanceDataFindingsCreate.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 8e5376d75882 + * @generated-id: 7a4af2b8746d */ import { @@ -9,7 +9,7 @@ import { UseMutationResult, } from "@tanstack/react-query"; import { GleanCore } from "../core.js"; -import { governanceCreatefindingsexport } from "../funcs/governanceCreatefindingsexport.js"; +import { clientGovernanceDataFindingsCreate } from "../funcs/clientGovernanceDataFindingsCreate.js"; import { combineSignals } from "../lib/primitives.js"; import { RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; @@ -27,14 +27,15 @@ import { unwrapAsync } from "../types/fp.js"; import { useGleanContext } from "./_context.js"; import { MutationHookOptions } from "./_types.js"; -export type GovernanceCreatefindingsexportMutationVariables = { +export type ClientGovernanceDataFindingsCreateMutationVariables = { request: components.DlpExportFindingsRequest; options?: RequestOptions; }; -export type GovernanceCreatefindingsexportMutationData = components.ExportInfo; +export type ClientGovernanceDataFindingsCreateMutationData = + components.ExportInfo; -export type GovernanceCreatefindingsexportMutationError = +export type ClientGovernanceDataFindingsCreateMutationError = | GleanBaseError | ResponseValidationError | ConnectionError @@ -50,43 +51,43 @@ export type GovernanceCreatefindingsexportMutationError = * @remarks * Creates a new DLP findings export job. */ -export function useGovernanceCreatefindingsexportMutation( +export function useClientGovernanceDataFindingsCreateMutation( options?: MutationHookOptions< - GovernanceCreatefindingsexportMutationData, - GovernanceCreatefindingsexportMutationError, - GovernanceCreatefindingsexportMutationVariables + ClientGovernanceDataFindingsCreateMutationData, + ClientGovernanceDataFindingsCreateMutationError, + ClientGovernanceDataFindingsCreateMutationVariables >, ): UseMutationResult< - GovernanceCreatefindingsexportMutationData, - GovernanceCreatefindingsexportMutationError, - GovernanceCreatefindingsexportMutationVariables + ClientGovernanceDataFindingsCreateMutationData, + ClientGovernanceDataFindingsCreateMutationError, + ClientGovernanceDataFindingsCreateMutationVariables > { const client = useGleanContext(); return useMutation({ - ...buildGovernanceCreatefindingsexportMutation(client, options), + ...buildClientGovernanceDataFindingsCreateMutation(client, options), ...options, }); } -export function mutationKeyGovernanceCreatefindingsexport(): MutationKey { - return ["@gleanwork/api-client", "Governance", "createfindingsexport"]; +export function mutationKeyClientGovernanceDataFindingsCreate(): MutationKey { + return ["@gleanwork/api-client", "findings", "create"]; } -export function buildGovernanceCreatefindingsexportMutation( +export function buildClientGovernanceDataFindingsCreateMutation( client$: GleanCore, hookOptions?: RequestOptions, ): { mutationKey: MutationKey; mutationFn: ( - variables: GovernanceCreatefindingsexportMutationVariables, - ) => Promise; + variables: ClientGovernanceDataFindingsCreateMutationVariables, + ) => Promise; } { return { - mutationKey: mutationKeyGovernanceCreatefindingsexport(), - mutationFn: function governanceCreatefindingsexportMutationFn({ + mutationKey: mutationKeyClientGovernanceDataFindingsCreate(), + mutationFn: function clientGovernanceDataFindingsCreateMutationFn({ request, options, - }): Promise { + }): Promise { const mergedOptions = { ...hookOptions, ...options, @@ -99,7 +100,7 @@ export function buildGovernanceCreatefindingsexportMutation( ), }, }; - return unwrapAsync(governanceCreatefindingsexport( + return unwrapAsync(clientGovernanceDataFindingsCreate( client$, request, mergedOptions, diff --git a/src/react-query/governanceDeletefindingsexport.ts b/src/react-query/clientGovernanceDataFindingsDelete.ts similarity index 57% rename from src/react-query/governanceDeletefindingsexport.ts rename to src/react-query/clientGovernanceDataFindingsDelete.ts index 339d938c..542356f1 100644 --- a/src/react-query/governanceDeletefindingsexport.ts +++ b/src/react-query/clientGovernanceDataFindingsDelete.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 84978df90876 + * @generated-id: 64ec0efbb1f6 */ import { @@ -9,7 +9,7 @@ import { UseMutationResult, } from "@tanstack/react-query"; import { GleanCore } from "../core.js"; -import { governanceDeletefindingsexport } from "../funcs/governanceDeletefindingsexport.js"; +import { clientGovernanceDataFindingsDelete } from "../funcs/clientGovernanceDataFindingsDelete.js"; import { combineSignals } from "../lib/primitives.js"; import { RequestOptions } from "../lib/sdks.js"; import { GleanBaseError } from "../models/errors/gleanbaseerror.js"; @@ -26,14 +26,14 @@ import { unwrapAsync } from "../types/fp.js"; import { useGleanContext } from "./_context.js"; import { MutationHookOptions } from "./_types.js"; -export type GovernanceDeletefindingsexportMutationVariables = { +export type ClientGovernanceDataFindingsDeleteMutationVariables = { id: number; options?: RequestOptions; }; -export type GovernanceDeletefindingsexportMutationData = void; +export type ClientGovernanceDataFindingsDeleteMutationData = void; -export type GovernanceDeletefindingsexportMutationError = +export type ClientGovernanceDataFindingsDeleteMutationError = | GleanBaseError | ResponseValidationError | ConnectionError @@ -49,43 +49,43 @@ export type GovernanceDeletefindingsexportMutationError = * @remarks * Deletes a DLP findings export. */ -export function useGovernanceDeletefindingsexportMutation( +export function useClientGovernanceDataFindingsDeleteMutation( options?: MutationHookOptions< - GovernanceDeletefindingsexportMutationData, - GovernanceDeletefindingsexportMutationError, - GovernanceDeletefindingsexportMutationVariables + ClientGovernanceDataFindingsDeleteMutationData, + ClientGovernanceDataFindingsDeleteMutationError, + ClientGovernanceDataFindingsDeleteMutationVariables >, ): UseMutationResult< - GovernanceDeletefindingsexportMutationData, - GovernanceDeletefindingsexportMutationError, - GovernanceDeletefindingsexportMutationVariables + ClientGovernanceDataFindingsDeleteMutationData, + ClientGovernanceDataFindingsDeleteMutationError, + ClientGovernanceDataFindingsDeleteMutationVariables > { const client = useGleanContext(); return useMutation({ - ...buildGovernanceDeletefindingsexportMutation(client, options), + ...buildClientGovernanceDataFindingsDeleteMutation(client, options), ...options, }); } -export function mutationKeyGovernanceDeletefindingsexport(): MutationKey { - return ["@gleanwork/api-client", "Governance", "deletefindingsexport"]; +export function mutationKeyClientGovernanceDataFindingsDelete(): MutationKey { + return ["@gleanwork/api-client", "findings", "delete"]; } -export function buildGovernanceDeletefindingsexportMutation( +export function buildClientGovernanceDataFindingsDeleteMutation( client$: GleanCore, hookOptions?: RequestOptions, ): { mutationKey: MutationKey; mutationFn: ( - variables: GovernanceDeletefindingsexportMutationVariables, - ) => Promise; + variables: ClientGovernanceDataFindingsDeleteMutationVariables, + ) => Promise; } { return { - mutationKey: mutationKeyGovernanceDeletefindingsexport(), - mutationFn: function governanceDeletefindingsexportMutationFn({ + mutationKey: mutationKeyClientGovernanceDataFindingsDelete(), + mutationFn: function clientGovernanceDataFindingsDeleteMutationFn({ id, options, - }): Promise { + }): Promise { const mergedOptions = { ...hookOptions, ...options, @@ -98,7 +98,7 @@ export function buildGovernanceDeletefindingsexportMutation( ), }, }; - return unwrapAsync(governanceDeletefindingsexport( + return unwrapAsync(clientGovernanceDataFindingsDelete( client$, id, mergedOptions, diff --git a/src/react-query/governanceDownloadfindingsexport.core.ts b/src/react-query/clientGovernanceDataFindingsDownload.core.ts similarity index 54% rename from src/react-query/governanceDownloadfindingsexport.core.ts rename to src/react-query/clientGovernanceDataFindingsDownload.core.ts index e35ec543..577cec8b 100644 --- a/src/react-query/governanceDownloadfindingsexport.core.ts +++ b/src/react-query/clientGovernanceDataFindingsDownload.core.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: a1da3acaee44 + * @generated-id: 7fd002227c86 */ import { @@ -9,20 +9,20 @@ import { QueryKey, } from "@tanstack/react-query"; import { GleanCore } from "../core.js"; -import { governanceDownloadfindingsexport } from "../funcs/governanceDownloadfindingsexport.js"; +import { clientGovernanceDataFindingsDownload } from "../funcs/clientGovernanceDataFindingsDownload.js"; import { combineSignals } from "../lib/primitives.js"; import { RequestOptions } from "../lib/sdks.js"; import { unwrapAsync } from "../types/fp.js"; -export type GovernanceDownloadfindingsexportQueryData = string; +export type ClientGovernanceDataFindingsDownloadQueryData = string; -export function prefetchGovernanceDownloadfindingsexport( +export function prefetchClientGovernanceDataFindingsDownload( queryClient: QueryClient, client$: GleanCore, id: string, options?: RequestOptions, ): Promise { return queryClient.prefetchQuery({ - ...buildGovernanceDownloadfindingsexportQuery( + ...buildClientGovernanceDataFindingsDownloadQuery( client$, id, options, @@ -30,7 +30,7 @@ export function prefetchGovernanceDownloadfindingsexport( }); } -export function buildGovernanceDownloadfindingsexportQuery( +export function buildClientGovernanceDataFindingsDownloadQuery( client$: GleanCore, id: string, options?: RequestOptions, @@ -38,13 +38,13 @@ export function buildGovernanceDownloadfindingsexportQuery( queryKey: QueryKey; queryFn: ( context: QueryFunctionContext, - ) => Promise; + ) => Promise; } { return { - queryKey: queryKeyGovernanceDownloadfindingsexport(id), - queryFn: async function governanceDownloadfindingsexportQueryFn( + queryKey: queryKeyClientGovernanceDataFindingsDownload(id), + queryFn: async function clientGovernanceDataFindingsDownloadQueryFn( ctx, - ): Promise { + ): Promise { const sig = combineSignals( ctx.signal, options?.signal, @@ -56,7 +56,7 @@ export function buildGovernanceDownloadfindingsexportQuery( signal: sig, }; - return unwrapAsync(governanceDownloadfindingsexport( + return unwrapAsync(clientGovernanceDataFindingsDownload( client$, id, mergedOptions, @@ -65,6 +65,8 @@ export function buildGovernanceDownloadfindingsexportQuery( }; } -export function queryKeyGovernanceDownloadfindingsexport(id: string): QueryKey { - return ["@gleanwork/api-client", "Governance", "downloadfindingsexport", id]; +export function queryKeyClientGovernanceDataFindingsDownload( + id: string, +): QueryKey { + return ["@gleanwork/api-client", "findings", "download", id]; } diff --git a/src/react-query/governanceDownloadfindingsexport.ts b/src/react-query/clientGovernanceDataFindingsDownload.ts similarity index 55% rename from src/react-query/governanceDownloadfindingsexport.ts rename to src/react-query/clientGovernanceDataFindingsDownload.ts index 6da1b6e2..71f0f1f1 100644 --- a/src/react-query/governanceDownloadfindingsexport.ts +++ b/src/react-query/clientGovernanceDataFindingsDownload.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: af128d14fe24 + * @generated-id: 95b389b62851 */ import { @@ -28,19 +28,19 @@ import { TupleToPrefixes, } from "./_types.js"; import { - buildGovernanceDownloadfindingsexportQuery, - GovernanceDownloadfindingsexportQueryData, - prefetchGovernanceDownloadfindingsexport, - queryKeyGovernanceDownloadfindingsexport, -} from "./governanceDownloadfindingsexport.core.js"; + buildClientGovernanceDataFindingsDownloadQuery, + ClientGovernanceDataFindingsDownloadQueryData, + prefetchClientGovernanceDataFindingsDownload, + queryKeyClientGovernanceDataFindingsDownload, +} from "./clientGovernanceDataFindingsDownload.core.js"; export { - buildGovernanceDownloadfindingsexportQuery, - type GovernanceDownloadfindingsexportQueryData, - prefetchGovernanceDownloadfindingsexport, - queryKeyGovernanceDownloadfindingsexport, + buildClientGovernanceDataFindingsDownloadQuery, + type ClientGovernanceDataFindingsDownloadQueryData, + prefetchClientGovernanceDataFindingsDownload, + queryKeyClientGovernanceDataFindingsDownload, }; -export type GovernanceDownloadfindingsexportQueryError = +export type ClientGovernanceDataFindingsDownloadQueryError = | GleanBaseError | ResponseValidationError | ConnectionError @@ -56,19 +56,19 @@ export type GovernanceDownloadfindingsexportQueryError = * @remarks * Downloads a DLP findings export as a CSV file. */ -export function useGovernanceDownloadfindingsexport( +export function useClientGovernanceDataFindingsDownload( id: string, options?: QueryHookOptions< - GovernanceDownloadfindingsexportQueryData, - GovernanceDownloadfindingsexportQueryError + ClientGovernanceDataFindingsDownloadQueryData, + ClientGovernanceDataFindingsDownloadQueryError >, ): UseQueryResult< - GovernanceDownloadfindingsexportQueryData, - GovernanceDownloadfindingsexportQueryError + ClientGovernanceDataFindingsDownloadQueryData, + ClientGovernanceDataFindingsDownloadQueryError > { const client = useGleanContext(); return useQuery({ - ...buildGovernanceDownloadfindingsexportQuery( + ...buildClientGovernanceDataFindingsDownloadQuery( client, id, options, @@ -83,19 +83,19 @@ export function useGovernanceDownloadfindingsexport( * @remarks * Downloads a DLP findings export as a CSV file. */ -export function useGovernanceDownloadfindingsexportSuspense( +export function useClientGovernanceDataFindingsDownloadSuspense( id: string, options?: SuspenseQueryHookOptions< - GovernanceDownloadfindingsexportQueryData, - GovernanceDownloadfindingsexportQueryError + ClientGovernanceDataFindingsDownloadQueryData, + ClientGovernanceDataFindingsDownloadQueryError >, ): UseSuspenseQueryResult< - GovernanceDownloadfindingsexportQueryData, - GovernanceDownloadfindingsexportQueryError + ClientGovernanceDataFindingsDownloadQueryData, + ClientGovernanceDataFindingsDownloadQueryError > { const client = useGleanContext(); return useSuspenseQuery({ - ...buildGovernanceDownloadfindingsexportQuery( + ...buildClientGovernanceDataFindingsDownloadQuery( client, id, options, @@ -104,20 +104,20 @@ export function useGovernanceDownloadfindingsexportSuspense( }); } -export function setGovernanceDownloadfindingsexportData( +export function setClientGovernanceDataFindingsDownloadData( client: QueryClient, queryKeyBase: [id: string], - data: GovernanceDownloadfindingsexportQueryData, -): GovernanceDownloadfindingsexportQueryData | undefined { - const key = queryKeyGovernanceDownloadfindingsexport(...queryKeyBase); + data: ClientGovernanceDataFindingsDownloadQueryData, +): ClientGovernanceDataFindingsDownloadQueryData | undefined { + const key = queryKeyClientGovernanceDataFindingsDownload(...queryKeyBase); - return client.setQueryData( + return client.setQueryData( key, data, ); } -export function invalidateGovernanceDownloadfindingsexport( +export function invalidateClientGovernanceDataFindingsDownload( client: QueryClient, queryKeyBase: TupleToPrefixes<[id: string]>, filters?: Omit, @@ -126,19 +126,19 @@ export function invalidateGovernanceDownloadfindingsexport( ...filters, queryKey: [ "@gleanwork/api-client", - "Governance", - "downloadfindingsexport", + "findings", + "download", ...queryKeyBase, ], }); } -export function invalidateAllGovernanceDownloadfindingsexport( +export function invalidateAllClientGovernanceDataFindingsDownload( client: QueryClient, filters?: Omit, ): Promise { return client.invalidateQueries({ ...filters, - queryKey: ["@gleanwork/api-client", "Governance", "downloadfindingsexport"], + queryKey: ["@gleanwork/api-client", "findings", "download"], }); } diff --git a/src/react-query/governanceListfindingsexports.core.ts b/src/react-query/clientGovernanceDataFindingsList.core.ts similarity index 58% rename from src/react-query/governanceListfindingsexports.core.ts rename to src/react-query/clientGovernanceDataFindingsList.core.ts index 10a26f2b..dc0ca6ef 100644 --- a/src/react-query/governanceListfindingsexports.core.ts +++ b/src/react-query/clientGovernanceDataFindingsList.core.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: b55cc8372801 + * @generated-id: ce6917e2a6d9 */ import { @@ -9,41 +9,41 @@ import { QueryKey, } from "@tanstack/react-query"; import { GleanCore } from "../core.js"; -import { governanceListfindingsexports } from "../funcs/governanceListfindingsexports.js"; +import { clientGovernanceDataFindingsList } from "../funcs/clientGovernanceDataFindingsList.js"; import { combineSignals } from "../lib/primitives.js"; import { RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { unwrapAsync } from "../types/fp.js"; -export type GovernanceListfindingsexportsQueryData = +export type ClientGovernanceDataFindingsListQueryData = components.ListDlpFindingsExportsResponse; -export function prefetchGovernanceListfindingsexports( +export function prefetchClientGovernanceDataFindingsList( queryClient: QueryClient, client$: GleanCore, options?: RequestOptions, ): Promise { return queryClient.prefetchQuery({ - ...buildGovernanceListfindingsexportsQuery( + ...buildClientGovernanceDataFindingsListQuery( client$, options, ), }); } -export function buildGovernanceListfindingsexportsQuery( +export function buildClientGovernanceDataFindingsListQuery( client$: GleanCore, options?: RequestOptions, ): { queryKey: QueryKey; queryFn: ( context: QueryFunctionContext, - ) => Promise; + ) => Promise; } { return { - queryKey: queryKeyGovernanceListfindingsexports(), - queryFn: async function governanceListfindingsexportsQueryFn( + queryKey: queryKeyClientGovernanceDataFindingsList(), + queryFn: async function clientGovernanceDataFindingsListQueryFn( ctx, - ): Promise { + ): Promise { const sig = combineSignals( ctx.signal, options?.signal, @@ -55,7 +55,7 @@ export function buildGovernanceListfindingsexportsQuery( signal: sig, }; - return unwrapAsync(governanceListfindingsexports( + return unwrapAsync(clientGovernanceDataFindingsList( client$, mergedOptions, )); @@ -63,6 +63,6 @@ export function buildGovernanceListfindingsexportsQuery( }; } -export function queryKeyGovernanceListfindingsexports(): QueryKey { - return ["@gleanwork/api-client", "Governance", "listfindingsexports"]; +export function queryKeyClientGovernanceDataFindingsList(): QueryKey { + return ["@gleanwork/api-client", "findings", "list"]; } diff --git a/src/react-query/governanceListfindingsexports.ts b/src/react-query/clientGovernanceDataFindingsList.ts similarity index 52% rename from src/react-query/governanceListfindingsexports.ts rename to src/react-query/clientGovernanceDataFindingsList.ts index ddfc71ec..58bc6f5f 100644 --- a/src/react-query/governanceListfindingsexports.ts +++ b/src/react-query/clientGovernanceDataFindingsList.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: eb38bbf9a06b + * @generated-id: 5d8da86f4a96 */ import { @@ -24,19 +24,19 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { useGleanContext } from "./_context.js"; import { QueryHookOptions, SuspenseQueryHookOptions } from "./_types.js"; import { - buildGovernanceListfindingsexportsQuery, - GovernanceListfindingsexportsQueryData, - prefetchGovernanceListfindingsexports, - queryKeyGovernanceListfindingsexports, -} from "./governanceListfindingsexports.core.js"; + buildClientGovernanceDataFindingsListQuery, + ClientGovernanceDataFindingsListQueryData, + prefetchClientGovernanceDataFindingsList, + queryKeyClientGovernanceDataFindingsList, +} from "./clientGovernanceDataFindingsList.core.js"; export { - buildGovernanceListfindingsexportsQuery, - type GovernanceListfindingsexportsQueryData, - prefetchGovernanceListfindingsexports, - queryKeyGovernanceListfindingsexports, + buildClientGovernanceDataFindingsListQuery, + type ClientGovernanceDataFindingsListQueryData, + prefetchClientGovernanceDataFindingsList, + queryKeyClientGovernanceDataFindingsList, }; -export type GovernanceListfindingsexportsQueryError = +export type ClientGovernanceDataFindingsListQueryError = | GleanBaseError | ResponseValidationError | ConnectionError @@ -52,18 +52,18 @@ export type GovernanceListfindingsexportsQueryError = * @remarks * Lists all DLP findings exports. */ -export function useGovernanceListfindingsexports( +export function useClientGovernanceDataFindingsList( options?: QueryHookOptions< - GovernanceListfindingsexportsQueryData, - GovernanceListfindingsexportsQueryError + ClientGovernanceDataFindingsListQueryData, + ClientGovernanceDataFindingsListQueryError >, ): UseQueryResult< - GovernanceListfindingsexportsQueryData, - GovernanceListfindingsexportsQueryError + ClientGovernanceDataFindingsListQueryData, + ClientGovernanceDataFindingsListQueryError > { const client = useGleanContext(); return useQuery({ - ...buildGovernanceListfindingsexportsQuery( + ...buildClientGovernanceDataFindingsListQuery( client, options, ), @@ -77,18 +77,18 @@ export function useGovernanceListfindingsexports( * @remarks * Lists all DLP findings exports. */ -export function useGovernanceListfindingsexportsSuspense( +export function useClientGovernanceDataFindingsListSuspense( options?: SuspenseQueryHookOptions< - GovernanceListfindingsexportsQueryData, - GovernanceListfindingsexportsQueryError + ClientGovernanceDataFindingsListQueryData, + ClientGovernanceDataFindingsListQueryError >, ): UseSuspenseQueryResult< - GovernanceListfindingsexportsQueryData, - GovernanceListfindingsexportsQueryError + ClientGovernanceDataFindingsListQueryData, + ClientGovernanceDataFindingsListQueryError > { const client = useGleanContext(); return useSuspenseQuery({ - ...buildGovernanceListfindingsexportsQuery( + ...buildClientGovernanceDataFindingsListQuery( client, options, ), @@ -96,21 +96,24 @@ export function useGovernanceListfindingsexportsSuspense( }); } -export function setGovernanceListfindingsexportsData( +export function setClientGovernanceDataFindingsListData( client: QueryClient, - data: GovernanceListfindingsexportsQueryData, -): GovernanceListfindingsexportsQueryData | undefined { - const key = queryKeyGovernanceListfindingsexports(); + data: ClientGovernanceDataFindingsListQueryData, +): ClientGovernanceDataFindingsListQueryData | undefined { + const key = queryKeyClientGovernanceDataFindingsList(); - return client.setQueryData(key, data); + return client.setQueryData( + key, + data, + ); } -export function invalidateAllGovernanceListfindingsexports( +export function invalidateAllClientGovernanceDataFindingsList( client: QueryClient, filters?: Omit, ): Promise { return client.invalidateQueries({ ...filters, - queryKey: ["@gleanwork/api-client", "Governance", "listfindingsexports"], + queryKey: ["@gleanwork/api-client", "findings", "list"], }); } diff --git a/src/react-query/toolsAuthorizeActionPack.ts b/src/react-query/clientToolsAuthorizeActionPack.ts similarity index 66% rename from src/react-query/toolsAuthorizeActionPack.ts rename to src/react-query/clientToolsAuthorizeActionPack.ts index 74b05cd3..08274e95 100644 --- a/src/react-query/toolsAuthorizeActionPack.ts +++ b/src/react-query/clientToolsAuthorizeActionPack.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 1e27082b7f84 + * @generated-id: c7b4e5bbd98e */ import { @@ -9,7 +9,7 @@ import { UseMutationResult, } from "@tanstack/react-query"; import { GleanCore } from "../core.js"; -import { toolsAuthorizeActionPack } from "../funcs/toolsAuthorizeActionPack.js"; +import { clientToolsAuthorizeActionPack } from "../funcs/clientToolsAuthorizeActionPack.js"; import { combineSignals } from "../lib/primitives.js"; import { RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; @@ -27,16 +27,16 @@ import { unwrapAsync } from "../types/fp.js"; import { useGleanContext } from "./_context.js"; import { MutationHookOptions } from "./_types.js"; -export type ToolsAuthorizeActionPackMutationVariables = { +export type ClientToolsAuthorizeActionPackMutationVariables = { authorizeActionPackRequest: components.AuthorizeActionPackRequest; actionPackId: string; options?: RequestOptions; }; -export type ToolsAuthorizeActionPackMutationData = +export type ClientToolsAuthorizeActionPackMutationData = components.AuthorizeActionPackResponse; -export type ToolsAuthorizeActionPackMutationError = +export type ClientToolsAuthorizeActionPackMutationError = | GleanBaseError | ResponseValidationError | ConnectionError @@ -58,44 +58,44 @@ export type ToolsAuthorizeActionPackMutationError = * `returnUrl` must match the tenant's configured return URL allowlist; otherwise the * request is rejected with 400. */ -export function useToolsAuthorizeActionPackMutation( +export function useClientToolsAuthorizeActionPackMutation( options?: MutationHookOptions< - ToolsAuthorizeActionPackMutationData, - ToolsAuthorizeActionPackMutationError, - ToolsAuthorizeActionPackMutationVariables + ClientToolsAuthorizeActionPackMutationData, + ClientToolsAuthorizeActionPackMutationError, + ClientToolsAuthorizeActionPackMutationVariables >, ): UseMutationResult< - ToolsAuthorizeActionPackMutationData, - ToolsAuthorizeActionPackMutationError, - ToolsAuthorizeActionPackMutationVariables + ClientToolsAuthorizeActionPackMutationData, + ClientToolsAuthorizeActionPackMutationError, + ClientToolsAuthorizeActionPackMutationVariables > { const client = useGleanContext(); return useMutation({ - ...buildToolsAuthorizeActionPackMutation(client, options), + ...buildClientToolsAuthorizeActionPackMutation(client, options), ...options, }); } -export function mutationKeyToolsAuthorizeActionPack(): MutationKey { - return ["@gleanwork/api-client", "Tools", "authorizeActionPack"]; +export function mutationKeyClientToolsAuthorizeActionPack(): MutationKey { + return ["@gleanwork/api-client", "tools", "authorizeActionPack"]; } -export function buildToolsAuthorizeActionPackMutation( +export function buildClientToolsAuthorizeActionPackMutation( client$: GleanCore, hookOptions?: RequestOptions, ): { mutationKey: MutationKey; mutationFn: ( - variables: ToolsAuthorizeActionPackMutationVariables, - ) => Promise; + variables: ClientToolsAuthorizeActionPackMutationVariables, + ) => Promise; } { return { - mutationKey: mutationKeyToolsAuthorizeActionPack(), - mutationFn: function toolsAuthorizeActionPackMutationFn({ + mutationKey: mutationKeyClientToolsAuthorizeActionPack(), + mutationFn: function clientToolsAuthorizeActionPackMutationFn({ authorizeActionPackRequest, actionPackId, options, - }): Promise { + }): Promise { const mergedOptions = { ...hookOptions, ...options, @@ -108,7 +108,7 @@ export function buildToolsAuthorizeActionPackMutation( ), }, }; - return unwrapAsync(toolsAuthorizeActionPack( + return unwrapAsync(clientToolsAuthorizeActionPack( client$, authorizeActionPackRequest, actionPackId, diff --git a/src/react-query/toolsGetActionPackAuthStatus.core.ts b/src/react-query/clientToolsRetrieveActionPackAuthStatus.core.ts similarity index 60% rename from src/react-query/toolsGetActionPackAuthStatus.core.ts rename to src/react-query/clientToolsRetrieveActionPackAuthStatus.core.ts index 7776dda0..4f6207a2 100644 --- a/src/react-query/toolsGetActionPackAuthStatus.core.ts +++ b/src/react-query/clientToolsRetrieveActionPackAuthStatus.core.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: f4208601672a + * @generated-id: 523683324c37 */ import { @@ -9,22 +9,22 @@ import { QueryKey, } from "@tanstack/react-query"; import { GleanCore } from "../core.js"; -import { toolsGetActionPackAuthStatus } from "../funcs/toolsGetActionPackAuthStatus.js"; +import { clientToolsRetrieveActionPackAuthStatus } from "../funcs/clientToolsRetrieveActionPackAuthStatus.js"; import { combineSignals } from "../lib/primitives.js"; import { RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { unwrapAsync } from "../types/fp.js"; -export type ToolsGetActionPackAuthStatusQueryData = +export type ClientToolsRetrieveActionPackAuthStatusQueryData = components.ActionPackAuthStatusResponse; -export function prefetchToolsGetActionPackAuthStatus( +export function prefetchClientToolsRetrieveActionPackAuthStatus( queryClient: QueryClient, client$: GleanCore, actionPackId: string, options?: RequestOptions, ): Promise { return queryClient.prefetchQuery({ - ...buildToolsGetActionPackAuthStatusQuery( + ...buildClientToolsRetrieveActionPackAuthStatusQuery( client$, actionPackId, options, @@ -32,7 +32,7 @@ export function prefetchToolsGetActionPackAuthStatus( }); } -export function buildToolsGetActionPackAuthStatusQuery( +export function buildClientToolsRetrieveActionPackAuthStatusQuery( client$: GleanCore, actionPackId: string, options?: RequestOptions, @@ -40,13 +40,13 @@ export function buildToolsGetActionPackAuthStatusQuery( queryKey: QueryKey; queryFn: ( context: QueryFunctionContext, - ) => Promise; + ) => Promise; } { return { - queryKey: queryKeyToolsGetActionPackAuthStatus(actionPackId), - queryFn: async function toolsGetActionPackAuthStatusQueryFn( + queryKey: queryKeyClientToolsRetrieveActionPackAuthStatus(actionPackId), + queryFn: async function clientToolsRetrieveActionPackAuthStatusQueryFn( ctx, - ): Promise { + ): Promise { const sig = combineSignals( ctx.signal, options?.signal, @@ -58,7 +58,7 @@ export function buildToolsGetActionPackAuthStatusQuery( signal: sig, }; - return unwrapAsync(toolsGetActionPackAuthStatus( + return unwrapAsync(clientToolsRetrieveActionPackAuthStatus( client$, actionPackId, mergedOptions, @@ -67,13 +67,13 @@ export function buildToolsGetActionPackAuthStatusQuery( }; } -export function queryKeyToolsGetActionPackAuthStatus( +export function queryKeyClientToolsRetrieveActionPackAuthStatus( actionPackId: string, ): QueryKey { return [ "@gleanwork/api-client", - "Tools", - "getActionPackAuthStatus", + "tools", + "retrieveActionPackAuthStatus", actionPackId, ]; } diff --git a/src/react-query/toolsGetActionPackAuthStatus.ts b/src/react-query/clientToolsRetrieveActionPackAuthStatus.ts similarity index 58% rename from src/react-query/toolsGetActionPackAuthStatus.ts rename to src/react-query/clientToolsRetrieveActionPackAuthStatus.ts index f0129ddb..d7e80028 100644 --- a/src/react-query/toolsGetActionPackAuthStatus.ts +++ b/src/react-query/clientToolsRetrieveActionPackAuthStatus.ts @@ -1,6 +1,6 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 651b3a2e8f61 + * @generated-id: 52f40f93c161 */ import { @@ -28,19 +28,19 @@ import { TupleToPrefixes, } from "./_types.js"; import { - buildToolsGetActionPackAuthStatusQuery, - prefetchToolsGetActionPackAuthStatus, - queryKeyToolsGetActionPackAuthStatus, - ToolsGetActionPackAuthStatusQueryData, -} from "./toolsGetActionPackAuthStatus.core.js"; + buildClientToolsRetrieveActionPackAuthStatusQuery, + ClientToolsRetrieveActionPackAuthStatusQueryData, + prefetchClientToolsRetrieveActionPackAuthStatus, + queryKeyClientToolsRetrieveActionPackAuthStatus, +} from "./clientToolsRetrieveActionPackAuthStatus.core.js"; export { - buildToolsGetActionPackAuthStatusQuery, - prefetchToolsGetActionPackAuthStatus, - queryKeyToolsGetActionPackAuthStatus, - type ToolsGetActionPackAuthStatusQueryData, + buildClientToolsRetrieveActionPackAuthStatusQuery, + type ClientToolsRetrieveActionPackAuthStatusQueryData, + prefetchClientToolsRetrieveActionPackAuthStatus, + queryKeyClientToolsRetrieveActionPackAuthStatus, }; -export type ToolsGetActionPackAuthStatusQueryError = +export type ClientToolsRetrieveActionPackAuthStatusQueryError = | GleanBaseError | ResponseValidationError | ConnectionError @@ -58,19 +58,19 @@ export type ToolsGetActionPackAuthStatusQueryError = * tool backing the specified action pack. Intended for headless / server-driven clients * that render an "Authorize" prompt when the user has not yet consented to the tool. */ -export function useToolsGetActionPackAuthStatus( +export function useClientToolsRetrieveActionPackAuthStatus( actionPackId: string, options?: QueryHookOptions< - ToolsGetActionPackAuthStatusQueryData, - ToolsGetActionPackAuthStatusQueryError + ClientToolsRetrieveActionPackAuthStatusQueryData, + ClientToolsRetrieveActionPackAuthStatusQueryError >, ): UseQueryResult< - ToolsGetActionPackAuthStatusQueryData, - ToolsGetActionPackAuthStatusQueryError + ClientToolsRetrieveActionPackAuthStatusQueryData, + ClientToolsRetrieveActionPackAuthStatusQueryError > { const client = useGleanContext(); return useQuery({ - ...buildToolsGetActionPackAuthStatusQuery( + ...buildClientToolsRetrieveActionPackAuthStatusQuery( client, actionPackId, options, @@ -87,19 +87,19 @@ export function useToolsGetActionPackAuthStatus( * tool backing the specified action pack. Intended for headless / server-driven clients * that render an "Authorize" prompt when the user has not yet consented to the tool. */ -export function useToolsGetActionPackAuthStatusSuspense( +export function useClientToolsRetrieveActionPackAuthStatusSuspense( actionPackId: string, options?: SuspenseQueryHookOptions< - ToolsGetActionPackAuthStatusQueryData, - ToolsGetActionPackAuthStatusQueryError + ClientToolsRetrieveActionPackAuthStatusQueryData, + ClientToolsRetrieveActionPackAuthStatusQueryError >, ): UseSuspenseQueryResult< - ToolsGetActionPackAuthStatusQueryData, - ToolsGetActionPackAuthStatusQueryError + ClientToolsRetrieveActionPackAuthStatusQueryData, + ClientToolsRetrieveActionPackAuthStatusQueryError > { const client = useGleanContext(); return useSuspenseQuery({ - ...buildToolsGetActionPackAuthStatusQuery( + ...buildClientToolsRetrieveActionPackAuthStatusQuery( client, actionPackId, options, @@ -108,17 +108,20 @@ export function useToolsGetActionPackAuthStatusSuspense( }); } -export function setToolsGetActionPackAuthStatusData( +export function setClientToolsRetrieveActionPackAuthStatusData( client: QueryClient, queryKeyBase: [actionPackId: string], - data: ToolsGetActionPackAuthStatusQueryData, -): ToolsGetActionPackAuthStatusQueryData | undefined { - const key = queryKeyToolsGetActionPackAuthStatus(...queryKeyBase); + data: ClientToolsRetrieveActionPackAuthStatusQueryData, +): ClientToolsRetrieveActionPackAuthStatusQueryData | undefined { + const key = queryKeyClientToolsRetrieveActionPackAuthStatus(...queryKeyBase); - return client.setQueryData(key, data); + return client.setQueryData( + key, + data, + ); } -export function invalidateToolsGetActionPackAuthStatus( +export function invalidateClientToolsRetrieveActionPackAuthStatus( client: QueryClient, queryKeyBase: TupleToPrefixes<[actionPackId: string]>, filters?: Omit, @@ -127,19 +130,23 @@ export function invalidateToolsGetActionPackAuthStatus( ...filters, queryKey: [ "@gleanwork/api-client", - "Tools", - "getActionPackAuthStatus", + "tools", + "retrieveActionPackAuthStatus", ...queryKeyBase, ], }); } -export function invalidateAllToolsGetActionPackAuthStatus( +export function invalidateAllClientToolsRetrieveActionPackAuthStatus( client: QueryClient, filters?: Omit, ): Promise { return client.invalidateQueries({ ...filters, - queryKey: ["@gleanwork/api-client", "Tools", "getActionPackAuthStatus"], + queryKey: [ + "@gleanwork/api-client", + "tools", + "retrieveActionPackAuthStatus", + ], }); } diff --git a/src/react-query/datasourcesGetDatasourceInstanceConfiguration.core.ts b/src/react-query/datasourcesGetDatasourceInstanceConfiguration.core.ts deleted file mode 100644 index 80f7ac85..00000000 --- a/src/react-query/datasourcesGetDatasourceInstanceConfiguration.core.ts +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: a83f9926e882 - */ - -import { - QueryClient, - QueryFunctionContext, - QueryKey, -} from "@tanstack/react-query"; -import { GleanCore } from "../core.js"; -import { datasourcesGetDatasourceInstanceConfiguration } from "../funcs/datasourcesGetDatasourceInstanceConfiguration.js"; -import { combineSignals } from "../lib/primitives.js"; -import { RequestOptions } from "../lib/sdks.js"; -import * as components from "../models/components/index.js"; -import { unwrapAsync } from "../types/fp.js"; -export type DatasourcesGetDatasourceInstanceConfigurationQueryData = - components.DatasourceConfigurationResponse; - -export function prefetchDatasourcesGetDatasourceInstanceConfiguration( - queryClient: QueryClient, - client$: GleanCore, - datasourceId: string, - instanceId: string, - options?: RequestOptions, -): Promise { - return queryClient.prefetchQuery({ - ...buildDatasourcesGetDatasourceInstanceConfigurationQuery( - client$, - datasourceId, - instanceId, - options, - ), - }); -} - -export function buildDatasourcesGetDatasourceInstanceConfigurationQuery( - client$: GleanCore, - datasourceId: string, - instanceId: string, - options?: RequestOptions, -): { - queryKey: QueryKey; - queryFn: ( - context: QueryFunctionContext, - ) => Promise; -} { - return { - queryKey: queryKeyDatasourcesGetDatasourceInstanceConfiguration( - datasourceId, - instanceId, - ), - queryFn: - async function datasourcesGetDatasourceInstanceConfigurationQueryFn( - ctx, - ): Promise { - const sig = combineSignals( - ctx.signal, - options?.signal, - options?.fetchOptions?.signal, - ); - const mergedOptions = { - ...options?.fetchOptions, - ...options, - signal: sig, - }; - - return unwrapAsync(datasourcesGetDatasourceInstanceConfiguration( - client$, - datasourceId, - instanceId, - mergedOptions, - )); - }, - }; -} - -export function queryKeyDatasourcesGetDatasourceInstanceConfiguration( - datasourceId: string, - instanceId: string, -): QueryKey { - return [ - "@gleanwork/api-client", - "Datasources", - "getDatasourceInstanceConfiguration", - datasourceId, - instanceId, - ]; -} diff --git a/src/react-query/datasourcesUpdateDatasourceInstanceConfiguration.ts b/src/react-query/datasourcesUpdateDatasourceInstanceConfiguration.ts deleted file mode 100644 index e10a2966..00000000 --- a/src/react-query/datasourcesUpdateDatasourceInstanceConfiguration.ts +++ /dev/null @@ -1,131 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: ce1cd261f307 - */ - -import { - MutationKey, - useMutation, - UseMutationResult, -} from "@tanstack/react-query"; -import { GleanCore } from "../core.js"; -import { datasourcesUpdateDatasourceInstanceConfiguration } from "../funcs/datasourcesUpdateDatasourceInstanceConfiguration.js"; -import { combineSignals } from "../lib/primitives.js"; -import { RequestOptions } from "../lib/sdks.js"; -import * as components from "../models/components/index.js"; -import { GleanBaseError } from "../models/errors/gleanbaseerror.js"; -import { - ConnectionError, - InvalidRequestError, - RequestAbortedError, - RequestTimeoutError, - UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import * as errors from "../models/errors/index.js"; -import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; -import { unwrapAsync } from "../types/fp.js"; -import { useGleanContext } from "./_context.js"; -import { MutationHookOptions } from "./_types.js"; - -export type DatasourcesUpdateDatasourceInstanceConfigurationMutationVariables = - { - updateDatasourceConfigurationRequest: - components.UpdateDatasourceConfigurationRequest; - datasourceId: string; - instanceId: string; - options?: RequestOptions; - }; - -export type DatasourcesUpdateDatasourceInstanceConfigurationMutationData = - components.DatasourceConfigurationResponse; - -export type DatasourcesUpdateDatasourceInstanceConfigurationMutationError = - | errors.ErrorResponse - | GleanBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError; - -/** - * Update datasource instance configuration - * - * @remarks - * Updates the greenlisted configuration values for a datasource instance. Only configuration keys that are exposed via the public API greenlist may be set. Returns the full greenlisted configuration after the update is applied. - */ -export function useDatasourcesUpdateDatasourceInstanceConfigurationMutation( - options?: MutationHookOptions< - DatasourcesUpdateDatasourceInstanceConfigurationMutationData, - DatasourcesUpdateDatasourceInstanceConfigurationMutationError, - DatasourcesUpdateDatasourceInstanceConfigurationMutationVariables - >, -): UseMutationResult< - DatasourcesUpdateDatasourceInstanceConfigurationMutationData, - DatasourcesUpdateDatasourceInstanceConfigurationMutationError, - DatasourcesUpdateDatasourceInstanceConfigurationMutationVariables -> { - const client = useGleanContext(); - return useMutation({ - ...buildDatasourcesUpdateDatasourceInstanceConfigurationMutation( - client, - options, - ), - ...options, - }); -} - -export function mutationKeyDatasourcesUpdateDatasourceInstanceConfiguration(): MutationKey { - return [ - "@gleanwork/api-client", - "Datasources", - "updateDatasourceInstanceConfiguration", - ]; -} - -export function buildDatasourcesUpdateDatasourceInstanceConfigurationMutation( - client$: GleanCore, - hookOptions?: RequestOptions, -): { - mutationKey: MutationKey; - mutationFn: ( - variables: - DatasourcesUpdateDatasourceInstanceConfigurationMutationVariables, - ) => Promise; -} { - return { - mutationKey: mutationKeyDatasourcesUpdateDatasourceInstanceConfiguration(), - mutationFn: - function datasourcesUpdateDatasourceInstanceConfigurationMutationFn({ - updateDatasourceConfigurationRequest, - datasourceId, - instanceId, - options, - }): Promise< - DatasourcesUpdateDatasourceInstanceConfigurationMutationData - > { - const mergedOptions = { - ...hookOptions, - ...options, - fetchOptions: { - ...hookOptions?.fetchOptions, - ...options?.fetchOptions, - signal: combineSignals( - hookOptions?.fetchOptions?.signal, - options?.fetchOptions?.signal, - ), - }, - }; - return unwrapAsync(datasourcesUpdateDatasourceInstanceConfiguration( - client$, - updateDatasourceConfigurationRequest, - datasourceId, - instanceId, - mergedOptions, - )); - }, - }; -} diff --git a/src/react-query/index.ts b/src/react-query/index.ts index 6eefb550..666ec298 100644 --- a/src/react-query/index.ts +++ b/src/react-query/index.ts @@ -6,17 +6,19 @@ export { GleanProvider, useGleanContext } from "./_context.js"; export * from "./_types.js"; -export * from "./agentsCreateAgent.js"; -export * from "./agentsEditAgent.js"; -export * from "./authenticationCheckdatasourceauth.js"; -export * from "./chatGetChatFile.js"; +export * from "./agentsCreateRun.js"; +export * from "./agentsGet.js"; +export * from "./agentsGetSchemas.js"; +export * from "./agentsSearch.js"; export * from "./clientActivityFeedback.js"; export * from "./clientActivityReport.js"; +export * from "./clientAgentsCreate.js"; export * from "./clientAgentsList.js"; export * from "./clientAgentsRetrieve.js"; export * from "./clientAgentsRetrieveSchemas.js"; export * from "./clientAgentsRun.js"; export * from "./clientAgentsRunStream.js"; +export * from "./clientAgentsUpdate.js"; export * from "./clientAnnouncementsCreate.js"; export * from "./clientAnnouncementsDelete.js"; export * from "./clientAnnouncementsUpdate.js"; @@ -25,6 +27,7 @@ export * from "./clientAnswersDelete.js"; export * from "./clientAnswersList.js"; export * from "./clientAnswersRetrieve.js"; export * from "./clientAnswersUpdate.js"; +export * from "./clientAuthenticationCheckDatasourceAuth.js"; export * from "./clientAuthenticationCreateToken.js"; export * from "./clientChatCreate.js"; export * from "./clientChatCreateStream.js"; @@ -34,6 +37,7 @@ export * from "./clientChatDeleteFiles.js"; export * from "./clientChatList.js"; export * from "./clientChatRetrieve.js"; export * from "./clientChatRetrieveApplication.js"; +export * from "./clientChatRetrieveFile.js"; export * from "./clientChatRetrieveFiles.js"; export * from "./clientChatUploadFiles.js"; export * from "./clientCollectionsAddItems.js"; @@ -44,12 +48,21 @@ export * from "./clientCollectionsList.js"; export * from "./clientCollectionsRetrieve.js"; export * from "./clientCollectionsUpdate.js"; export * from "./clientCollectionsUpdateItem.js"; +export * from "./clientDatasourcesRetrieveConfiguration.js"; +export * from "./clientDatasourcesRetrieveCredentialStatus.js"; +export * from "./clientDatasourcesRotateCredentials.js"; +export * from "./clientDatasourcesUpdateConfiguration.js"; export * from "./clientDocumentsRetrieve.js"; export * from "./clientDocumentsRetrieveByFacets.js"; export * from "./clientDocumentsRetrievePermissions.js"; export * from "./clientDocumentsSummarize.js"; export * from "./clientEntitiesList.js"; export * from "./clientEntitiesReadPeople.js"; +export * from "./clientEntitiesRetrievePersonPhoto.js"; +export * from "./clientGovernanceDataFindingsCreate.js"; +export * from "./clientGovernanceDataFindingsDelete.js"; +export * from "./clientGovernanceDataFindingsDownload.js"; +export * from "./clientGovernanceDataFindingsList.js"; export * from "./clientGovernanceDataPoliciesCreate.js"; export * from "./clientGovernanceDataPoliciesDownload.js"; export * from "./clientGovernanceDataPoliciesList.js"; @@ -77,20 +90,13 @@ export * from "./clientShortcutsDelete.js"; export * from "./clientShortcutsList.js"; export * from "./clientShortcutsRetrieve.js"; export * from "./clientShortcutsUpdate.js"; +export * from "./clientToolsAuthorizeActionPack.js"; export * from "./clientToolsList.js"; +export * from "./clientToolsRetrieveActionPackAuthStatus.js"; export * from "./clientToolsRun.js"; export * from "./clientVerificationAddReminder.js"; export * from "./clientVerificationList.js"; export * from "./clientVerificationVerify.js"; -export * from "./datasourcesGetDatasourceCredentialStatus.js"; -export * from "./datasourcesGetDatasourceInstanceConfiguration.js"; -export * from "./datasourcesRotateDatasourceCredentials.js"; -export * from "./datasourcesUpdateDatasourceInstanceConfiguration.js"; -export * from "./entitiesGetPersonPhoto.js"; -export * from "./governanceCreatefindingsexport.js"; -export * from "./governanceDeletefindingsexport.js"; -export * from "./governanceDownloadfindingsexport.js"; -export * from "./governanceListfindingsexports.js"; export * from "./indexingAuthenticationRotateToken.js"; export * from "./indexingCustomMetadataDelete.js"; export * from "./indexingCustomMetadataDeleteSchema.js"; @@ -105,6 +111,7 @@ export * from "./indexingDocumentsBulkIndex.js"; export * from "./indexingDocumentsCheckAccess.js"; export * from "./indexingDocumentsCount.js"; export * from "./indexingDocumentsDebug.js"; +export * from "./indexingDocumentsDebugEvents.js"; export * from "./indexingDocumentsDebugMany.js"; export * from "./indexingDocumentsDelete.js"; export * from "./indexingDocumentsIndex.js"; @@ -133,6 +140,4 @@ export * from "./indexingPermissionsProcessMemberships.js"; export * from "./indexingPermissionsUpdatePermissions.js"; export * from "./indexingShortcutsBulkIndex.js"; export * from "./indexingShortcutsUpload.js"; -export * from "./toolsAuthorizeActionPack.js"; -export * from "./toolsGetActionPackAuthStatus.js"; -export * from "./troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents.js"; +export * from "./searchQuery.js"; diff --git a/src/react-query/indexingDocumentsDebugEvents.ts b/src/react-query/indexingDocumentsDebugEvents.ts new file mode 100644 index 00000000..c455e911 --- /dev/null +++ b/src/react-query/indexingDocumentsDebugEvents.ts @@ -0,0 +1,113 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: a35a22a5a14c + */ + +import { + MutationKey, + useMutation, + UseMutationResult, +} from "@tanstack/react-query"; +import { GleanCore } from "../core.js"; +import { indexingDocumentsDebugEvents } from "../funcs/indexingDocumentsDebugEvents.js"; +import { combineSignals } from "../lib/primitives.js"; +import { RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import { GleanBaseError } from "../models/errors/gleanbaseerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import { unwrapAsync } from "../types/fp.js"; +import { useGleanContext } from "./_context.js"; +import { MutationHookOptions } from "./_types.js"; + +export type IndexingDocumentsDebugEventsMutationVariables = { + debugDocumentLifecycleRequest: components.DebugDocumentLifecycleRequest; + datasource: string; + options?: RequestOptions; +}; + +export type IndexingDocumentsDebugEventsMutationData = + components.DebugDocumentLifecycleResponse; + +export type IndexingDocumentsDebugEventsMutationError = + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError; + +/** + * Beta: Get document lifecycle events + * + * @remarks + * Retrieves lifecycle events for a specific document including upload time, index times and deletions. Rate limited to 1 request per minute per datasource. Currently in beta, might undergo breaking changes without prior notice. + */ +export function useIndexingDocumentsDebugEventsMutation( + options?: MutationHookOptions< + IndexingDocumentsDebugEventsMutationData, + IndexingDocumentsDebugEventsMutationError, + IndexingDocumentsDebugEventsMutationVariables + >, +): UseMutationResult< + IndexingDocumentsDebugEventsMutationData, + IndexingDocumentsDebugEventsMutationError, + IndexingDocumentsDebugEventsMutationVariables +> { + const client = useGleanContext(); + return useMutation({ + ...buildIndexingDocumentsDebugEventsMutation(client, options), + ...options, + }); +} + +export function mutationKeyIndexingDocumentsDebugEvents(): MutationKey { + return ["@gleanwork/api-client", "documents", "debugEvents"]; +} + +export function buildIndexingDocumentsDebugEventsMutation( + client$: GleanCore, + hookOptions?: RequestOptions, +): { + mutationKey: MutationKey; + mutationFn: ( + variables: IndexingDocumentsDebugEventsMutationVariables, + ) => Promise; +} { + return { + mutationKey: mutationKeyIndexingDocumentsDebugEvents(), + mutationFn: function indexingDocumentsDebugEventsMutationFn({ + debugDocumentLifecycleRequest, + datasource, + options, + }): Promise { + const mergedOptions = { + ...hookOptions, + ...options, + fetchOptions: { + ...hookOptions?.fetchOptions, + ...options?.fetchOptions, + signal: combineSignals( + hookOptions?.fetchOptions?.signal, + options?.fetchOptions?.signal, + ), + }, + }; + return unwrapAsync(indexingDocumentsDebugEvents( + client$, + debugDocumentLifecycleRequest, + datasource, + mergedOptions, + )); + }, + }; +} diff --git a/src/react-query/searchQuery.ts b/src/react-query/searchQuery.ts new file mode 100644 index 00000000..bc4f7e63 --- /dev/null +++ b/src/react-query/searchQuery.ts @@ -0,0 +1,111 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: a67629da8040 + */ + +import { + MutationKey, + useMutation, + UseMutationResult, +} from "@tanstack/react-query"; +import { GleanCore } from "../core.js"; +import { searchQuery } from "../funcs/searchQuery.js"; +import { combineSignals } from "../lib/primitives.js"; +import { RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import { GleanBaseError } from "../models/errors/gleanbaseerror.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import * as errors from "../models/errors/index.js"; +import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import { unwrapAsync } from "../types/fp.js"; +import { useGleanContext } from "./_context.js"; +import { MutationHookOptions } from "./_types.js"; + +export type SearchQueryMutationVariables = { + request: components.PlatformSearchRequest; + options?: RequestOptions; +}; + +export type SearchQueryMutationData = components.PlatformSearchResponse; + +export type SearchQueryMutationError = + | errors.PlatformProblemDetailError + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError; + +/** + * Search + * + * @remarks + * Execute a search query and retrieve ranked results. This is the data retrieval variant of the search API and returns only results and pagination state. + */ +export function useSearchQueryMutation( + options?: MutationHookOptions< + SearchQueryMutationData, + SearchQueryMutationError, + SearchQueryMutationVariables + >, +): UseMutationResult< + SearchQueryMutationData, + SearchQueryMutationError, + SearchQueryMutationVariables +> { + const client = useGleanContext(); + return useMutation({ + ...buildSearchQueryMutation(client, options), + ...options, + }); +} + +export function mutationKeySearchQuery(): MutationKey { + return ["@gleanwork/api-client", "search", "query"]; +} + +export function buildSearchQueryMutation( + client$: GleanCore, + hookOptions?: RequestOptions, +): { + mutationKey: MutationKey; + mutationFn: ( + variables: SearchQueryMutationVariables, + ) => Promise; +} { + return { + mutationKey: mutationKeySearchQuery(), + mutationFn: function searchQueryMutationFn({ + request, + options, + }): Promise { + const mergedOptions = { + ...hookOptions, + ...options, + fetchOptions: { + ...hookOptions?.fetchOptions, + ...options?.fetchOptions, + signal: combineSignals( + hookOptions?.fetchOptions?.signal, + options?.fetchOptions?.signal, + ), + }, + }; + return unwrapAsync(searchQuery( + client$, + request, + mergedOptions, + )); + }, + }; +} diff --git a/src/react-query/troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents.ts b/src/react-query/troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents.ts deleted file mode 100644 index b845dda2..00000000 --- a/src/react-query/troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents.ts +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 25aad4d97aeb - */ - -import { - MutationKey, - useMutation, - UseMutationResult, -} from "@tanstack/react-query"; -import { GleanCore } from "../core.js"; -import { troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents } from "../funcs/troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents.js"; -import { combineSignals } from "../lib/primitives.js"; -import { RequestOptions } from "../lib/sdks.js"; -import * as components from "../models/components/index.js"; -import { GleanBaseError } from "../models/errors/gleanbaseerror.js"; -import { - ConnectionError, - InvalidRequestError, - RequestAbortedError, - RequestTimeoutError, - UnexpectedClientError, -} from "../models/errors/httpclienterrors.js"; -import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; -import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; -import { unwrapAsync } from "../types/fp.js"; -import { useGleanContext } from "./_context.js"; -import { MutationHookOptions } from "./_types.js"; - -export type TroubleshootingPostApiIndexV1DebugDatasourceDocumentEventsMutationVariables = - { - debugDocumentLifecycleRequest: components.DebugDocumentLifecycleRequest; - datasource: string; - options?: RequestOptions; - }; - -export type TroubleshootingPostApiIndexV1DebugDatasourceDocumentEventsMutationData = - components.DebugDocumentLifecycleResponse; - -export type TroubleshootingPostApiIndexV1DebugDatasourceDocumentEventsMutationError = - | GleanBaseError - | ResponseValidationError - | ConnectionError - | RequestAbortedError - | RequestTimeoutError - | InvalidRequestError - | UnexpectedClientError - | SDKValidationError; - -/** - * Beta: Get document lifecycle events - * - * @remarks - * Retrieves lifecycle events for a specific document including upload time, index times and deletions. Rate limited to 1 request per minute per datasource. Currently in beta, might undergo breaking changes without prior notice. - */ -export function useTroubleshootingPostApiIndexV1DebugDatasourceDocumentEventsMutation( - options?: MutationHookOptions< - TroubleshootingPostApiIndexV1DebugDatasourceDocumentEventsMutationData, - TroubleshootingPostApiIndexV1DebugDatasourceDocumentEventsMutationError, - TroubleshootingPostApiIndexV1DebugDatasourceDocumentEventsMutationVariables - >, -): UseMutationResult< - TroubleshootingPostApiIndexV1DebugDatasourceDocumentEventsMutationData, - TroubleshootingPostApiIndexV1DebugDatasourceDocumentEventsMutationError, - TroubleshootingPostApiIndexV1DebugDatasourceDocumentEventsMutationVariables -> { - const client = useGleanContext(); - return useMutation({ - ...buildTroubleshootingPostApiIndexV1DebugDatasourceDocumentEventsMutation( - client, - options, - ), - ...options, - }); -} - -export function mutationKeyTroubleshootingPostApiIndexV1DebugDatasourceDocumentEvents(): MutationKey { - return [ - "@gleanwork/api-client", - "Troubleshooting", - "postApiIndexV1DebugDatasourceDocumentEvents", - ]; -} - -export function buildTroubleshootingPostApiIndexV1DebugDatasourceDocumentEventsMutation( - client$: GleanCore, - hookOptions?: RequestOptions, -): { - mutationKey: MutationKey; - mutationFn: ( - variables: - TroubleshootingPostApiIndexV1DebugDatasourceDocumentEventsMutationVariables, - ) => Promise< - TroubleshootingPostApiIndexV1DebugDatasourceDocumentEventsMutationData - >; -} { - return { - mutationKey: - mutationKeyTroubleshootingPostApiIndexV1DebugDatasourceDocumentEvents(), - mutationFn: - function troubleshootingPostApiIndexV1DebugDatasourceDocumentEventsMutationFn( - { - debugDocumentLifecycleRequest, - datasource, - options, - }, - ): Promise< - TroubleshootingPostApiIndexV1DebugDatasourceDocumentEventsMutationData - > { - const mergedOptions = { - ...hookOptions, - ...options, - fetchOptions: { - ...hookOptions?.fetchOptions, - ...options?.fetchOptions, - signal: combineSignals( - hookOptions?.fetchOptions?.signal, - options?.fetchOptions?.signal, - ), - }, - }; - return unwrapAsync( - troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents( - client$, - debugDocumentLifecycleRequest, - datasource, - mergedOptions, - ), - ); - }, - }; -} diff --git a/src/sdk/agents.ts b/src/sdk/agents.ts index 3649e257..69da82eb 100644 --- a/src/sdk/agents.ts +++ b/src/sdk/agents.ts @@ -3,53 +3,89 @@ * @generated-id: a103cd018c9b */ -import { agentsCreateAgent } from "../funcs/agentsCreateAgent.js"; -import { agentsEditAgent } from "../funcs/agentsEditAgent.js"; +import { + agentsCreateRun, + CreateRunAcceptEnum, +} from "../funcs/agentsCreateRun.js"; +import { agentsGet } from "../funcs/agentsGet.js"; +import { agentsGetSchemas } from "../funcs/agentsGetSchemas.js"; +import { agentsSearch } from "../funcs/agentsSearch.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; +import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; +export { CreateRunAcceptEnum } from "../funcs/agentsCreateRun.js"; + export class Agents extends ClientSDK { /** - * Create an agent + * Search agents + * + * @remarks + * Search agents available to the authenticated user by agent name. + */ + async search( + request: components.PlatformAgentsSearchRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(agentsSearch( + this, + request, + options, + )); + } + + /** + * Get agent * * @remarks - * Create an agent. + * Retrieve details for an agent available to the authenticated user. */ - async createAgent( - createWorkflowRequest: components.CreateWorkflowRequest, - locale?: string | undefined, - timezoneOffset?: number | undefined, + async get( + agentId: string, options?: RequestOptions, - ): Promise { - return unwrapAsync(agentsCreateAgent( + ): Promise { + return unwrapAsync(agentsGet( this, - createWorkflowRequest, - locale, - timezoneOffset, + agentId, options, )); } /** - * Edit an agent + * Get agent schemas * * @remarks - * Creates a draft or publishes an [agent](https://developers.glean.com/agents/agents-api). Use `isDraft=true` to save a draft, or `isDraft=false` (or omit) to publish immediately. Only draft and publish modes are supported. + * Retrieve an agent's input and output JSON schemas. */ - async editAgent( - editWorkflowRequest: components.EditWorkflowRequest, + async getSchemas( agentId: string, - locale?: string | undefined, - timezoneOffset?: number | undefined, + includeTools?: boolean | undefined, options?: RequestOptions, - ): Promise { - return unwrapAsync(agentsEditAgent( + ): Promise { + return unwrapAsync(agentsGetSchemas( + this, + agentId, + includeTools, + options, + )); + } + + /** + * Create agent run + * + * @remarks + * Execute an agent run. Set `stream` to true to receive server-sent events; otherwise the response contains the final agent messages. + */ + async createRun( + platformAgentRunCreateRequest: components.PlatformAgentRunCreateRequest, + agentId: string, + options?: RequestOptions & { acceptHeaderOverride?: CreateRunAcceptEnum }, + ): Promise { + return unwrapAsync(agentsCreateRun( this, - editWorkflowRequest, + platformAgentRunCreateRequest, agentId, - locale, - timezoneOffset, options, )); } diff --git a/src/sdk/authentication.ts b/src/sdk/authentication.ts deleted file mode 100644 index 2229628c..00000000 --- a/src/sdk/authentication.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 627e108b9d4b - */ - -import { authenticationCheckdatasourceauth } from "../funcs/authenticationCheckdatasourceauth.js"; -import { ClientSDK, RequestOptions } from "../lib/sdks.js"; -import * as components from "../models/components/index.js"; -import { unwrapAsync } from "../types/fp.js"; - -export class Authentication extends ClientSDK { - /** - * Check datasource authorization - * - * @remarks - * Returns all datasource instances that require per-user OAuth authorization - * for the authenticated user, along with a transient auth token that can be - * appended to auth URLs to complete OAuth flows. - * - * Clients construct the full OAuth URL by combining the backend base URL, - * the `authUrlRelativePath` from each instance, and the transient auth token: - * `/?transient_auth_token=`. - */ - async checkdatasourceauth( - options?: RequestOptions, - ): Promise { - return unwrapAsync(authenticationCheckdatasourceauth( - this, - options, - )); - } -} diff --git a/src/sdk/chat.ts b/src/sdk/chat.ts index 58db5831..c3c06564 100644 --- a/src/sdk/chat.ts +++ b/src/sdk/chat.ts @@ -3,27 +3,242 @@ * @generated-id: c56babc22a20 */ -import { chatGetChatFile } from "../funcs/chatGetChatFile.js"; +import { clientChatCreate } from "../funcs/clientChatCreate.js"; +import { clientChatCreateStream } from "../funcs/clientChatCreateStream.js"; +import { clientChatDelete } from "../funcs/clientChatDelete.js"; +import { clientChatDeleteAll } from "../funcs/clientChatDeleteAll.js"; +import { clientChatDeleteFiles } from "../funcs/clientChatDeleteFiles.js"; +import { clientChatList } from "../funcs/clientChatList.js"; +import { clientChatRetrieve } from "../funcs/clientChatRetrieve.js"; +import { clientChatRetrieveApplication } from "../funcs/clientChatRetrieveApplication.js"; +import { clientChatRetrieveFile } from "../funcs/clientChatRetrieveFile.js"; +import { clientChatRetrieveFiles } from "../funcs/clientChatRetrieveFiles.js"; +import { clientChatUploadFiles } from "../funcs/clientChatUploadFiles.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; import { unwrapAsync } from "../types/fp.js"; export class Chat extends ClientSDK { + /** + * Chat + * + * @remarks + * Have a conversation with Glean AI. + */ + async create( + chatRequest: components.ChatRequest, + locale?: string | undefined, + timezoneOffset?: number | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientChatCreate( + this, + chatRequest, + locale, + timezoneOffset, + options, + )); + } + + /** + * Deletes all saved Chats owned by a user + * + * @remarks + * Deletes all saved Chats a user has had and all their contained conversational content. + */ + async deleteAll( + locale?: string | undefined, + timezoneOffset?: number | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientChatDeleteAll( + this, + locale, + timezoneOffset, + options, + )); + } + + /** + * Deletes saved Chats + * + * @remarks + * Deletes saved Chats and all their contained conversational content. + */ + async delete( + deleteChatsRequest: components.DeleteChatsRequest, + locale?: string | undefined, + timezoneOffset?: number | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientChatDelete( + this, + deleteChatsRequest, + locale, + timezoneOffset, + options, + )); + } + + /** + * Retrieves a Chat + * + * @remarks + * Retrieves the chat history between Glean Assistant and the user for a given Chat. + */ + async retrieve( + getChatRequest: components.GetChatRequest, + locale?: string | undefined, + timezoneOffset?: number | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientChatRetrieve( + this, + getChatRequest, + locale, + timezoneOffset, + options, + )); + } + + /** + * Retrieves all saved Chats + * + * @remarks + * Retrieves all the saved Chats between Glean Assistant and the user. The returned Chats contain only metadata and no conversational content. + */ + async list( + locale?: string | undefined, + timezoneOffset?: number | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientChatList( + this, + locale, + timezoneOffset, + options, + )); + } + + /** + * Gets the metadata for a custom Chat application + * + * @remarks + * Gets the Chat application details for the specified application ID. + */ + async retrieveApplication( + getChatApplicationRequest: components.GetChatApplicationRequest, + locale?: string | undefined, + timezoneOffset?: number | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientChatRetrieveApplication( + this, + getChatApplicationRequest, + locale, + timezoneOffset, + options, + )); + } + + /** + * Upload files for Chat + * + * @remarks + * Upload files for Chat. + */ + async uploadFiles( + uploadChatFilesRequest: components.UploadChatFilesRequest, + locale?: string | undefined, + timezoneOffset?: number | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientChatUploadFiles( + this, + uploadChatFilesRequest, + locale, + timezoneOffset, + options, + )); + } + + /** + * Get files uploaded by a user for Chat + * + * @remarks + * Get files uploaded by a user for Chat. + */ + async retrieveFiles( + getChatFilesRequest: components.GetChatFilesRequest, + locale?: string | undefined, + timezoneOffset?: number | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientChatRetrieveFiles( + this, + getChatFilesRequest, + locale, + timezoneOffset, + options, + )); + } + + /** + * Delete files uploaded by a user for chat + * + * @remarks + * Delete files uploaded by a user for Chat. + */ + async deleteFiles( + deleteChatFilesRequest: components.DeleteChatFilesRequest, + locale?: string | undefined, + timezoneOffset?: number | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientChatDeleteFiles( + this, + deleteChatFilesRequest, + locale, + timezoneOffset, + options, + )); + } + /** * Download a chat file * * @remarks * Download the raw content of a file generated or uploaded during a chat session (for example, an image produced by the assistant). Returns the file bytes with a Content-Type header matching the file's MIME type. */ - async getChatFile( + async retrieveFile( fileId: string, preview?: boolean | undefined, options?: RequestOptions, ): Promise> { - return unwrapAsync(chatGetChatFile( + return unwrapAsync(clientChatRetrieveFile( this, fileId, preview, options, )); } + + /** + * Chat + * + * @remarks + * Have a conversation with Glean AI. + */ + async createStream( + chatRequest: components.ChatRequest, + timezoneOffset?: number | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientChatCreateStream( + this, + chatRequest, + timezoneOffset, + options, + )); + } } diff --git a/src/sdk/client.ts b/src/sdk/client.ts index 63de8d54..14fc3d19 100644 --- a/src/sdk/client.ts +++ b/src/sdk/client.ts @@ -7,19 +7,20 @@ import { ClientSDK } from "../lib/sdks.js"; import { Activity } from "./activity.js"; import { Announcements } from "./announcements.js"; import { Answers } from "./answers.js"; +import { Chat } from "./chat.js"; import { ClientAgents } from "./clientagents.js"; import { ClientAuthentication } from "./clientauthentication.js"; -import { ClientChat } from "./clientchat.js"; +import { ClientDatasources } from "./clientdatasources.js"; import { ClientDocuments } from "./clientdocuments.js"; -import { ClientEntities } from "./cliententities.js"; -import { ClientGovernance } from "./clientgovernance.js"; +import { ClientSearch } from "./clientsearch.js"; import { ClientShortcuts } from "./clientshortcuts.js"; -import { ClientTools } from "./clienttools.js"; import { Collections } from "./collections.js"; +import { Entities } from "./entities.js"; +import { Governance } from "./governance.js"; import { Insights } from "./insights.js"; import { Messages } from "./messages.js"; import { Pins } from "./pins.js"; -import { Search } from "./search.js"; +import { Tools } from "./tools.js"; import { Verification } from "./verification.js"; export class Client extends ClientSDK { @@ -43,9 +44,9 @@ export class Client extends ClientSDK { return (this._authentication ??= new ClientAuthentication(this._options)); } - private _chat?: ClientChat; - get chat(): ClientChat { - return (this._chat ??= new ClientChat(this._options)); + private _chat?: Chat; + get chat(): Chat { + return (this._chat ??= new Chat(this._options)); } private _agents?: ClientAgents; @@ -78,14 +79,14 @@ export class Client extends ClientSDK { return (this._pins ??= new Pins(this._options)); } - private _search?: Search; - get search(): Search { - return (this._search ??= new Search(this._options)); + private _search?: ClientSearch; + get search(): ClientSearch { + return (this._search ??= new ClientSearch(this._options)); } - private _entities?: ClientEntities; - get entities(): ClientEntities { - return (this._entities ??= new ClientEntities(this._options)); + private _entities?: Entities; + get entities(): Entities { + return (this._entities ??= new Entities(this._options)); } private _shortcuts?: ClientShortcuts; @@ -98,13 +99,18 @@ export class Client extends ClientSDK { return (this._verification ??= new Verification(this._options)); } - private _tools?: ClientTools; - get tools(): ClientTools { - return (this._tools ??= new ClientTools(this._options)); + private _tools?: Tools; + get tools(): Tools { + return (this._tools ??= new Tools(this._options)); } - private _governance?: ClientGovernance; - get governance(): ClientGovernance { - return (this._governance ??= new ClientGovernance(this._options)); + private _governance?: Governance; + get governance(): Governance { + return (this._governance ??= new Governance(this._options)); + } + + private _datasources?: ClientDatasources; + get datasources(): ClientDatasources { + return (this._datasources ??= new ClientDatasources(this._options)); } } diff --git a/src/sdk/clientagents.ts b/src/sdk/clientagents.ts index 17d6b434..26db234a 100644 --- a/src/sdk/clientagents.ts +++ b/src/sdk/clientagents.ts @@ -3,16 +3,39 @@ * @generated-id: 7864a10ac52c */ +import { clientAgentsCreate } from "../funcs/clientAgentsCreate.js"; import { clientAgentsList } from "../funcs/clientAgentsList.js"; import { clientAgentsRetrieve } from "../funcs/clientAgentsRetrieve.js"; import { clientAgentsRetrieveSchemas } from "../funcs/clientAgentsRetrieveSchemas.js"; import { clientAgentsRun } from "../funcs/clientAgentsRun.js"; import { clientAgentsRunStream } from "../funcs/clientAgentsRunStream.js"; +import { clientAgentsUpdate } from "../funcs/clientAgentsUpdate.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { unwrapAsync } from "../types/fp.js"; export class ClientAgents extends ClientSDK { + /** + * Create an agent + * + * @remarks + * Create an agent. + */ + async create( + createWorkflowRequest: components.CreateWorkflowRequest, + locale?: string | undefined, + timezoneOffset?: number | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientAgentsCreate( + this, + createWorkflowRequest, + locale, + timezoneOffset, + options, + )); + } + /** * Retrieve an agent * @@ -34,6 +57,29 @@ export class ClientAgents extends ClientSDK { )); } + /** + * Edit an agent + * + * @remarks + * Creates a draft or publishes an [agent](https://developers.glean.com/agents/agents-api). Use `isDraft=true` to save a draft, or `isDraft=false` (or omit) to publish immediately. Only draft and publish modes are supported. + */ + async update( + editWorkflowRequest: components.EditWorkflowRequest, + agentId: string, + locale?: string | undefined, + timezoneOffset?: number | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientAgentsUpdate( + this, + editWorkflowRequest, + agentId, + locale, + timezoneOffset, + options, + )); + } + /** * List an agent's schemas * diff --git a/src/sdk/clientauthentication.ts b/src/sdk/clientauthentication.ts index e9a2cc2c..db356634 100644 --- a/src/sdk/clientauthentication.ts +++ b/src/sdk/clientauthentication.ts @@ -3,12 +3,34 @@ * @generated-id: dd653d48dc6a */ +import { clientAuthenticationCheckDatasourceAuth } from "../funcs/clientAuthenticationCheckDatasourceAuth.js"; import { clientAuthenticationCreateToken } from "../funcs/clientAuthenticationCreateToken.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { unwrapAsync } from "../types/fp.js"; export class ClientAuthentication extends ClientSDK { + /** + * Check datasource authorization + * + * @remarks + * Returns all datasource instances that require per-user OAuth authorization + * for the authenticated user, along with a transient auth token that can be + * appended to auth URLs to complete OAuth flows. + * + * Clients construct the full OAuth URL by combining the backend base URL, + * the `authUrlRelativePath` from each instance, and the transient auth token: + * `/?transient_auth_token=`. + */ + async checkDatasourceAuth( + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientAuthenticationCheckDatasourceAuth( + this, + options, + )); + } + /** * Create authentication token * diff --git a/src/sdk/clientchat.ts b/src/sdk/clientchat.ts deleted file mode 100644 index 943b9815..00000000 --- a/src/sdk/clientchat.ts +++ /dev/null @@ -1,224 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 85f32ab09218 - */ - -import { clientChatCreate } from "../funcs/clientChatCreate.js"; -import { clientChatCreateStream } from "../funcs/clientChatCreateStream.js"; -import { clientChatDelete } from "../funcs/clientChatDelete.js"; -import { clientChatDeleteAll } from "../funcs/clientChatDeleteAll.js"; -import { clientChatDeleteFiles } from "../funcs/clientChatDeleteFiles.js"; -import { clientChatList } from "../funcs/clientChatList.js"; -import { clientChatRetrieve } from "../funcs/clientChatRetrieve.js"; -import { clientChatRetrieveApplication } from "../funcs/clientChatRetrieveApplication.js"; -import { clientChatRetrieveFiles } from "../funcs/clientChatRetrieveFiles.js"; -import { clientChatUploadFiles } from "../funcs/clientChatUploadFiles.js"; -import { ClientSDK, RequestOptions } from "../lib/sdks.js"; -import * as components from "../models/components/index.js"; -import { unwrapAsync } from "../types/fp.js"; - -export class ClientChat extends ClientSDK { - /** - * Chat - * - * @remarks - * Have a conversation with Glean AI. - */ - async create( - chatRequest: components.ChatRequest, - locale?: string | undefined, - timezoneOffset?: number | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientChatCreate( - this, - chatRequest, - locale, - timezoneOffset, - options, - )); - } - - /** - * Deletes all saved Chats owned by a user - * - * @remarks - * Deletes all saved Chats a user has had and all their contained conversational content. - */ - async deleteAll( - locale?: string | undefined, - timezoneOffset?: number | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientChatDeleteAll( - this, - locale, - timezoneOffset, - options, - )); - } - - /** - * Deletes saved Chats - * - * @remarks - * Deletes saved Chats and all their contained conversational content. - */ - async delete( - deleteChatsRequest: components.DeleteChatsRequest, - locale?: string | undefined, - timezoneOffset?: number | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientChatDelete( - this, - deleteChatsRequest, - locale, - timezoneOffset, - options, - )); - } - - /** - * Retrieves a Chat - * - * @remarks - * Retrieves the chat history between Glean Assistant and the user for a given Chat. - */ - async retrieve( - getChatRequest: components.GetChatRequest, - locale?: string | undefined, - timezoneOffset?: number | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientChatRetrieve( - this, - getChatRequest, - locale, - timezoneOffset, - options, - )); - } - - /** - * Retrieves all saved Chats - * - * @remarks - * Retrieves all the saved Chats between Glean Assistant and the user. The returned Chats contain only metadata and no conversational content. - */ - async list( - locale?: string | undefined, - timezoneOffset?: number | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientChatList( - this, - locale, - timezoneOffset, - options, - )); - } - - /** - * Gets the metadata for a custom Chat application - * - * @remarks - * Gets the Chat application details for the specified application ID. - */ - async retrieveApplication( - getChatApplicationRequest: components.GetChatApplicationRequest, - locale?: string | undefined, - timezoneOffset?: number | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientChatRetrieveApplication( - this, - getChatApplicationRequest, - locale, - timezoneOffset, - options, - )); - } - - /** - * Upload files for Chat - * - * @remarks - * Upload files for Chat. - */ - async uploadFiles( - uploadChatFilesRequest: components.UploadChatFilesRequest, - locale?: string | undefined, - timezoneOffset?: number | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientChatUploadFiles( - this, - uploadChatFilesRequest, - locale, - timezoneOffset, - options, - )); - } - - /** - * Get files uploaded by a user for Chat - * - * @remarks - * Get files uploaded by a user for Chat. - */ - async retrieveFiles( - getChatFilesRequest: components.GetChatFilesRequest, - locale?: string | undefined, - timezoneOffset?: number | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientChatRetrieveFiles( - this, - getChatFilesRequest, - locale, - timezoneOffset, - options, - )); - } - - /** - * Delete files uploaded by a user for chat - * - * @remarks - * Delete files uploaded by a user for Chat. - */ - async deleteFiles( - deleteChatFilesRequest: components.DeleteChatFilesRequest, - locale?: string | undefined, - timezoneOffset?: number | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientChatDeleteFiles( - this, - deleteChatFilesRequest, - locale, - timezoneOffset, - options, - )); - } - - /** - * Chat - * - * @remarks - * Have a conversation with Glean AI. - */ - async createStream( - chatRequest: components.ChatRequest, - timezoneOffset?: number | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientChatCreateStream( - this, - chatRequest, - timezoneOffset, - options, - )); - } -} diff --git a/src/sdk/datasources.ts b/src/sdk/clientdatasources.ts similarity index 74% rename from src/sdk/datasources.ts rename to src/sdk/clientdatasources.ts index 54be74d8..4114699c 100644 --- a/src/sdk/datasources.ts +++ b/src/sdk/clientdatasources.ts @@ -1,29 +1,29 @@ /* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 16d5d120f477 + * @generated-id: 18ba361f511a */ -import { datasourcesGetDatasourceCredentialStatus } from "../funcs/datasourcesGetDatasourceCredentialStatus.js"; -import { datasourcesGetDatasourceInstanceConfiguration } from "../funcs/datasourcesGetDatasourceInstanceConfiguration.js"; -import { datasourcesRotateDatasourceCredentials } from "../funcs/datasourcesRotateDatasourceCredentials.js"; -import { datasourcesUpdateDatasourceInstanceConfiguration } from "../funcs/datasourcesUpdateDatasourceInstanceConfiguration.js"; +import { clientDatasourcesRetrieveConfiguration } from "../funcs/clientDatasourcesRetrieveConfiguration.js"; +import { clientDatasourcesRetrieveCredentialStatus } from "../funcs/clientDatasourcesRetrieveCredentialStatus.js"; +import { clientDatasourcesRotateCredentials } from "../funcs/clientDatasourcesRotateCredentials.js"; +import { clientDatasourcesUpdateConfiguration } from "../funcs/clientDatasourcesUpdateConfiguration.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { unwrapAsync } from "../types/fp.js"; -export class Datasources extends ClientSDK { +export class ClientDatasources extends ClientSDK { /** * Get datasource instance configuration * * @remarks * Gets the greenlisted configuration values for a datasource instance. Returns only configuration keys that are exposed via the public API greenlist. */ - async getDatasourceInstanceConfiguration( + async retrieveConfiguration( datasourceId: string, instanceId: string, options?: RequestOptions, ): Promise { - return unwrapAsync(datasourcesGetDatasourceInstanceConfiguration( + return unwrapAsync(clientDatasourcesRetrieveConfiguration( this, datasourceId, instanceId, @@ -37,14 +37,14 @@ export class Datasources extends ClientSDK { * @remarks * Updates the greenlisted configuration values for a datasource instance. Only configuration keys that are exposed via the public API greenlist may be set. Returns the full greenlisted configuration after the update is applied. */ - async updateDatasourceInstanceConfiguration( + async updateConfiguration( updateDatasourceConfigurationRequest: components.UpdateDatasourceConfigurationRequest, datasourceId: string, instanceId: string, options?: RequestOptions, ): Promise { - return unwrapAsync(datasourcesUpdateDatasourceInstanceConfiguration( + return unwrapAsync(clientDatasourcesUpdateConfiguration( this, updateDatasourceConfigurationRequest, datasourceId, @@ -59,11 +59,11 @@ export class Datasources extends ClientSDK { * @remarks * Returns the current credential status for a datasource instance. Access is limited to callers with the ADMIN scope; the handler enforces this check. */ - async getDatasourceCredentialStatus( + async retrieveCredentialStatus( datasourceInstanceId: string, options?: RequestOptions, ): Promise { - return unwrapAsync(datasourcesGetDatasourceCredentialStatus( + return unwrapAsync(clientDatasourcesRetrieveCredentialStatus( this, datasourceInstanceId, options, @@ -77,13 +77,13 @@ export class Datasources extends ClientSDK { * Rotates the credentials that a datasource instance uses to connect to its upstream system. Replaces the active credential material with the supplied values and returns the credential status after rotation. Access is limited to callers with the ADMIN scope; the handler enforces this check. * Only keys recognized as credential material for the datasource type may be set in `credentials.values` (e.g. `clientSecret`, `apiToken`, `privateKey`, depending on the configured auth method). Unrecognized keys, or keys that correspond to non-credential configuration, cause a 400; other instance configuration must be updated via PATCH /configure/datasources/{datasourceId}/instances/{instanceId}. */ - async rotateDatasourceCredentials( + async rotateCredentials( rotateDatasourceCredentialsRequest: components.RotateDatasourceCredentialsRequest, datasourceInstanceId: string, options?: RequestOptions, ): Promise { - return unwrapAsync(datasourcesRotateDatasourceCredentials( + return unwrapAsync(clientDatasourcesRotateCredentials( this, rotateDatasourceCredentialsRequest, datasourceInstanceId, diff --git a/src/sdk/cliententities.ts b/src/sdk/cliententities.ts deleted file mode 100644 index 9cf1f1a7..00000000 --- a/src/sdk/cliententities.ts +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: e18cb7620fc8 - */ - -import { clientEntitiesList } from "../funcs/clientEntitiesList.js"; -import { clientEntitiesReadPeople } from "../funcs/clientEntitiesReadPeople.js"; -import { ClientSDK, RequestOptions } from "../lib/sdks.js"; -import * as components from "../models/components/index.js"; -import { unwrapAsync } from "../types/fp.js"; - -export class ClientEntities extends ClientSDK { - /** - * List entities - * - * @remarks - * List some set of details for all entities that fit the given criteria and return in the requested order. Does not support negation in filters, assumes relation type EQUALS. There is a limit of 10000 entities that can be retrieved via this endpoint, except when using FULL_DIRECTORY request type for people entities. - */ - async list( - listEntitiesRequest: components.ListEntitiesRequest, - locale?: string | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientEntitiesList( - this, - listEntitiesRequest, - locale, - options, - )); - } - - /** - * Read people - * - * @remarks - * Read people details for the given IDs. - */ - async readPeople( - peopleRequest: components.PeopleRequest, - locale?: string | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientEntitiesReadPeople( - this, - peopleRequest, - locale, - options, - )); - } -} diff --git a/src/sdk/clientgovernance.ts b/src/sdk/clientgovernance.ts deleted file mode 100644 index dfc22634..00000000 --- a/src/sdk/clientgovernance.ts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 9a2d1a2b1bc7 - */ - -import { ClientSDK } from "../lib/sdks.js"; -import { Data } from "./data.js"; -import { GovernanceDocuments } from "./governancedocuments.js"; - -export class ClientGovernance extends ClientSDK { - private _data?: Data; - get data(): Data { - return (this._data ??= new Data(this._options)); - } - - private _documents?: GovernanceDocuments; - get documents(): GovernanceDocuments { - return (this._documents ??= new GovernanceDocuments(this._options)); - } -} diff --git a/src/sdk/clientsearch.ts b/src/sdk/clientsearch.ts new file mode 100644 index 00000000..c5035406 --- /dev/null +++ b/src/sdk/clientsearch.ts @@ -0,0 +1,110 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 9d303135a965 + */ + +import { clientSearchAutocomplete } from "../funcs/clientSearchAutocomplete.js"; +import { clientSearchQuery } from "../funcs/clientSearchQuery.js"; +import { clientSearchQueryAsAdmin } from "../funcs/clientSearchQueryAsAdmin.js"; +import { clientSearchRecommendations } from "../funcs/clientSearchRecommendations.js"; +import { clientSearchRetrieveFeed } from "../funcs/clientSearchRetrieveFeed.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import { unwrapAsync } from "../types/fp.js"; + +export class ClientSearch extends ClientSDK { + /** + * Search the index (admin) + * + * @remarks + * Retrieves results for search query without respect for permissions. This is available only to privileged users. + */ + async queryAsAdmin( + searchRequest: components.SearchRequest, + locale?: string | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientSearchQueryAsAdmin( + this, + searchRequest, + locale, + options, + )); + } + + /** + * Autocomplete + * + * @remarks + * Retrieve query suggestions, operators and documents for the given partially typed query. + */ + async autocomplete( + autocompleteRequest: components.AutocompleteRequest, + locale?: string | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientSearchAutocomplete( + this, + autocompleteRequest, + locale, + options, + )); + } + + /** + * Feed of documents and events + * + * @remarks + * The personalized feed/home includes different types of contents including suggestions, recents, calendar events and many more. + */ + async retrieveFeed( + feedRequest: components.FeedRequest, + locale?: string | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientSearchRetrieveFeed( + this, + feedRequest, + locale, + options, + )); + } + + /** + * Recommend documents + * + * @remarks + * Retrieve recommended documents for the given URL or Glean Document ID. + */ + async recommendations( + recommendationsRequest: components.RecommendationsRequest, + locale?: string | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientSearchRecommendations( + this, + recommendationsRequest, + locale, + options, + )); + } + + /** + * Search + * + * @remarks + * Retrieve results from the index for the given query and filters. + */ + async query( + searchRequest: components.SearchRequest, + locale?: string | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientSearchQuery( + this, + searchRequest, + locale, + options, + )); + } +} diff --git a/src/sdk/clienttools.ts b/src/sdk/clienttools.ts deleted file mode 100644 index 2960e8b7..00000000 --- a/src/sdk/clienttools.ts +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 6c8cdc48aae3 - */ - -import { clientToolsList } from "../funcs/clientToolsList.js"; -import { clientToolsRun } from "../funcs/clientToolsRun.js"; -import { ClientSDK, RequestOptions } from "../lib/sdks.js"; -import * as components from "../models/components/index.js"; -import { unwrapAsync } from "../types/fp.js"; - -export class ClientTools extends ClientSDK { - /** - * List available tools - * - * @remarks - * Returns a filtered set of available tools based on optional tool name parameters. If no filters are provided, all available tools are returned. - */ - async list( - toolNames?: Array | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientToolsList( - this, - toolNames, - options, - )); - } - - /** - * Execute the specified tool - * - * @remarks - * Execute the specified tool with provided parameters - */ - async run( - request: components.ToolsCallRequest, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientToolsRun( - this, - request, - options, - )); - } -} diff --git a/src/sdk/data.ts b/src/sdk/data.ts index 33b640b6..f368a51d 100644 --- a/src/sdk/data.ts +++ b/src/sdk/data.ts @@ -4,6 +4,7 @@ */ import { ClientSDK } from "../lib/sdks.js"; +import { Findings } from "./findings.js"; import { Policies } from "./policies.js"; import { Reports } from "./reports.js"; @@ -17,4 +18,9 @@ export class Data extends ClientSDK { get reports(): Reports { return (this._reports ??= new Reports(this._options)); } + + private _findings?: Findings; + get findings(): Findings { + return (this._findings ??= new Findings(this._options)); + } } diff --git a/src/sdk/entities.ts b/src/sdk/entities.ts index c300c163..64040717 100644 --- a/src/sdk/entities.ts +++ b/src/sdk/entities.ts @@ -3,31 +3,72 @@ * @generated-id: 71997b5f9b62 */ +import { clientEntitiesList } from "../funcs/clientEntitiesList.js"; +import { clientEntitiesReadPeople } from "../funcs/clientEntitiesReadPeople.js"; import { - entitiesGetPersonPhoto, - GetPersonPhotoAcceptEnum, -} from "../funcs/entitiesGetPersonPhoto.js"; + clientEntitiesRetrievePersonPhoto, + RetrievePersonPhotoAcceptEnum, +} from "../funcs/clientEntitiesRetrievePersonPhoto.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; -export { GetPersonPhotoAcceptEnum } from "../funcs/entitiesGetPersonPhoto.js"; +export { RetrievePersonPhotoAcceptEnum } from "../funcs/clientEntitiesRetrievePersonPhoto.js"; export class Entities extends ClientSDK { + /** + * List entities + * + * @remarks + * List some set of details for all entities that fit the given criteria and return in the requested order. Does not support negation in filters, assumes relation type EQUALS. There is a limit of 10000 entities that can be retrieved via this endpoint, except when using FULL_DIRECTORY request type for people entities. + */ + async list( + listEntitiesRequest: components.ListEntitiesRequest, + locale?: string | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientEntitiesList( + this, + listEntitiesRequest, + locale, + options, + )); + } + + /** + * Read people + * + * @remarks + * Read people details for the given IDs. + */ + async readPeople( + peopleRequest: components.PeopleRequest, + locale?: string | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientEntitiesReadPeople( + this, + peopleRequest, + locale, + options, + )); + } + /** * Get person photo * * @remarks * Returns the profile photo bytes for a person whose photo is stored in Glean (crawled from an identity source or user-uploaded via admin console). Photos hosted externally (e.g. Slack CDN) are not served by this endpoint; callers should follow the photoUrl from /people or /listentities directly. Responses include a Cache-Control header (max-age=3600) to reduce redundant fetches. */ - async getPersonPhoto( + async retrievePersonPhoto( personId: string, ds?: string | undefined, options?: RequestOptions & { - acceptHeaderOverride?: GetPersonPhotoAcceptEnum; + acceptHeaderOverride?: RetrievePersonPhotoAcceptEnum; }, ): Promise { - return unwrapAsync(entitiesGetPersonPhoto( + return unwrapAsync(clientEntitiesRetrievePersonPhoto( this, personId, ds, diff --git a/src/sdk/findings.ts b/src/sdk/findings.ts new file mode 100644 index 00000000..044a40c3 --- /dev/null +++ b/src/sdk/findings.ts @@ -0,0 +1,80 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 53fa822d455a + */ + +import { clientGovernanceDataFindingsCreate } from "../funcs/clientGovernanceDataFindingsCreate.js"; +import { clientGovernanceDataFindingsDelete } from "../funcs/clientGovernanceDataFindingsDelete.js"; +import { clientGovernanceDataFindingsDownload } from "../funcs/clientGovernanceDataFindingsDownload.js"; +import { clientGovernanceDataFindingsList } from "../funcs/clientGovernanceDataFindingsList.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import { unwrapAsync } from "../types/fp.js"; + +export class Findings extends ClientSDK { + /** + * Creates findings export + * + * @remarks + * Creates a new DLP findings export job. + */ + async create( + request: components.DlpExportFindingsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientGovernanceDataFindingsCreate( + this, + request, + options, + )); + } + + /** + * Lists findings exports + * + * @remarks + * Lists all DLP findings exports. + */ + async list( + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientGovernanceDataFindingsList( + this, + options, + )); + } + + /** + * Downloads findings export + * + * @remarks + * Downloads a DLP findings export as a CSV file. + */ + async download( + id: string, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientGovernanceDataFindingsDownload( + this, + id, + options, + )); + } + + /** + * Deletes findings export + * + * @remarks + * Deletes a DLP findings export. + */ + async delete( + id: number, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientGovernanceDataFindingsDelete( + this, + id, + options, + )); + } +} diff --git a/src/sdk/governance.ts b/src/sdk/governance.ts index 8eb2ceaa..e49940f8 100644 --- a/src/sdk/governance.ts +++ b/src/sdk/governance.ts @@ -3,78 +3,18 @@ * @generated-id: b7de258afd95 */ -import { governanceCreatefindingsexport } from "../funcs/governanceCreatefindingsexport.js"; -import { governanceDeletefindingsexport } from "../funcs/governanceDeletefindingsexport.js"; -import { governanceDownloadfindingsexport } from "../funcs/governanceDownloadfindingsexport.js"; -import { governanceListfindingsexports } from "../funcs/governanceListfindingsexports.js"; -import { ClientSDK, RequestOptions } from "../lib/sdks.js"; -import * as components from "../models/components/index.js"; -import { unwrapAsync } from "../types/fp.js"; +import { ClientSDK } from "../lib/sdks.js"; +import { Data } from "./data.js"; +import { GovernanceDocuments } from "./governancedocuments.js"; export class Governance extends ClientSDK { - /** - * Creates findings export - * - * @remarks - * Creates a new DLP findings export job. - */ - async createfindingsexport( - request: components.DlpExportFindingsRequest, - options?: RequestOptions, - ): Promise { - return unwrapAsync(governanceCreatefindingsexport( - this, - request, - options, - )); + private _data?: Data; + get data(): Data { + return (this._data ??= new Data(this._options)); } - /** - * Lists findings exports - * - * @remarks - * Lists all DLP findings exports. - */ - async listfindingsexports( - options?: RequestOptions, - ): Promise { - return unwrapAsync(governanceListfindingsexports( - this, - options, - )); - } - - /** - * Downloads findings export - * - * @remarks - * Downloads a DLP findings export as a CSV file. - */ - async downloadfindingsexport( - id: string, - options?: RequestOptions, - ): Promise { - return unwrapAsync(governanceDownloadfindingsexport( - this, - id, - options, - )); - } - - /** - * Deletes findings export - * - * @remarks - * Deletes a DLP findings export. - */ - async deletefindingsexport( - id: number, - options?: RequestOptions, - ): Promise { - return unwrapAsync(governanceDeletefindingsexport( - this, - id, - options, - )); + private _documents?: GovernanceDocuments; + get documents(): GovernanceDocuments { + return (this._documents ??= new GovernanceDocuments(this._options)); } } diff --git a/src/sdk/indexingdocuments.ts b/src/sdk/indexingdocuments.ts index 688d1d54..94886781 100644 --- a/src/sdk/indexingdocuments.ts +++ b/src/sdk/indexingdocuments.ts @@ -8,6 +8,7 @@ import { indexingDocumentsBulkIndex } from "../funcs/indexingDocumentsBulkIndex. import { indexingDocumentsCheckAccess } from "../funcs/indexingDocumentsCheckAccess.js"; import { indexingDocumentsCount } from "../funcs/indexingDocumentsCount.js"; import { indexingDocumentsDebug } from "../funcs/indexingDocumentsDebug.js"; +import { indexingDocumentsDebugEvents } from "../funcs/indexingDocumentsDebugEvents.js"; import { indexingDocumentsDebugMany } from "../funcs/indexingDocumentsDebugMany.js"; import { indexingDocumentsDelete } from "../funcs/indexingDocumentsDelete.js"; import { indexingDocumentsIndex } from "../funcs/indexingDocumentsIndex.js"; @@ -215,4 +216,23 @@ export class IndexingDocuments extends ClientSDK { options, )); } + + /** + * Beta: Get document lifecycle events + * + * @remarks + * Retrieves lifecycle events for a specific document including upload time, index times and deletions. Rate limited to 1 request per minute per datasource. Currently in beta, might undergo breaking changes without prior notice. + */ + async debugEvents( + debugDocumentLifecycleRequest: components.DebugDocumentLifecycleRequest, + datasource: string, + options?: RequestOptions, + ): Promise { + return unwrapAsync(indexingDocumentsDebugEvents( + this, + debugDocumentLifecycleRequest, + datasource, + options, + )); + } } diff --git a/src/sdk/sdk.ts b/src/sdk/sdk.ts index 32d9e715..65e63fcc 100644 --- a/src/sdk/sdk.ts +++ b/src/sdk/sdk.ts @@ -5,64 +5,28 @@ import { ClientSDK } from "../lib/sdks.js"; import { Agents } from "./agents.js"; -import { Authentication } from "./authentication.js"; -import { Chat } from "./chat.js"; import { Client } from "./client.js"; -import { Datasources } from "./datasources.js"; -import { Entities } from "./entities.js"; -import { Governance } from "./governance.js"; import { Indexing } from "./indexing.js"; -import { Tools } from "./tools.js"; -import { Troubleshooting } from "./troubleshooting.js"; +import { Search } from "./search.js"; export class Glean extends ClientSDK { - private _client?: Client; - get client(): Client { - return (this._client ??= new Client(this._options)); - } - - private _authentication?: Authentication; - get authentication(): Authentication { - return (this._authentication ??= new Authentication(this._options)); - } - - private _chat?: Chat; - get chat(): Chat { - return (this._chat ??= new Chat(this._options)); - } - private _agents?: Agents; get agents(): Agents { return (this._agents ??= new Agents(this._options)); } - private _entities?: Entities; - get entities(): Entities { - return (this._entities ??= new Entities(this._options)); + private _search?: Search; + get search(): Search { + return (this._search ??= new Search(this._options)); } - private _tools?: Tools; - get tools(): Tools { - return (this._tools ??= new Tools(this._options)); + private _client?: Client; + get client(): Client { + return (this._client ??= new Client(this._options)); } private _indexing?: Indexing; get indexing(): Indexing { return (this._indexing ??= new Indexing(this._options)); } - - private _troubleshooting?: Troubleshooting; - get troubleshooting(): Troubleshooting { - return (this._troubleshooting ??= new Troubleshooting(this._options)); - } - - private _governance?: Governance; - get governance(): Governance { - return (this._governance ??= new Governance(this._options)); - } - - private _datasources?: Datasources; - get datasources(): Datasources { - return (this._datasources ??= new Datasources(this._options)); - } } diff --git a/src/sdk/search.ts b/src/sdk/search.ts index 51937198..d8b2b8c6 100644 --- a/src/sdk/search.ts +++ b/src/sdk/search.ts @@ -3,107 +3,25 @@ * @generated-id: b88871d87236 */ -import { clientSearchAutocomplete } from "../funcs/clientSearchAutocomplete.js"; -import { clientSearchQuery } from "../funcs/clientSearchQuery.js"; -import { clientSearchQueryAsAdmin } from "../funcs/clientSearchQueryAsAdmin.js"; -import { clientSearchRecommendations } from "../funcs/clientSearchRecommendations.js"; -import { clientSearchRetrieveFeed } from "../funcs/clientSearchRetrieveFeed.js"; +import { searchQuery } from "../funcs/searchQuery.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { unwrapAsync } from "../types/fp.js"; export class Search extends ClientSDK { - /** - * Search the index (admin) - * - * @remarks - * Retrieves results for search query without respect for permissions. This is available only to privileged users. - */ - async queryAsAdmin( - searchRequest: components.SearchRequest, - locale?: string | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientSearchQueryAsAdmin( - this, - searchRequest, - locale, - options, - )); - } - - /** - * Autocomplete - * - * @remarks - * Retrieve query suggestions, operators and documents for the given partially typed query. - */ - async autocomplete( - autocompleteRequest: components.AutocompleteRequest, - locale?: string | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientSearchAutocomplete( - this, - autocompleteRequest, - locale, - options, - )); - } - - /** - * Feed of documents and events - * - * @remarks - * The personalized feed/home includes different types of contents including suggestions, recents, calendar events and many more. - */ - async retrieveFeed( - feedRequest: components.FeedRequest, - locale?: string | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientSearchRetrieveFeed( - this, - feedRequest, - locale, - options, - )); - } - - /** - * Recommend documents - * - * @remarks - * Retrieve recommended documents for the given URL or Glean Document ID. - */ - async recommendations( - recommendationsRequest: components.RecommendationsRequest, - locale?: string | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientSearchRecommendations( - this, - recommendationsRequest, - locale, - options, - )); - } - /** * Search * * @remarks - * Retrieve results from the index for the given query and filters. + * Execute a search query and retrieve ranked results. This is the data retrieval variant of the search API and returns only results and pagination state. */ async query( - searchRequest: components.SearchRequest, - locale?: string | undefined, + request: components.PlatformSearchRequest, options?: RequestOptions, - ): Promise { - return unwrapAsync(clientSearchQuery( + ): Promise { + return unwrapAsync(searchQuery( this, - searchRequest, - locale, + request, options, )); } diff --git a/src/sdk/tools.ts b/src/sdk/tools.ts index e1e6633e..9dd1f13d 100644 --- a/src/sdk/tools.ts +++ b/src/sdk/tools.ts @@ -3,13 +3,49 @@ * @generated-id: f997ccdd9dd9 */ -import { toolsAuthorizeActionPack } from "../funcs/toolsAuthorizeActionPack.js"; -import { toolsGetActionPackAuthStatus } from "../funcs/toolsGetActionPackAuthStatus.js"; +import { clientToolsAuthorizeActionPack } from "../funcs/clientToolsAuthorizeActionPack.js"; +import { clientToolsList } from "../funcs/clientToolsList.js"; +import { clientToolsRetrieveActionPackAuthStatus } from "../funcs/clientToolsRetrieveActionPackAuthStatus.js"; +import { clientToolsRun } from "../funcs/clientToolsRun.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { unwrapAsync } from "../types/fp.js"; export class Tools extends ClientSDK { + /** + * List available tools + * + * @remarks + * Returns a filtered set of available tools based on optional tool name parameters. If no filters are provided, all available tools are returned. + */ + async list( + toolNames?: Array | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientToolsList( + this, + toolNames, + options, + )); + } + + /** + * Execute the specified tool + * + * @remarks + * Execute the specified tool with provided parameters + */ + async run( + request: components.ToolsCallRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientToolsRun( + this, + request, + options, + )); + } + /** * Get end-user authentication status for an action pack. * @@ -18,11 +54,11 @@ export class Tools extends ClientSDK { * tool backing the specified action pack. Intended for headless / server-driven clients * that render an "Authorize" prompt when the user has not yet consented to the tool. */ - async getActionPackAuthStatus( + async retrieveActionPackAuthStatus( actionPackId: string, options?: RequestOptions, ): Promise { - return unwrapAsync(toolsGetActionPackAuthStatus( + return unwrapAsync(clientToolsRetrieveActionPackAuthStatus( this, actionPackId, options, @@ -46,7 +82,7 @@ export class Tools extends ClientSDK { actionPackId: string, options?: RequestOptions, ): Promise { - return unwrapAsync(toolsAuthorizeActionPack( + return unwrapAsync(clientToolsAuthorizeActionPack( this, authorizeActionPackRequest, actionPackId, diff --git a/src/sdk/troubleshooting.ts b/src/sdk/troubleshooting.ts deleted file mode 100644 index 9f2f96e1..00000000 --- a/src/sdk/troubleshooting.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - * @generated-id: 075ef996822a - */ - -import { troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents } from "../funcs/troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents.js"; -import { ClientSDK, RequestOptions } from "../lib/sdks.js"; -import * as components from "../models/components/index.js"; -import { unwrapAsync } from "../types/fp.js"; - -export class Troubleshooting extends ClientSDK { - /** - * Beta: Get document lifecycle events - * - * @remarks - * Retrieves lifecycle events for a specific document including upload time, index times and deletions. Rate limited to 1 request per minute per datasource. Currently in beta, might undergo breaking changes without prior notice. - */ - async postApiIndexV1DebugDatasourceDocumentEvents( - debugDocumentLifecycleRequest: components.DebugDocumentLifecycleRequest, - datasource: string, - options?: RequestOptions, - ): Promise { - return unwrapAsync( - troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents( - this, - debugDocumentLifecycleRequest, - datasource, - options, - ), - ); - } -}