diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index bfc614d0..fde21317 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,21 +1,22 @@ lockVersion: 2.0.0 id: 664aaca5-a41f-4434-8f2a-642dba92fe68 management: - docChecksum: d8e27f2118bb2e9b6f10f3c87ad1abab + docChecksum: 41cfab79f95ecae52c4d67d98a80aaa4 docVersion: 0.9.0 speakeasyVersion: 1.761.8 generationVersion: 2.881.2 - releaseVersion: 0.14.19 - configChecksum: 31509b84e68ec82c8bd37cb244d6ae87 + releaseVersion: 0.15.0 + configChecksum: d7aeaaf80f7cfb76de17ba8320320385 repoURL: https://github.com/gleanwork/api-client-typescript.git installationURL: https://github.com/gleanwork/api-client-typescript published: true persistentEdits: - generation_id: 7b84b651-38bf-4256-ac94-0ee483ff29cd - pristine_commit_hash: 68a2ab951b56f8b94261acae550794f8b2b4b999 - pristine_tree_hash: 6c2b411babfbb841fb78e1c7ffbc838d85edd182 + generation_id: 788b23ec-b879-4521-967d-7c6689c7d8de + pristine_commit_hash: 8c73f4ef680bd1de58b1f124d53c399294708356 + pristine_tree_hash: 27f6118dbf9693c9d8ebb51aa83b93766c13439e features: typescript: + acceptHeaders: 2.81.2 additionalDependencies: 0.1.0 additionalProperties: 0.1.3 constsAndDefaults: 0.1.14 @@ -23,6 +24,7 @@ features: defaultEnabledRetries: 0.1.0 deprecations: 2.81.1 devContainers: 2.90.1 + downloadStreams: 0.1.1 enumUnions: 0.1.0 envVarSecurityUsage: 0.1.2 examples: 2.82.5 @@ -32,6 +34,7 @@ features: globalSecurityFlattening: 0.1.1 globalServerURLs: 2.83.1 groups: 2.81.3 + methodServerURLs: 2.82.2 mockServer: 0.1.3 nameOverrides: 2.81.4 reactQueryHooks: 0.2.4 @@ -82,6 +85,18 @@ trackedFiles: id: 0ce9707cb848 last_write_checksum: sha1:bc4454e196fcd219f5a78da690375a884f5ed07b pristine_git_object: 08f95f4552349360b2c0b01802aa71ec3a55d2c2 + docs/models/components/actionauthtype.md: + id: 07cbf48e969a + last_write_checksum: sha1:a9d7fb9dfc0aef9f6be59ce36acd0f52c4aacbc2 + pristine_git_object: 3d47a4893a42d16b7402b95aabd2e0c4aa680cc2 + docs/models/components/actionpackauthstatus.md: + id: 32fa185edef9 + last_write_checksum: sha1:66365f320124b7d409910230b1e8726d5d79da97 + pristine_git_object: 37b49cb97522787c74308657e21ae3a824e9f339 + docs/models/components/actionpackauthstatusresponse.md: + id: 3d737d8dc6a4 + last_write_checksum: sha1:47f2c611300dc4da1cd000492246dd794b368339 + pristine_git_object: e97323763636d9e3a672871928ff9c2afe07123c docs/models/components/actionsummary.md: id: f9f286d7b5c6 last_write_checksum: sha1:0cd4ff1da28bbe89fe0046412aa6a2106f71d4db @@ -112,8 +127,8 @@ trackedFiles: pristine_git_object: 14bf57f0320e1202497800269dfff9290e686af2 docs/models/components/addcollectionitemserrorerrortype.md: id: 2eda16f33336 - last_write_checksum: sha1:7d51968475946e6d8bc93f9d2fd2f293893b731e - pristine_git_object: dce17ff71e4c3116279d9bc13be411370ccd2e80 + last_write_checksum: sha1:761ca3811cd2e1d7b3794194f7f5e6feba534865 + pristine_git_object: 9d642e8eb32f2a96dae4d5ebefe60197d7a489c8 docs/models/components/addcollectionitemsrequest.md: id: 624817833fcf last_write_checksum: sha1:f2aebd4151fa92782a9f8e0c8d0a834db21dbe10 @@ -168,12 +183,12 @@ trackedFiles: pristine_git_object: fb97d831af5dab0e3f25f5e1a1dcd33db40f04b5 docs/models/components/agentsinsightsv2request.md: id: 5e256461f4fa - last_write_checksum: sha1:6a950d71cfe32a37d65c018899808e87cf1f6647 - pristine_git_object: b2e0e9e2b7861ce9dc702387da3d34e11338892f + last_write_checksum: sha1:f67399126e0464523a8aed5a4af1e4fabfa8fb98 + pristine_git_object: 6c9b1613c6e3e4482f6d361fcb32c53f380e000a docs/models/components/agentsinsightsv2response.md: id: b6c9c6495591 - last_write_checksum: sha1:1cf9fcf0c180d2c3dab35a5b49437f3960046edd - pristine_git_object: 6ed2d5371bd2cc9d02ddc6b75d0733e8e8c9779d + last_write_checksum: sha1:180b625491ca838f20a80fc24065b4811f6f4087 + pristine_git_object: a79c97593c43cbb81f453f2d8fa6179bfffa178f docs/models/components/agentstimesavedinsight.md: id: b1aca63e197a last_write_checksum: sha1:4fb615f6934595e7a287a038a58e550ad933d5d9 @@ -182,6 +197,10 @@ trackedFiles: id: aef1337187d5 last_write_checksum: sha1:c0097c3f83073f0defd344a544e316e6167d2c34 pristine_git_object: d6d9daea072a957beeffa979f9f0574c81fc6999 + docs/models/components/agentusecaseinsight.md: + id: a6ce0af52ca9 + last_write_checksum: sha1:4e0d029290e7f1548f3a096aafb6e8787439f054 + pristine_git_object: a19159556247e4a0c03fb16bc29a8cb5b9f5cf7a docs/models/components/agentusersinsight.md: id: 3a118584c50b last_write_checksum: sha1:b09e85dfbd67fadbe14316284c2f48ee66aab8ca @@ -192,8 +211,8 @@ trackedFiles: pristine_git_object: 34831afdb430928d95e9e468a07d7b337056b2ae docs/models/components/announcement.md: id: a4a18f09edf6 - last_write_checksum: sha1:76ae777936fc0b22336dc17e861551e35c4b237d - pristine_git_object: 8a0496b6cc8485a0d538f2866c41363f81c25fd9 + last_write_checksum: sha1:adf4584845a440f81e2869daa94a2378e99844a7 + pristine_git_object: fd8b28ed4a029a73b7861e7f1eeca5a0fc1462de docs/models/components/announcementchannel.md: id: 5c822eae9f41 last_write_checksum: sha1:b6956a4bab30405644aaf64bc4b66f06d7451e70 @@ -216,8 +235,8 @@ trackedFiles: pristine_git_object: cb1bbd9e02cb64739caba5d48f95634805935ac5 docs/models/components/answer.md: id: 625c7d38dd6f - last_write_checksum: sha1:49b37a2e9fcb7bde671e34c534259b4ad9049a96 - pristine_git_object: dc58fd7d16bf25523148bc8ce857d9a11f9452c7 + last_write_checksum: sha1:877ccbd322af28b1a8948797693c75621f494116 + pristine_git_object: 16c95b9b8bd9ee580135549431dda5dcff39247e docs/models/components/answercreationdata.md: id: e0b13052e375 last_write_checksum: sha1:ded0f272da67bcfb5f401cf86dcd9e487710f4d7 @@ -236,8 +255,8 @@ trackedFiles: pristine_git_object: b2da4cfa3ba125dbc69bd24182f39a5fc42d9896 docs/models/components/answerresult.md: id: d7bea9dd55f6 - last_write_checksum: sha1:0994bb48868d392afa2591667689f6c222a1f71b - pristine_git_object: e24f1e10a2993a60504661eba0ffd7f97c9d1a11 + last_write_checksum: sha1:61922436bc2c6fa03638b2f5e064231afe06d249 + pristine_git_object: 1c9498fcbc48eb38970a1991ed3a007213cf9020 docs/models/components/answersourcetype.md: id: f057a30e351f last_write_checksum: sha1:fda47d3e06aadb23b81c540aa1ed73204ba0673a @@ -248,8 +267,8 @@ trackedFiles: pristine_git_object: 7db1f053d0aa717d42f7ab0383278451e81b1b3a docs/models/components/assistantinsightsresponse.md: id: fe64623e536e - last_write_checksum: sha1:0129618f777f2b08a95e7d6c00a61f57bc2dfcad - pristine_git_object: 22781c464ffdb0b53ee4e207617426579bebc4ab + last_write_checksum: sha1:fcfde0717de03c6262ccf8c1df0b670dc582c1e5 + pristine_git_object: 62acef7412d26d971c956cb1ee8abf6a2206d891 docs/models/components/authconfig.md: id: 2335d6853cfd last_write_checksum: sha1:efa56b27c23b510d52d035411f5e8e9cb9851c62 @@ -266,6 +285,14 @@ trackedFiles: id: 11fd94ac06ba last_write_checksum: sha1:1ff06953e0bb5be905dad837bb4b0895ee625fb1 pristine_git_object: afa81e17a261b5690dfe58506ae7f10f734120a7 + docs/models/components/authorizeactionpackrequest.md: + id: 7e8805319915 + last_write_checksum: sha1:6c48f59fa84dcc50a6e46a53f452c0741db79b1d + pristine_git_object: 08fcbe1d8254227ad569bcb5b166aac7489b34b3 + docs/models/components/authorizeactionpackresponse.md: + id: cf75beca77d8 + last_write_checksum: sha1:df4ff21b8619ac7717e820eb01c736b6a9e4e455 + pristine_git_object: 464ad4c1f8c0a0226dfb69d3b0373c3af7975e08 docs/models/components/authstatus.md: id: 88b44e84336b last_write_checksum: sha1:e4a1ea9af5467a442150042514259c39466eec88 @@ -306,6 +333,10 @@ trackedFiles: id: ff2b7bb23f6b last_write_checksum: sha1:9b247eda5c57b06f73a72782d1d6e5a847611224 pristine_git_object: f77a8b43c461e263ab96fa13e8e33c1c7abd4662 + docs/models/components/breakdowntype.md: + id: d337e06af0b5 + last_write_checksum: sha1:da5cf593ede1b31afc961bd5ccd2a648cc90672e + pristine_git_object: e8b30327cba2078e7ac1578f9625e5a3fb6aa763 docs/models/components/bulkindexdocumentsrequest.md: id: 57ea12d7199e last_write_checksum: sha1:d1f520d3cf9afb87015d42064cdb1c80de8c7673 @@ -428,8 +459,8 @@ trackedFiles: pristine_git_object: ef004ad8c08c77b573bc98468ab0efa36182bdcc docs/models/components/chatsuggestion.md: id: c52f5b771279 - last_write_checksum: sha1:c1e07915fba9d7c2de2a6ee267d5c940601b0108 - pristine_git_object: 508db1640311646000b191f3302847b877c1221e + last_write_checksum: sha1:de9e01b5c4ff8a489c7d14a8f8d9fe1ecd6cffc6 + pristine_git_object: 572add597a916ef2c418dd2e413c8fee2a624d24 docs/models/components/chatzerostatesuggestionoptions.md: id: 3c01a3291509 last_write_checksum: sha1:e44b6fdcc6acddb9058851651e6eb3b1b264ea0c @@ -464,16 +495,16 @@ trackedFiles: pristine_git_object: af177b69621025cf2e55edd396fe295f9064aa19 docs/models/components/collection.md: id: 1032a4f7373d - last_write_checksum: sha1:05f21e4a54c2895f8bdb3573e05b538518fd5e32 - pristine_git_object: 316d50047915141f251cfb0f55e4a00c32511796 + last_write_checksum: sha1:396907032f13c7505c8258d467f913921fa0f6f6 + pristine_git_object: 012fb716a53628d42bef89d6749ee1cf19550a48 docs/models/components/collectionerror.md: id: 4b24d952cbb6 last_write_checksum: sha1:2cbc5c078dd39e0b682927210e914b613887a8b8 pristine_git_object: c2d202790b17d09d7cf1e306205f286fa0625684 docs/models/components/collectionerrorerrorcode.md: id: 34a4a2d0abc6 - last_write_checksum: sha1:6572e56c2cd03ca7bc1ed6634a42c0e3836d9b64 - pristine_git_object: cf1798f2db9098ba6eabde5abf7de1cf6406760c + last_write_checksum: sha1:849c275970986ddeba8f4b2e67f01a6ce767bb11 + pristine_git_object: b0833611106ef4bcfcabd6cc5aaab88a2ba51844 docs/models/components/collectionitem.md: id: df8bd26d4990 last_write_checksum: sha1:41c488b21af7e651b5c9d3225ffcbb24c3278a9a @@ -592,8 +623,8 @@ trackedFiles: pristine_git_object: 9ea17fd569159aaf08baeb47260290867b081c38 docs/models/components/currentactiveusers.md: id: 94cb04038236 - last_write_checksum: sha1:ceb8c91e6e20d38e3d1c768494f2e65383e82af1 - pristine_git_object: 2d32c16fd831f516e9233343ee5dd2cabc5b7e0f + last_write_checksum: sha1:09a9c0128d594f0ee3def404ed327da7c385e5df + pristine_git_object: 8f894c296485e6680ed47df43d8d507b57e3c42b docs/models/components/customdatasourceconfig.md: id: a395598b2c01 last_write_checksum: sha1:161658e1d31f0ee23db668559ce905f164eaa0a7 @@ -642,6 +673,22 @@ trackedFiles: id: 3d1ca6d0168a last_write_checksum: sha1:e3d235fe2eefa498ee42e132a4bfcb00b66c4897 pristine_git_object: db7b788672a7e2937f5cbc83ff21aa00f53423eb + docs/models/components/custommetadatapropertydefinition.md: + id: 3540950fb0e2 + last_write_checksum: sha1:ea261639db1b06cdf4c7291e574b7ac8ee09efe3 + pristine_git_object: e232e4a07e171f296ef0574dc4e598f9b6863bcd + docs/models/components/custommetadatapropertydefinitionpropertytype.md: + id: 29d5185ad8e2 + last_write_checksum: sha1:758d165643fdfbda1bf55e246ffccf5e2003ab53 + pristine_git_object: 6cd3bcf05b787fa373f1f632a7a661bd1731e45e + docs/models/components/custommetadataputrequest.md: + id: 2548d34df81c + last_write_checksum: sha1:7b4dbee5141bf8f9b81932d4835d33978d185cde + pristine_git_object: f077b3f534db5b23a5356729974a890a17c55a4e + docs/models/components/custommetadataschema.md: + id: c53bed0c6e40 + last_write_checksum: sha1:400b264f010b06e61f4b588ce44705c17ec0c468 + pristine_git_object: b32b18ba4736d3332bc698ad597a0e0de6b57e14 docs/models/components/customproperty.md: id: c8bee897a039 last_write_checksum: sha1:4ae95b52f513ff92bfd3fc0c900d75824455391d @@ -678,6 +725,14 @@ trackedFiles: id: 607cfe536656 last_write_checksum: sha1:98d2644b0b0624e133fc941d52850853cbcdaf39 pristine_git_object: 06eb0266295b6b5fcc8ef29f2b388bc170ca2103 + docs/models/components/datasourcecredentialstatus.md: + id: 6c41d87185cf + last_write_checksum: sha1:7e8eba700cdeac2e0ade266946c69c534fd4dd44 + pristine_git_object: 39507107d970e02e6df67b4eceefc6a90cca3248 + docs/models/components/datasourcecredentialstatusresponse.md: + id: ddb69211e29d + last_write_checksum: sha1:b693f03b5d1450c149c854e1e2e0a1cbec46b602 + pristine_git_object: d1c48c7a4c44ac2b1d5abc728fac15daa25ec287 docs/models/components/datasourcegroupdefinition.md: id: 4c37c93fee51 last_write_checksum: sha1:19fbcc0bf2aba1e82ed4402efde69686c10f4bf3 @@ -726,6 +781,14 @@ trackedFiles: id: e7ae9487f799 last_write_checksum: sha1:c70a14bdc9a0342dee3215113b89a6bfe700e958 pristine_git_object: 9a1c41ba01983835e9c19f9da7490aca64a4ef40 + docs/models/components/debugdocumentlifecyclerequest.md: + id: e26dd741b23e + last_write_checksum: sha1:8ffb74d1eaada97e2965c19ed888aa6af5bc35e2 + pristine_git_object: 86bb190ad25cbd5d9a458d4102a786c10450e420 + docs/models/components/debugdocumentlifecycleresponse.md: + id: 8fa0fd16af97 + last_write_checksum: sha1:670fb162f4d8e2d953942971c083616aacacf42f + pristine_git_object: 3ec6eff6615e361bb46405f840b38ca0383a5225 docs/models/components/debugdocumentrequest.md: id: 23b50e462da0 last_write_checksum: sha1:c14f547ca0f3f91b83268e00e311825181306c84 @@ -1008,16 +1071,20 @@ trackedFiles: pristine_git_object: 5e813a404e883568c93512c8867dd23ae6c66312 docs/models/components/editcollectionresponse.md: id: 6562220c4d45 - last_write_checksum: sha1:791a031ebe4fd1be5cb887820ff78524894c9de3 - pristine_git_object: 4f136cba6ed9e5881a5dec17c83bd8dd120dc78c + last_write_checksum: sha1:24a00f5fdc92880cbd5edab01b976bbc8287a23e + pristine_git_object: 96f8f44c5880ab4fd868a43b5b04c24725a80b02 docs/models/components/editcollectionresponseerrorcode.md: id: 6af950ccd844 - last_write_checksum: sha1:6c92fc803ae63bef3cf891f12ed9cbea64d50930 - pristine_git_object: 60b562b8477fea7b6c62defd12efb71d587945f5 + last_write_checksum: sha1:806f7f48ea8037b28db346d9d5b743772dfdabb2 + pristine_git_object: 3c570bfac4b2f8158cbd7b18b5aa378af1cbd583 docs/models/components/editpinrequest.md: id: 322d2db74938 last_write_checksum: sha1:1647ade4abea2b16d1727ed42586a3b89eb86a26 pristine_git_object: c8e83f457e7d87bf6cf3707bcc607194ec007ea6 + docs/models/components/editworkflowrequest.md: + id: 259366a2ae8d + last_write_checksum: sha1:9eab78ed72da449f4d09a4f4d825a266f271dfa1 + pristine_git_object: 98f0623577d87b40b8e058041db12602ed234903 docs/models/components/employeeinfodefinition.md: id: 2bf00c4d431e last_write_checksum: sha1:e25db7a138e1400025c8f99488fbc193179540be @@ -1046,10 +1113,6 @@ trackedFiles: id: 9e3d3a44694f last_write_checksum: sha1:d617ecf4aea050b18524e4424b3a210d63cd69d2 pristine_git_object: d0d14c47de6ecd48dcb7f0ee2e22395c6f36274f - docs/models/components/event.md: - id: 0593e0f6a673 - last_write_checksum: sha1:07e96b814243c0d98de314a35e52862c707f2314 - pristine_git_object: bcf12102936ec5e8abbf79a641bb5f0269597d1b docs/models/components/eventclassification.md: id: 5b7c8d39982a last_write_checksum: sha1:d73c2ab24d12023ba35a961eac0a63d68956cddf @@ -1120,12 +1183,12 @@ trackedFiles: pristine_git_object: 6f5dbef48acbc986e5961e6940a0c47f84e7e380 docs/models/components/feedback.md: id: f567c839a7ff - last_write_checksum: sha1:4798c8b1cfd4785499e3c69e4bc035d79fb61e85 - pristine_git_object: 2631929f21491285cc409d6a00782f4bfcd49d98 + last_write_checksum: sha1:91b0996bdd3d8268951c1d54bf1ca99a43d742ee + pristine_git_object: 65cbffb4fc3ea3e1717853fd0bbbf5f8468f8668 docs/models/components/feedbackcategory.md: id: f12caabcaa53 - last_write_checksum: sha1:f3cd29122ec51cc7d49513c08b9aee83e2c07055 - pristine_git_object: 8a570d64abeffe7072941429a8255ea9ab958d00 + last_write_checksum: sha1:c6efb3053389640c916b712eb2731b46439e7d08 + pristine_git_object: 71753859de9704ebc72bc8f349ebc6b6df64d42c docs/models/components/feedbackchannel.md: id: 3a7e62de7ee6 last_write_checksum: sha1:bd4d4b9fde01da3d98933a20cc70f5287cae1926 @@ -1134,34 +1197,38 @@ trackedFiles: id: fbc8eb19c595 last_write_checksum: sha1:e2ada6e6759989318b11a69ee748fe4bc69e47c6 pristine_git_object: ac5ff90596c79ca983a9f27a10133a7ac4b36970 + docs/models/components/feedbackevent.md: + id: db9a97830582 + last_write_checksum: sha1:7d0d2ecf02fde37f0214509dfd1f2a289e351634 + pristine_git_object: edb35b80b5f515d7728b77c0d0814021406c82b1 docs/models/components/feedentry.md: id: 4d4f9c38d483 - last_write_checksum: sha1:c6af419028f2048954409d32126b36b236bb0095 - pristine_git_object: c983982113e0aea50f1e74e3227e61063c13088b + last_write_checksum: sha1:15a3f626ea1bcb52ec6b576967947cd04c1856ab + pristine_git_object: 5e977f3f2283668aa03c72f2b5fa0752a914aa81 docs/models/components/feedrequest.md: id: 39e710d1da8f last_write_checksum: sha1:b90eb176cf3ddb281dc18126912e876fd4cf051b pristine_git_object: 2d773c43730426ba979a2509498cc8367493d9e6 docs/models/components/feedrequestcategory.md: id: 801f1c3c64d4 - last_write_checksum: sha1:8419341f94a7152d33800db36e908530ca3a8d88 - pristine_git_object: 0cc0b1f71e2066ea3531052342f790e8fddecaa6 + last_write_checksum: sha1:a06b85dbb7c6028627e6c4cccf91e43d63a16dae + pristine_git_object: 998c78d97e00d5b261119c24cbb9423361d2aa3c docs/models/components/feedrequestoptions.md: id: 76c5e4412304 last_write_checksum: sha1:9d026d140bef548159ac576066007ccc73ab5cee pristine_git_object: d36f4c0ede1e69c9b152b812a2aa33da8ec6c08a docs/models/components/feedresponse.md: id: a781b46b0647 - last_write_checksum: sha1:1dfa42ce28d5f3cf3dc4bfb1de9e5e29375c418a - pristine_git_object: a10a337076983a0b87478440b5dd059e3f28be17 + last_write_checksum: sha1:2417e7aaa8ed47fe8d1ae0f6e4f0a7af0158c080 + pristine_git_object: e33494edd59868c7580682b2e04cb2fd8d46126e docs/models/components/feedresult.md: id: c3084f56c0cc - last_write_checksum: sha1:34cdb73e2a540d49f6d85a02a40ae302fc8a985e - pristine_git_object: df1ceb6af9e18b38a8aeb02ecb3d822f05ea5e34 + last_write_checksum: sha1:5e80f8e5953bc206319e2c6fdfe919541401986b + pristine_git_object: a1891dca525d39a7ec1e7da485a2b37af9db2928 docs/models/components/feedresultcategory.md: id: 94c0249352b4 - last_write_checksum: sha1:7d70c08a6e042ee9f3652ca2cd8f517a5d940b2d - pristine_git_object: bcb075edbac8e067c6e3c59aaf406721e1ffb686 + last_write_checksum: sha1:c790d45d892d55462e99b90ff87f04b94450a841 + pristine_git_object: 19019e178c4d1637836dacf47ce80c13a45bb00f docs/models/components/fieldscope.md: id: 23caffb85bb7 last_write_checksum: sha1:b90b2a0fba0f78b414366202e56a1637a8a8793f @@ -1240,8 +1307,8 @@ trackedFiles: pristine_git_object: a9f1517ecb6b154aa24eaba0d78f53a37a019b21 docs/models/components/getcollectionresponse.md: id: 607bb0427413 - last_write_checksum: sha1:c6235cf355d8cbe0e8025f9030a6279930f5c704 - pristine_git_object: 17ae1cdd824a00d3a73cd95c5c510fe9947809b1 + last_write_checksum: sha1:2f02807950bd4fd7777c3fa9d2e247d0bb1304ae + pristine_git_object: 56b6d529caf791b28fe68cf7b127eccedb38e344 docs/models/components/getdatasourceconfigrequest.md: id: b4f15e1448f9 last_write_checksum: sha1:b308524fa37d7fdbb5165bb99f7e47957c33f90d @@ -1436,32 +1503,32 @@ trackedFiles: pristine_git_object: 51e791a31215f845231cc013be78f61a9b98b726 docs/models/components/insightsassistantrequest.md: id: 027833359c26 - last_write_checksum: sha1:0633d1f3ced3a5604fa13062270c516a8f5e228a - pristine_git_object: f160246a129829c79d861987fd70656c156a22df + last_write_checksum: sha1:2fd986a55d6c3940ebb22fde32e9468d0b8a395c + pristine_git_object: aa13b51e0fe77ee9e3cd6fbdc62622c3c7319ed0 docs/models/components/insightschatsummary.md: id: 827b4cc8d9c4 - last_write_checksum: sha1:f665b023020adb1f1361e0a0ccd969603911aeff - pristine_git_object: 181c8d1d2611201e246998aa63c7d2b8fc27b8c8 + last_write_checksum: sha1:4a93729c11eac1915507c959721dcd324996c02e + pristine_git_object: 22ec6e6fdda14311631eccb0dcd2bd150857b968 docs/models/components/insightsoverviewrequest.md: id: fa43f0a6b6e1 - last_write_checksum: sha1:a336f77b936659b953fe79efc1af49c4ca62974c - pristine_git_object: 7a3b36ec457cf88a7689114855fde4afe336de1e + last_write_checksum: sha1:70af4399a3786b5b9414985fdd18f5595b58e719 + pristine_git_object: 46e1535e7634f97634159ce6123be0d9f5801598 docs/models/components/insightsoverviewresponse.md: id: e490ed19892d - last_write_checksum: sha1:837626d16f25a1d53d0823f0b7ab5859ce7ac46c - pristine_git_object: b6e0bc2edbf333dc4252a8459ea7e76e78e993ee + last_write_checksum: sha1:38369a20254c4704cc0213b4099e37afe989fc67 + pristine_git_object: 51be516ea5db42df976befd78b9875d4813e1ad5 docs/models/components/insightsrequest.md: id: cf96ae543699 - last_write_checksum: sha1:5d43e726cd28c254aabffd31ddd8c46028250324 - pristine_git_object: c9aa5beda205523686670b13c69f5cd76aa7aaf6 + last_write_checksum: sha1:7b0b54a539ee4f5acede497dfad48889b8d60bb4 + pristine_git_object: e77687465240f252568c754e1dd507ef0fcef46b docs/models/components/insightsresponse.md: id: 8fad04b60c85 - last_write_checksum: sha1:ec4aa917642962c36fcbe25cd274f59f9d299075 - pristine_git_object: e241b3899d5308b3f9182bb4687940776dcd14b6 + last_write_checksum: sha1:bcc203d93bc38cf75183c38254d6685ace7e96f7 + pristine_git_object: c3adc89879b48a3be123afa65423f7437168f4dc docs/models/components/insightssearchsummary.md: id: f50ffa40d3ab - last_write_checksum: sha1:2f2929529fcfd609900b4860b64cbc0c98a1b626 - pristine_git_object: 9c5305856a0761352c9bf9a47265aa91086a5df6 + last_write_checksum: sha1:89891b5fa53c23814d8e8e8b0fcc23a4ac6bc65a + pristine_git_object: 871d4d2876cc8c311dbf6fa7c8f69c182929ca46 docs/models/components/invalidoperatorvalueerror.md: id: c5b00b97dded last_write_checksum: sha1:e1daceff642de32cfb2b4f0a64e0a0ccfc498842 @@ -1476,8 +1543,8 @@ trackedFiles: pristine_git_object: 7930d76ffc147c35dd7c2f1d5fb78fadcd2e844a docs/models/components/justificationtype.md: id: 5a15880767a5 - last_write_checksum: sha1:e25cbae8b8ab5557c546f314dc7893227def5a25 - pristine_git_object: f883e89bf32fece65e679136db29ba11fe919b99 + last_write_checksum: sha1:93b40d74e9fdd5363750e3689aea7572d3b41870 + pristine_git_object: ff2c4583a40ae9dff03eb13d0a4a9a4621d43863 docs/models/components/knowledgetype.md: id: cf27a7cefa69 last_write_checksum: sha1:6e94f203bb1d3a0d12f0bdb0119bf36301536e8d @@ -1490,6 +1557,14 @@ trackedFiles: id: aecd1af94358 last_write_checksum: sha1:11ac9564840f88107997ba3fed4b2c37b9c6fbad pristine_git_object: 66c534b021be66a3f082e6289277b1a42d4d91ae + docs/models/components/lifecycleevent.md: + id: 3fda1d08b3ee + last_write_checksum: sha1:d3a3322882a21c971b7a28487d715c79c2a10935 + pristine_git_object: bcbc10bd21803796e7a711fdb16d6a6de81b5727 + docs/models/components/lifecycleeventevent.md: + id: f1f690f33a69 + last_write_checksum: sha1:78e6a1166a15826bd496310fcd2800c52fb538b6 + pristine_git_object: 68444f13df848190a7b31ac4483384539e343c4e docs/models/components/listanswersrequest.md: id: f70ad137fc70 last_write_checksum: sha1:311e597571705b510e0ae3068aa24b138eefc9b8 @@ -1574,6 +1649,38 @@ trackedFiles: id: e8f82b359fff last_write_checksum: sha1:02f1a791579a16627a2e1a4060fa82dab69135b6 pristine_git_object: 474fffff891061aff9f35371e199d544990cd153 + docs/models/components/mcpbreakdowninsightsrequest.md: + id: 55b000918669 + last_write_checksum: sha1:c0820af041474efa7723dd5056bb4b0012ffd0b1 + pristine_git_object: dd325ee200a901304f8d8f5b8f024bbdd33fe129 + docs/models/components/mcpbreakdowninsightsresponse.md: + id: 0904ea06b356 + last_write_checksum: sha1:554384d2ad6b582a5b89c16bdf76950a26c8bc91 + pristine_git_object: 07347faf55bcaf91951654bc5f457b76db1520b6 + docs/models/components/mcphostapplicationbreakdown.md: + id: 1357689d4c2b + last_write_checksum: sha1:1e9d846cf7783b3936cd99970a2a1069b2510d4f + pristine_git_object: f1d07fb7b72bf2cdbaa35e58dc3cacfd28fb310d + docs/models/components/mcpinsightsrequest.md: + id: 73551694116d + last_write_checksum: sha1:f708654b66008d52ff0903d344eb2d7ced0aca3b + pristine_git_object: 2aa774f23bb275eaabdc7ed5ffe1d49481e90791 + docs/models/components/mcpinsightsresponse.md: + id: "038487735795" + last_write_checksum: sha1:fd4b79f2090d4df18dd9e4a99166c6decc40f49c + pristine_git_object: f0f34f3e0d3133e7f2a80929cc29b8d0b0fc5b49 + docs/models/components/mcpserverbreakdown.md: + id: f306096eb10a + last_write_checksum: sha1:ad51a68ea8cca1270b7fca56a3f0572ac92e1c99 + pristine_git_object: 84bee10e5ce532f8d5c06cbcd2d7f83871c6015d + docs/models/components/mcptoolbreakdown.md: + id: 8ab6e7bdb23e + last_write_checksum: sha1:9240ed9a612aaa0d88f0fe4619aca1e44ad08e5d + pristine_git_object: 57e37800abc6419431b54f887ab0d149f7d02291 + docs/models/components/mcpuserbreakdown.md: + id: 5acddf4e59b7 + last_write_checksum: sha1:2054ed69ba84533754fab530bc052ba3aba1c33c + pristine_git_object: f07ae8de35b4bdf5349ca8c4d5c3af119897f7d6 docs/models/components/meeting.md: id: 40604b996772 last_write_checksum: sha1:00347507a333dfed9a17b6e76624f7aefc743736 @@ -1644,8 +1751,8 @@ trackedFiles: pristine_git_object: 0bb6525153f420710e92a8740acee1032582a54f docs/models/components/peragentinsight.md: id: 758901c7a7a0 - last_write_checksum: sha1:ea292a813f02fdbaf2a509f38278f4f79fc050da - pristine_git_object: 59dd58f2c871870c45867d1adf747f90a3e0a385 + last_write_checksum: sha1:01affbf6a61d4933ed05b53eda04e14d9bf35ab6 + pristine_git_object: 168182446d29f10afcef8a30655a0c2d2c143e44 docs/models/components/period.md: id: 15f5d3ae2687 last_write_checksum: sha1:7e50fe70dcaf4b4705513539329c800a18294811 @@ -1700,8 +1807,8 @@ trackedFiles: pristine_git_object: 284a536b8de6503de1abc4e6e7ce146b228019b8 docs/models/components/peruserinsight.md: id: 51c427f8c8b2 - last_write_checksum: sha1:64efea8f7208acbfc8be5b8e0b404359e9519c35 - pristine_git_object: 027acc7af2887374536305d37aad5afa7d8c2e39 + last_write_checksum: sha1:7f01360797380412b326cf136d61e3bbfc25c131 + pristine_git_object: b6f3e18e389734c7fc2ffd8d2bb6a2f44318ce5f docs/models/components/pindocument.md: id: 5d5067aa7de9 last_write_checksum: sha1:871291e69fa8205c0a02094fecd2c10a446d91f5 @@ -1744,16 +1851,16 @@ trackedFiles: pristine_git_object: c0540fb2f172ee88209dc55470acaf0caf332a85 docs/models/components/propertydefinition.md: id: 5bf5a56cf9db - last_write_checksum: sha1:9476dc867b284427b7d23dc9b419eb1d6c82c7e8 - pristine_git_object: 99ccc816949a972852f06fc9813d04afd22bbe4c + last_write_checksum: sha1:58e04b4045e89f3613a8e970897ad2ba1e193a38 + pristine_git_object: 6b71eb50672ec998d9a044b34e12d71fec80b05c + docs/models/components/propertydefinitionpropertytype.md: + id: feff56dc5b61 + last_write_checksum: sha1:333042528c0e9e7c50fc10c7ca16c04aa72616d1 + pristine_git_object: 2b91b916ecaa40992e9e3369535b1fb96a84b6c2 docs/models/components/propertygroup.md: id: 1c5f9282d54c last_write_checksum: sha1:20c28678a0aa123686c6fa9232778a11efe64f70 pristine_git_object: 4dad44a18b7dfddeaefad1511cb8c83fab4a2dfd - docs/models/components/propertytype.md: - id: 10e5d0221e95 - last_write_checksum: sha1:036dc31f920b3ed4911ea5ede4ac1455711de244 - pristine_git_object: 9560bec8d992d472d3e86bce32ab97e3e346a774 docs/models/components/provider.md: id: 68dda5cff49f last_write_checksum: sha1:9c9682c844f13eaa814f65e5ba999274a33ecccd @@ -1874,6 +1981,10 @@ trackedFiles: id: ab26d0e394ad last_write_checksum: sha1:0c7334a929f5dfa64ebf35783dfb3fbe853a118e pristine_git_object: ab47a246a66346ed7b4e0df8a616ec13210cbfc4 + docs/models/components/rotatedatasourcecredentialsrequest.md: + id: ab6f27959256 + last_write_checksum: sha1:d8dc1349b3f585e2527a78dba1ec65dc01f35c5a + pristine_git_object: 5faec783e71865a9fd5cbb9a227bc4255db86035 docs/models/components/rotatetokenresponse.md: id: b4173c857834 last_write_checksum: sha1:e45208545174627531e3ea57cb00b038da73cedc @@ -2042,6 +2153,10 @@ trackedFiles: id: 05014ca9759b last_write_checksum: sha1:3fd40a894b9cf5d91c24d6fddc51b21047415ec4 pristine_git_object: e34125504517696a121f3cb748adc4a187f4291e + docs/models/components/successresponse.md: + id: 1ae417c0a56f + last_write_checksum: sha1:321e234108ff9a50d2130ed9dadcf6d41493c10e + pristine_git_object: f5b98169047e72948f1cd86bc392a0968962c44c docs/models/components/summarizerequest.md: id: 1a9462b5ad31 last_write_checksum: sha1:2cc61af7932a87a0107e5c23e9d1e596f01e7f20 @@ -2160,8 +2275,8 @@ trackedFiles: pristine_git_object: a1424a959193ca0c3ed2b8904108c878b78e9653 docs/models/components/ugctype.md: id: 40fa5e032f80 - last_write_checksum: sha1:a9b0d07da911ec748c232712c053b9238d2263e1 - pristine_git_object: 06d1d62f04c73fa8c6a46e85b25a3d0a509b5fd3 + last_write_checksum: sha1:2fe035a5791056128a139dbaf4712d029c7286b5 + pristine_git_object: 243bf0c85469a26ba9a68c9489b53122b122cdac docs/models/components/uiconfig.md: id: 755fbd873311 last_write_checksum: sha1:e4c21e972dd18f962b16321f2f7f61eaf1617cd5 @@ -2324,8 +2439,8 @@ trackedFiles: pristine_git_object: 75a9a2fc450ca79729b1d5aad252e42516bca831 docs/models/components/workflow.md: id: f569d478b233 - last_write_checksum: sha1:b31ea93cdbab519bc52e033eb19bb18005e90650 - pristine_git_object: 1e7f2ffdafce5f961828ff5df802b1a6aec7081a + last_write_checksum: sha1:54ab1ad3409a8363bc78af1b5e206a5235baafd5 + pristine_git_object: 69a5b96905af6c327fa4ec5a98e52eb24e3f758d docs/models/components/workflowfeedbackinfo.md: id: fc6ea7558326 last_write_checksum: sha1:795d944df8cbe9624517695160161e3b01fa3839 @@ -2336,8 +2451,8 @@ trackedFiles: pristine_git_object: c9733ab99c48b153800b551d382f87f6fb6fa360 docs/models/components/workflowresult.md: id: bd2fa7cf0abc - last_write_checksum: sha1:684bd878479e356cf9177b805cbbefa5eb3f8101 - pristine_git_object: 8a71b78d5919e7a02f2c9621f85079d02985968d + last_write_checksum: sha1:a9b2f8610feab126e89aad1da32637ad9b6d624a + pristine_git_object: 22bafceb5ec5638451c80ef93284811b9326a1fd docs/models/components/writeactionparameter.md: id: a140ccfe0c33 last_write_checksum: sha1:1aefb0a079d6c9f6c07f1611baefa5902219b951 @@ -2358,6 +2473,10 @@ trackedFiles: id: 6bdbdadf2a34 last_write_checksum: sha1:eb1dffa9f54a59863a493fc7aa6e89b3d5f8f384 pristine_git_object: f298635a2ec82acebc10d5ad6c2f3f89b43b010e + docs/models/errors/errorinforesponse.md: + id: 7cfc304a94f4 + last_write_checksum: sha1:f4fd258bdaad213515a80652c57e32e29642dd3a + pristine_git_object: a6fee8cf3741a022e3a78ea52e8f76dfba25da59 docs/models/errors/errorresponse.md: id: f49cea889d69 last_write_checksum: sha1:87bc7d1737e451346410db50f80a1d210c702a0c @@ -2378,6 +2497,10 @@ trackedFiles: id: 159181bacf5b last_write_checksum: sha1:87cf10cbca7b8f65b21175a2b019f6a324787bd4 pristine_git_object: 3e279e6b6e3de63030d95f32211d812d8f5567fb + docs/models/operations/authorizeactionpackrequest.md: + id: "131637320050" + last_write_checksum: sha1:6e72d7d708e0ddc69367cb633407464529863a89 + pristine_git_object: 907b4dde22d0b21102254d8ee1cb29ba588ba3b6 docs/models/operations/autocompleterequest.md: id: 752ede2ff9a7 last_write_checksum: sha1:16ced18832ed83bcdb1a7900464633988f30bdd2 @@ -2442,6 +2565,14 @@ trackedFiles: id: 300e8d55e4e0 last_write_checksum: sha1:922cc400c30cc32b4a791a70ef0a48f2c64d79de pristine_git_object: 1b9c2773157192ccff66780242972582be28096e + docs/models/operations/deleterestapiindexcustommetadataschemagroupnamerequest.md: + id: c40971658c83 + last_write_checksum: sha1:56f2407bfb121977e7b9cf3540453096aab15a57 + pristine_git_object: 1bc51350916bfc8ae8a54e3946578fd92973d8b5 + docs/models/operations/deleterestapiindexdocumentdocidcustommetadatagroupnamerequest.md: + id: 25670510a5e2 + last_write_checksum: sha1:347f69b57dc51c19d1af19d7ce742beaaaa9a42f + pristine_git_object: c951a75e2c1665b44407af70f98746c785ac6a08 docs/models/operations/deleteshortcutrequest.md: id: 97f33a2eeb5c last_write_checksum: sha1:f61905f2628a3e71e6e207c68102b0e13ab080a3 @@ -2458,6 +2589,10 @@ trackedFiles: id: 2bbc4490c61d last_write_checksum: sha1:5d86405fae8c1a20db7de29de2e6081b32c10a7b pristine_git_object: 6c5b92a4cc4e739e3a512ed300cb38640f5a54c4 + docs/models/operations/editagentrequest.md: + id: 78e89c286bca + last_write_checksum: sha1:7743f29e4428ce34b4823fd79b81ffb635dfdef6 + pristine_git_object: d84b9cf4fa86a226d25afcd1f017e568f12f8fc8 docs/models/operations/editanswerrequest.md: id: 2573f0a10f41 last_write_checksum: sha1:94401b8a423843a5866dcaa6ea1217dd5add36cc @@ -2482,6 +2617,10 @@ trackedFiles: id: 401ba172918d last_write_checksum: sha1:a4b54a14c3ba89b81419d1c36f88bff6672db230 pristine_git_object: 6d095a7f2f66e6676c02a1ed2bad11c9c73d5c05 + docs/models/operations/getactionpackauthstatusrequest.md: + id: ce9be241c7bc + last_write_checksum: sha1:3a16777ddc562a9cf79c750c84a71548ee1ee9e4 + pristine_git_object: d99545dfebb5c9ea32ffb8b7a14c3b77f0c8ad21 docs/models/operations/getagentrequest.md: id: a4206a636d2b last_write_checksum: sha1:de51912cf2f3bad15c9145a30d6d46cf17145641 @@ -2498,6 +2637,10 @@ trackedFiles: id: 82cc5ce2f816 last_write_checksum: sha1:9687542141e1bc045b5e918f481d027f7f0d5584 pristine_git_object: 97dca0f8f0cd58be21266eca20c7f75136ad03a9 + docs/models/operations/getchatfilerequest.md: + id: 59913a533ce5 + last_write_checksum: sha1:19ae65e90f4b58119e23b678332a1cb992c79414 + pristine_git_object: f50b0100459fb4d5001b3595dbac5ea0f26754e8 docs/models/operations/getchatfilesrequest.md: id: 59c507362ca7 last_write_checksum: sha1:f10262c9badca0fcb456107f985200d3638609ad @@ -2510,6 +2653,10 @@ trackedFiles: id: b4df0384ce7f last_write_checksum: sha1:9a329c6a1029fa79b4767dacc65890fd7c7809e9 pristine_git_object: 1001cc985aab4b005a47be5c46da6623ab130498 + docs/models/operations/getdatasourcecredentialstatusrequest.md: + id: 1d1b325005f1 + last_write_checksum: sha1:70e87f05bda29fd9dfdfcfd359b20b1af2ebdbf8 + pristine_git_object: 7801a01c57d48dcba6470e7ecddf87d7a1eff4a5 docs/models/operations/getdatasourceinstanceconfigurationrequest.md: id: 99af2f064d8c last_write_checksum: sha1:ca1613e99ba04e669347a946553a66a9224b71dc @@ -2530,6 +2677,18 @@ trackedFiles: id: 048e9be7a8bb last_write_checksum: sha1:6a081f1b201b903c60e3525462b35ab7341955ac pristine_git_object: 40bce23fd2ae58996270000cd82de51fc48764d6 + docs/models/operations/getpersonphotorequest.md: + id: 72bb69e0134c + last_write_checksum: sha1:4dfa47fa8326ee133b991355e75b097bdadb2e5c + pristine_git_object: 1445dbf9e4197be06e9c954e920479b8b48afcfd + docs/models/operations/getpersonphotoresponse.md: + id: 366c051d9673 + last_write_checksum: sha1:44b3a7198af71cc4cc0076dac79464d67354eebf + pristine_git_object: 8450a4fc468558d6335154af5737b884ca2f6ecd + docs/models/operations/getpersonphotoresponseresult.md: + id: f1c03305ad73 + last_write_checksum: sha1:37754b0a156fc70433eb42e4efb28ce5aaa69bc9 + pristine_git_object: 6624f92ab0d105adfd7fca358fcda6b18bc5d19f docs/models/operations/getpinrequest.md: id: bfd90dc88246 last_write_checksum: sha1:dd409836ca1726959fe20ff2db99ec76c4b17ce9 @@ -2542,6 +2701,10 @@ trackedFiles: id: 0ad19dfdff6f last_write_checksum: sha1:5066d4cca613cad3856b77d64ffd522ad3202f66 pristine_git_object: a25879c41d8eb0efbbe85c37109020efc49520d3 + docs/models/operations/getrestapiindexcustommetadataschemagroupnamerequest.md: + id: 98b5f81e87e3 + last_write_checksum: sha1:d54d59df0469730a3ffcb944ada1d1bb0934a6fd + pristine_git_object: c8578edcbc85f637a22aa3475331d74c3aa399a6 docs/models/operations/getrestapiv1toolslistrequest.md: id: a0f52a6543af last_write_checksum: sha1:0c7de8b298bd7a63e35d8954429d22a506be403f @@ -2602,6 +2765,10 @@ trackedFiles: id: f8eca138bc2d last_write_checksum: sha1:08c4e00d533ab592b521a8cbc7259bfca69da666 pristine_git_object: b9b5b9cefc7b634682286de2c11e7b7f375add80 + docs/models/operations/postapiindexv1debugdatasourcedocumenteventsrequest.md: + id: 13205d748dcd + last_write_checksum: sha1:a4343ef66a0c237e1eada5f9fe0ca897db13a0a2 + pristine_git_object: 5a249c59bbe356860874cb0a26005734d559d950 docs/models/operations/postapiindexv1debugdatasourcedocumentrequest.md: id: dbefb45abdb1 last_write_checksum: sha1:898e5a126a181df5397afcb4964b045bb06e8b68 @@ -2618,6 +2785,14 @@ trackedFiles: id: 0249628450ea last_write_checksum: sha1:9c9539b6105a81073226d805850cd6ef7480a6ee pristine_git_object: 0e03be63166e25319231ad8df464771b5dcb57af + docs/models/operations/putrestapiindexcustommetadataschemagroupnamerequest.md: + id: 3d7cd86e06cc + last_write_checksum: sha1:070ab5997aae198ff19b851e426a599d7b4b4c6c + pristine_git_object: c5eda19a97dac12e9a17736f557c10cbeb49c793 + docs/models/operations/putrestapiindexdocumentdocidcustommetadatagroupnamerequest.md: + id: 74f2c0c0bfbf + last_write_checksum: sha1:0c955116f1b4a4f20b57cf8641a372872df1516c + pristine_git_object: e177d320a55ad542303d75b76ae833a7ffdfcc9f docs/models/operations/recommendationsrequest.md: id: be4f2c67f5e4 last_write_checksum: sha1:d0f4e4975a5ad1d811fc22094889ddf66a67dd34 @@ -2630,6 +2805,10 @@ trackedFiles: id: d828d08c5322 last_write_checksum: sha1:e3868b318585d6a7bc043d9b50e6048fe08bb33a pristine_git_object: 38af3215749f9903361a8002931377e5626ef2b9 + docs/models/operations/rotatedatasourcecredentialsrequest.md: + id: 895a01716ffc + last_write_checksum: sha1:ed28c6788ad1debe40e4086cad5d7815043e9071 + pristine_git_object: d0c8c64c342b415170683c0f2eb750146e75a3d3 docs/models/operations/searchrequest.md: id: 4351dc03334a last_write_checksum: sha1:72ce0038d43cade3f3246077ed93b5ea630b51b1 @@ -2672,8 +2851,8 @@ trackedFiles: pristine_git_object: d660077d81220a7f0b093725c504fc9ed2db65ac docs/sdks/agents/README.md: id: 5965d8232fd8 - last_write_checksum: sha1:2a62593e6e52585c7075d8bb0af121ed3ad783c7 - pristine_git_object: c9260f0d70ece48033eae05ab9180269f7a95661 + last_write_checksum: sha1:b9477381550cbf7e9cc5b727a324e78860c2f26c + pristine_git_object: 8600601e2061684fa33aa64f0e462d9555526461 docs/sdks/announcements/README.md: id: 3d2e130a217c last_write_checksum: sha1:9955e9b871a2deaa2c17cd1c92fb4d34f7e05138 @@ -2688,36 +2867,56 @@ trackedFiles: pristine_git_object: 3be3c1d5c4ae22d894a6d2e50807becd48d984e1 docs/sdks/chat/README.md: id: 393193527c2c - last_write_checksum: sha1:016836b06ac82292ab19a371675f10ad747ca677 - pristine_git_object: 306fd83da354a9af45576d073863ba6c0e063da0 + last_write_checksum: sha1:a692435f7aa2f67d5bc8538316d08c79214e2741 + pristine_git_object: b25804b1451112e05dfe7cc74411fb336c697730 + docs/sdks/clientagents/README.md: + id: 8e00e6d6b64e + last_write_checksum: sha1:2a62593e6e52585c7075d8bb0af121ed3ad783c7 + pristine_git_object: c9260f0d70ece48033eae05ab9180269f7a95661 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 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/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 pristine_git_object: c1f110c506116ace59fe8ed719870e347b83cab1 + docs/sdks/custommetadata/README.md: + id: b95d224c9f1d + last_write_checksum: sha1:9ee27180b7c902cce386d0599c2c7c544c1991dc + pristine_git_object: ab3305a922558134e1e8792a504fdfbfb01d2296 docs/sdks/datasource/README.md: id: 4671628477b5 last_write_checksum: sha1:a1037c52cd6be7317bc22df2161f774968ebecb0 pristine_git_object: 8847f26a2b7969f6525b6d59ac958d304e2cbc1f docs/sdks/datasources/README.md: id: 024d3ed36945 - last_write_checksum: sha1:4d96e66bb876c20af536fe7ff67479b2f9eea1e0 - pristine_git_object: 8b2aab79815154ee4fb4993595d31407dc40e534 + last_write_checksum: sha1:c1556041a86fbe96c6af741b28ea2d0286a53ae5 + pristine_git_object: 23c48bbdb647bed17bfe754ed81b8b6769a132bf docs/sdks/entities/README.md: id: a140ac5181b9 - last_write_checksum: sha1:e371224ba6928117f8a09f1f1e53c7b5659e13ef - pristine_git_object: b4b1417634532320cf5e3e8120cd57b553df949e + last_write_checksum: sha1:5991d3128186684bdf3e953fd50f73d7c299b442 + pristine_git_object: 16ea20806bb6344354564a6e86755e7b47ffe508 docs/sdks/governance/README.md: id: 87817eb7bf48 last_write_checksum: sha1:370676bbc4e4473876ac05813769550cb56fd2bb @@ -2772,8 +2971,12 @@ trackedFiles: pristine_git_object: a647106d2438e12653a2eab9b89833843e9ce5cb docs/sdks/tools/README.md: id: 044286549bac - last_write_checksum: sha1:b9b5a72a1ebf1aa7188896d3c08e6f195f50d6bf - pristine_git_object: bdf0280104a9a51a7633758a9dde25be414575ac + 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 docs/sdks/verification/README.md: id: 8148670b64d3 last_write_checksum: sha1:5dae6116a97c546dd5d203beddd266ded05cdeec @@ -2808,12 +3011,12 @@ trackedFiles: pristine_git_object: 5a2797590d4be351d62915017d5b2a0f853537c8 jsr.json: id: 7f6ab7767282 - last_write_checksum: sha1:91ce4a755546b113568237e7d29297d25d2548eb - pristine_git_object: bf9bf2776fb41fb7d04c58560958a018801d55ce + last_write_checksum: sha1:014b49ffae1d7ac5a340c18a5b6f43439cc3525b + pristine_git_object: a7a506e544f3ca249813877bb15728b6b3e6ff50 package.json: id: 7030d0b2f71b - last_write_checksum: sha1:7efb99f08cfeb9b495c937d85f97948d4520c2be - pristine_git_object: 1ecfe89061b9419475d35e585360829664dc40d9 + last_write_checksum: sha1:d268e47fa7ab495abbf7c8101716d76c4d0e5ee5 + pristine_git_object: adc877451cc22a768bae7be429484ee50f66f0df src/__tests__/activities.test.ts: id: 65fa859b8f59 last_write_checksum: sha1:756bc40095f4495bbf62739b8218bb4a559a24f2 @@ -2842,6 +3045,10 @@ trackedFiles: 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 src/__tests__/clientactivity.test.ts: id: 763dd50c7493 last_write_checksum: sha1:ba2524258d92b2768d107c5f3492552e317ff471 @@ -2874,18 +3081,22 @@ trackedFiles: id: 55eff26eac34 last_write_checksum: sha1:6e9e66e982802319b2393ef60a67a4d6d072f7f7 pristine_git_object: 2b9ff3ac33fac39d2df3e5ad1a1f62f559e1914e + src/__tests__/custommetadata.test.ts: + id: cc528d845e70 + last_write_checksum: sha1:660203c3390b51ec50e75ad2f2c96aa4f145eced + pristine_git_object: 265beab17df905d6f047f8654743eec13919f088 src/__tests__/datasources.test.ts: id: 18a671f4487e - last_write_checksum: sha1:5784c1cd1a71066e3e34a5e3e2d36ecb170b56ac - pristine_git_object: 87d490eb151a585e0b9c9db33bae8daec8626ad4 + last_write_checksum: sha1:bc0748627e15b80623d18862e85ed041d87fbff3 + pristine_git_object: 27025fea2b384eec4e5a46cdf0cc96c8c4c8b8bd 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:5a7f6775f759a8159f41edbab6ded96d8dc00e63 - pristine_git_object: 5564639563e219109eed9c5ba51c094c97e167f1 + last_write_checksum: sha1:c325e5d8f4e6abd5711bba061e78adb9e418ea83 + pristine_git_object: cc37bc60a91a50446e33359964d192b419b9a585 src/__tests__/files.ts: id: 0d6c3f8fc578 last_write_checksum: sha1:f6d40d34545c302389e3bd18343ea5fb3e3013e5 @@ -2912,8 +3123,8 @@ trackedFiles: pristine_git_object: d252821b825c62856886e3ab9287181d7ef7f9de src/__tests__/messages.test.ts: id: 39e293f09219 - last_write_checksum: sha1:17d923a23384341a26ce4774612e47a9bcfc8dc6 - pristine_git_object: 41c0b3c93454418989eac9a34b10c888541e3e2e + last_write_checksum: sha1:c78b09c09e64da0655a3e0ecbadabe82980ef7d1 + pristine_git_object: f390543460d7bd3c678c17579e755b9e06faac16 src/__tests__/mockserver/.gitignore: id: 4a7fc421b6b6 last_write_checksum: sha1:228e1b05712a973948fd771323a2140a3b355ff4 @@ -2968,8 +3179,24 @@ trackedFiles: pristine_git_object: af3a6d136d837850b34ed893a8faf800ea114721 src/__tests__/mockserver/internal/handler/generated_handlers.go: id: e6f590a8ce11 - last_write_checksum: sha1:d5760ec8d6abfe55bc7e678c77368a40f90f06ee - pristine_git_object: ca6e8f1f6bbec5af4d732f057e5c277b3108c8f4 + last_write_checksum: sha1:1eb9d0e6e8fbc63374ae4fb971a191d2c68c86d0 + pristine_git_object: c4e300272b8d1f868e6d3b7188edcf6400c5e3b4 + src/__tests__/mockserver/internal/handler/pathdeleterestapiindexcustommetadataschemagroupname.go: + id: ef047f0e0f32 + last_write_checksum: sha1:187ff16d05efa1c937632f61dd3f49e49691d5ff + pristine_git_object: 626813a1997bc39941c5111c29bb8102c47a48d8 + src/__tests__/mockserver/internal/handler/pathdeleterestapiindexdocumentdocidcustommetadatagroupname.go: + id: cca19fb5005a + last_write_checksum: sha1:a12129405accab2b90ed80759ac5ae1c0ad6d1f5 + pristine_git_object: 5508b764506a6430fd0448015385e959bbd35722 + src/__tests__/mockserver/internal/handler/pathgetrestapiindexcustommetadataschemagroupname.go: + id: 68f9bc7ddc35 + last_write_checksum: sha1:4fe0018044e99586f72be23534b463468e194ba2 + pristine_git_object: 2f88c234c1ddaf6b2d50ecd19e77f333f66982c5 + src/__tests__/mockserver/internal/handler/pathgetrestapiv1actionsactionpackactionpackidauth.go: + id: 479adebd57c8 + last_write_checksum: sha1:a986f5cc9fdc067039bd5db8464fd0349c2740ad + pristine_git_object: c4fdbf351d777b1eb0598969f9def1ad192edb32 src/__tests__/mockserver/internal/handler/pathgetrestapiv1agentsagentid.go: id: 3ac6b87009ae last_write_checksum: sha1:ef2ddbc22762efbeeb5c0dac0cd7c47d530a5588 @@ -2978,10 +3205,18 @@ trackedFiles: id: ecbf5be25053 last_write_checksum: sha1:f943aae4230a5e26ea23701575daf14c76546d45 pristine_git_object: f58b357819470cef36ed81a0f307ad6345178e67 + src/__tests__/mockserver/internal/handler/pathgetrestapiv1chatfilesfileid.go: + id: fec2df39d630 + last_write_checksum: sha1:5d770a95c2cf84308caaaf632c819831de0b55ab + pristine_git_object: be7ba320b0a0d836096810a9ef6af1f83bc29fd3 src/__tests__/mockserver/internal/handler/pathgetrestapiv1configuredatasourcesdatasourceidinstancesinstanceid.go: id: efe28166e80b last_write_checksum: sha1:a3f06de2c4cb24b387b161d8b83dd916eecaddeb pristine_git_object: 13ef4291efbd2683caf9ac9ee7144d92033d9493 + src/__tests__/mockserver/internal/handler/pathgetrestapiv1datasourcedatasourceinstanceidcredentialstatus.go: + id: b211015821ce + last_write_checksum: sha1:ae324e96d0e64786a71fec5b058fa106e5e34b93 + pristine_git_object: 55d157f31d27907cb84d8802a7a8d390f79cf5e1 src/__tests__/mockserver/internal/handler/pathgetrestapiv1governancedatafindingsexports.go: id: 4868ff320924 last_write_checksum: sha1:82ae6a9b22e907fe2fee076135986f0be1d8fb24 @@ -2994,6 +3229,10 @@ trackedFiles: id: 907f763eb9e3 last_write_checksum: sha1:e3c373d3fb31844575b5f1bb20fcf2e86aec81b8 pristine_git_object: 0e30e693cef2cda7fc56d29cd7656e55582c5057 + src/__tests__/mockserver/internal/handler/pathgetrestapiv1peoplepersonidphoto.go: + id: 3b059ad09057 + last_write_checksum: sha1:368d58499a71f55025964389832d0fc5c34b66b2 + pristine_git_object: ee3427280c3cc5d948cc755e4193dbbff5ac3ee9 src/__tests__/mockserver/internal/handler/pathgetrestapiv1toolslist.go: id: ff6366c93e84 last_write_checksum: sha1:76b315d72f8ed70773ffda031d3668948bbda043 @@ -3102,6 +3341,10 @@ trackedFiles: id: 54397bfd5c25 last_write_checksum: sha1:6d33fd803451d8939f9bfd9fc298f7011dd9ad52 pristine_git_object: c2e8c29077f6c5f3aca9fea9aaab59318ca4a6f9 + src/__tests__/mockserver/internal/handler/pathpostrestapiv1actionsactionpackactionpackidauth.go: + id: 4444898143aa + last_write_checksum: sha1:9e82e0bfdaf137d17892ede8109c01e32ea218f3 + pristine_git_object: c81097e4155565c84dd56d176e4cae8a50b6a789 src/__tests__/mockserver/internal/handler/pathpostrestapiv1activity.go: id: 131587a4e9c9 last_write_checksum: sha1:e1c47f45b68f09ad1ebe85fbc1507d7d491f21d6 @@ -3150,6 +3393,10 @@ trackedFiles: id: 440deca160f6 last_write_checksum: sha1:e2bba9884dd04f8d9b158c88fb32ff9f06687846 pristine_git_object: e1fc067ea38eca23f2d956f2f9439b6766cfc02d + src/__tests__/mockserver/internal/handler/pathpostrestapiv1datasourcedatasourceinstanceidcredentials.go: + id: 81b73e5eaecc + last_write_checksum: sha1:ee6ffd52d31c19b184a4a451d30c877fcc6e68b4 + pristine_git_object: 02eb33d162677b39467f2b167d831ee6ec09b610 src/__tests__/mockserver/internal/handler/pathpostrestapiv1deleteallchats.go: id: 2fb2feabcef2 last_write_checksum: sha1:d4764e3441757dbe8ac398e460dee13d488f1b52 @@ -3322,6 +3569,14 @@ trackedFiles: id: e85ad0f407e1 last_write_checksum: sha1:77baed67b9d02b124558d59b4f8033512603e8f3 pristine_git_object: 67daeb232162ecf8ecf0ffbc2b49886aa7af7682 + src/__tests__/mockserver/internal/handler/pathputrestapiindexcustommetadataschemagroupname.go: + id: f389b38657f4 + last_write_checksum: sha1:82fa63f7c4270bb675e02e4d6fdbc2d6b061a4d2 + pristine_git_object: cbeac910f427113f05bfd558a80e18bfc3b961a5 + src/__tests__/mockserver/internal/handler/pathputrestapiindexdocumentdocidcustommetadatagroupname.go: + id: d76f59d94c50 + last_write_checksum: sha1:dd3985fe0d4750febd31885afc1104304254e234 + pristine_git_object: b2e68587e5b73d51d14875d7509c01bf16872f11 src/__tests__/mockserver/internal/handler/values/files.go: id: ae4785e24186 last_write_checksum: sha1:cf31f35d24d02b9f62980c031dbf3c8e289b2ca1 @@ -3358,6 +3613,18 @@ trackedFiles: id: fd668c9dd962 last_write_checksum: sha1:a2a4e08b770e6bf6c9071be60fc77f32e869b99a pristine_git_object: e727046196ca66f39773e863f1bbe595eda7296c + src/__tests__/mockserver/internal/sdk/models/components/actionauthtype.go: + id: a87edf85157a + last_write_checksum: sha1:25258560db766fcac309d850d1b9062a2e61a350 + pristine_git_object: 4e6cd12fc786b77b99f26e02733eb8e627d9b65f + src/__tests__/mockserver/internal/sdk/models/components/actionpackauthstatus.go: + id: db25e2dc49f5 + last_write_checksum: sha1:8656450d9e512ce2f9b66900279765af5164e15c + pristine_git_object: 6e5e1d8d032de2d7b96b96f2cf7f0fccbe3ce62c + src/__tests__/mockserver/internal/sdk/models/components/actionpackauthstatusresponse.go: + id: 25ad3350e934 + last_write_checksum: sha1:92a401051d64a54b3091796b1e8b5ecfc48ce86f + pristine_git_object: cae9602809ad69625c38873e262f718ae81772de src/__tests__/mockserver/internal/sdk/models/components/actionsummary.go: id: 5c5dd3b05083 last_write_checksum: sha1:443f281f0b5fe5be6c3590948d77b96033e81f67 @@ -3376,8 +3643,8 @@ trackedFiles: pristine_git_object: 7035ac9b0b26bf2312be897aeb2b99ae8f088575 src/__tests__/mockserver/internal/sdk/models/components/addcollectionitemserror.go: id: 90cee46ff80c - last_write_checksum: sha1:256fdb67d689adcf37735a903278113a68d3b638 - pristine_git_object: 0167d2f5abec25cc2855fc6c8ff017d155540c74 + last_write_checksum: sha1:be5c0e0b151cb3d87f782ac78d1a81ff5ee95d13 + pristine_git_object: 535a3e697c33817d7d7d41c1dfdb2889cd4c72a8 src/__tests__/mockserver/internal/sdk/models/components/addcollectionitemsrequest.go: id: f43a6a1d4921 last_write_checksum: sha1:961d5208235cf08c12c288812af628d1d029a64f @@ -3420,12 +3687,12 @@ trackedFiles: pristine_git_object: 6a8c53ce92a6bd0305a1920b320ae60512e8b42d src/__tests__/mockserver/internal/sdk/models/components/agentsinsightsv2request.go: id: 29dce2482fd9 - last_write_checksum: sha1:de65a43d96c60a0f67a18503e2ce411f61889c8c - pristine_git_object: 17ce690c74988b8fe46fbafc03cff3ab345db82e + last_write_checksum: sha1:00fcd3968e876c5551865c3f4aabf5defcd05f16 + pristine_git_object: 9d245e8b8ce0a8fb3012a6e94b518c6e70919e0b src/__tests__/mockserver/internal/sdk/models/components/agentsinsightsv2response.go: id: c3e5df1cf478 - last_write_checksum: sha1:a278c1a5952aab1475505179a88b337071c1648b - pristine_git_object: 119997406d2c5967e0c70d08bde97db9f8f32c54 + last_write_checksum: sha1:b8902143e30d67afa09da8b7edb2b4ca19b68626 + pristine_git_object: 2ce9f1b13d09875e0de7797a313ac42884c7da39 src/__tests__/mockserver/internal/sdk/models/components/agentstimesavedinsight.go: id: 2c1924acb6e6 last_write_checksum: sha1:609b38013efda17171ee9adaf6b339b0175d95c0 @@ -3434,6 +3701,10 @@ trackedFiles: id: 93648178393b last_write_checksum: sha1:693592f24ecdc2caae29d3c888f72ecf44a8d8b5 pristine_git_object: cd40de63b57c190be6f058d6fe6662ea56fb1721 + src/__tests__/mockserver/internal/sdk/models/components/agentusecaseinsight.go: + id: 365fce97bbf7 + last_write_checksum: sha1:3dc56608b16da41bef2177a3a57f9bdaf4dfeddf + pristine_git_object: 430accd31937c7b377439127895d013e79aafcf9 src/__tests__/mockserver/internal/sdk/models/components/agentusersinsight.go: id: 870d2add6269 last_write_checksum: sha1:8f404bdc155d584b1731e2bc42ab75910ed8facd @@ -3444,16 +3715,16 @@ trackedFiles: pristine_git_object: 78f3c3a8e2250ae789b4695f0e2fb85849b43f9c src/__tests__/mockserver/internal/sdk/models/components/announcement.go: id: 14f823a1d359 - last_write_checksum: sha1:c44dc5456b9159524851946541fb1c15c08223ef - pristine_git_object: 272cf3582c5ed7bb15d35880c0a3928e06d8fa57 + last_write_checksum: sha1:8884feeaf85c38ee179f2e78bac3dcfd21957b69 + pristine_git_object: 2d1b421625941dde1ce766ddfcc9bf7908cfc0b6 src/__tests__/mockserver/internal/sdk/models/components/anonymousevent.go: id: c9fe6cd8ac14 last_write_checksum: sha1:13a5cdf25a9930af0aabf714a71dbfb13b569c7d pristine_git_object: 5c1dd25ad7e84e109e8ea840663c1f0df4626d6c src/__tests__/mockserver/internal/sdk/models/components/answer.go: id: d8cf1c853ebf - last_write_checksum: sha1:97a37bca063cb0c01c2bb8329d966c142f6ec06c - pristine_git_object: 13dfa8c27adda32969f16f1412cbbbd3f2968d4c + last_write_checksum: sha1:33ba0d1aeddeeb405771492d33114a0e512f3e61 + pristine_git_object: c6170b533acb557ca8d80aac67035427d9e1c379 src/__tests__/mockserver/internal/sdk/models/components/answercreationdata.go: id: bd06af138314 last_write_checksum: sha1:6cd256283b43dbca54360de105a1a625ca88fb7a @@ -3468,20 +3739,28 @@ trackedFiles: pristine_git_object: f52d86b6e297de012abd65f1c693cce4a6e90306 src/__tests__/mockserver/internal/sdk/models/components/answerresult.go: id: 109f5875183f - last_write_checksum: sha1:6fc098498a94878a8a9f17a4597686e21da85873 - pristine_git_object: a1e0d88b65f14113b55f5cd03970154d2b003295 + last_write_checksum: sha1:710729ce523fdebcfa79c830130833cec770ad04 + pristine_git_object: 9c27d78c6035d7f1b05c98a7224919bc76bd7b28 src/__tests__/mockserver/internal/sdk/models/components/appresult.go: id: 7405edb9483c last_write_checksum: sha1:f05a16db5deb59625b24350e5978592383a00c36 pristine_git_object: b865e18def078e97bcc51c5bd952fbe10d409dcb src/__tests__/mockserver/internal/sdk/models/components/assistantinsightsresponse.go: id: 377bf31a3851 - last_write_checksum: sha1:3c3fa5a03d62a4d7891c01837d3a9cac4bf47e56 - pristine_git_object: e4dac72f7a31b5a08daeeb5927b8f953a75978a5 + last_write_checksum: sha1:7d1facfd42a3663398e7f188670fc06e3b13c0d6 + pristine_git_object: f48df570eecb0d35c90cbc82c217aa7f6358fb96 src/__tests__/mockserver/internal/sdk/models/components/authconfig.go: id: bd46890bd153 last_write_checksum: sha1:055780960e8938e58630304b702844506f2b20bc pristine_git_object: 88f99ced130a7d19eadff9ddd895a0262896fa09 + src/__tests__/mockserver/internal/sdk/models/components/authorizeactionpackrequest.go: + id: db63660d8f6e + last_write_checksum: sha1:2abd90cabb3433f52bc16e637cabe94e83647492 + pristine_git_object: 352df3c0063df981222cf4fe5a652b2b22e5bf59 + src/__tests__/mockserver/internal/sdk/models/components/authorizeactionpackresponse.go: + id: 9fbec925f40d + last_write_checksum: sha1:b3e062269d11d7e6911a6c430d9e1d4284b82ced + pristine_git_object: 153960ddf411e936b5a4f7da064c467dddc35310 src/__tests__/mockserver/internal/sdk/models/components/authstatus.go: id: 664731bbbd4e last_write_checksum: sha1:11c285e8a778d59aeb898ded25c9feada2ff2ca3 @@ -3620,8 +3899,8 @@ trackedFiles: pristine_git_object: 8184dca9857f1f99c8f9f2d6ca18876ed41e775b src/__tests__/mockserver/internal/sdk/models/components/chatsuggestion.go: id: 8fcc539389b6 - last_write_checksum: sha1:ec3b797a6c80456918fa73eebc4f7a7e9378407c - pristine_git_object: d00bdcdf850b1f2bb73de8d725c80d336cc103e7 + last_write_checksum: sha1:60c7d26b50b89ec1395c1bb02b5a8798db5cf1f0 + pristine_git_object: f49ad2b6f2d1c8bbffc709926f1d16ecc0e8753b src/__tests__/mockserver/internal/sdk/models/components/chatzerostatesuggestionoptions.go: id: 7c91c7d593a4 last_write_checksum: sha1:3251f5b930748e00111065bb0e011316e356342a @@ -3656,12 +3935,12 @@ trackedFiles: pristine_git_object: ecafddaf4de56f1e50cd37851f878c8028cc729d src/__tests__/mockserver/internal/sdk/models/components/collection.go: id: edd6036bf9d1 - last_write_checksum: sha1:41c94c1f4ecb34ee06d7ecb0d3f8e5ac9c0b916a - pristine_git_object: 9d72eaec228d22b0d9347677421efe56fc790ec6 + last_write_checksum: sha1:83a06fab9c56fe06b357775494f7413def025d4a + pristine_git_object: 2fe0c468eb4d3f6031de896f7f4101683b6ea206 src/__tests__/mockserver/internal/sdk/models/components/collectionerror.go: id: 4b14dd9888fb - last_write_checksum: sha1:3d863736b4ff4e3edf774c25304cff9182f0d791 - pristine_git_object: 63ddc19421b0221de5cc841555d464ed3a32924c + last_write_checksum: sha1:5996fabe2bb6a84c4a3f2c89b5e0f32716f70f2d + pristine_git_object: 5fc337e46898b992a331e5008dcad32b4023dfe5 src/__tests__/mockserver/internal/sdk/models/components/collectionitem.go: id: b33f2ff2fcec last_write_checksum: sha1:0c2093ba8e3ae50412393ac680ab9055e0ced181 @@ -3760,8 +4039,8 @@ trackedFiles: pristine_git_object: 273744b9f8e6411bb38b40948742b26e254f5b87 src/__tests__/mockserver/internal/sdk/models/components/currentactiveusers.go: id: c8daf25c6435 - last_write_checksum: sha1:7f58e5b4532e0a7ae65e516e417b26280f709e89 - pristine_git_object: 12663c385fd83f3c6d4e3c527bd2ded20a53a278 + last_write_checksum: sha1:304f59048743349b27ecd9faf9f3cfc3a13e3e1f + pristine_git_object: 54a9e9e90083c840fc6f32abdef5a9df9f2a3912 src/__tests__/mockserver/internal/sdk/models/components/customdatasourceconfig.go: id: 9bbc8cc2edb5 last_write_checksum: sha1:523cd17f04847991d87247aaac57fbd725b5a641 @@ -3806,6 +4085,18 @@ trackedFiles: id: "302683317e87" last_write_checksum: sha1:394ab455c58523f26fb3f89ae441472822b0d91b pristine_git_object: ee6dd57c8573f858f23af4ec359826419fc2cff8 + src/__tests__/mockserver/internal/sdk/models/components/custommetadatapropertydefinition.go: + id: e36bba77dcd2 + last_write_checksum: sha1:b8ebad895a5bf6b9d86f9656454544bb82d0ac54 + pristine_git_object: cdaad8b6abbab75552fc0dec5a6b41cda2031e8b + src/__tests__/mockserver/internal/sdk/models/components/custommetadataputrequest.go: + id: 9c9e5a8e2c6a + last_write_checksum: sha1:0d1006ad211078bcf39c696c39386ac4315502b6 + pristine_git_object: 2aac73e4c2d8255179527cee3eb3e975ecdadbb8 + src/__tests__/mockserver/internal/sdk/models/components/custommetadataschema.go: + id: 34ba445884a4 + last_write_checksum: sha1:592e7b65ce8c33068b8c8bf18b0e48baf598e0ca + pristine_git_object: ae444c0a8233a02e31ff46283b6c862c1ba4466c src/__tests__/mockserver/internal/sdk/models/components/customproperty.go: id: 9e018ee6c129 last_write_checksum: sha1:a591b0c0ac962a5c21afff6926d47cea5e3c7800 @@ -3830,6 +4121,14 @@ trackedFiles: id: f1bc77c0451a last_write_checksum: sha1:e6e5c1abc4f8c0a863093d9b76b1e1b82567542b pristine_git_object: 2814a5ea414af52611919f743153aaffb9c2a3d1 + src/__tests__/mockserver/internal/sdk/models/components/datasourcecredentialstatus.go: + id: 3d50460e0e75 + last_write_checksum: sha1:0098a9c77b84a56a83d2b911f6ac0a200e64d916 + pristine_git_object: bc3b4ea218ffa4867a5d735f2d089ab6dca0f5bb + src/__tests__/mockserver/internal/sdk/models/components/datasourcecredentialstatusresponse.go: + id: 056edd590a0e + last_write_checksum: sha1:b023b02b11fb02b95d9b65d5a96858f07c3de7f9 + pristine_git_object: a584afdccba85f9364fc519499790a30edde83e9 src/__tests__/mockserver/internal/sdk/models/components/datasourcegroupdefinition.go: id: 09d732bce766 last_write_checksum: sha1:9ae90bf846871af596d5e013128fd018e868a4c4 @@ -3862,6 +4161,14 @@ trackedFiles: id: bfaf619be43a last_write_checksum: sha1:4df310b0364b6f7086b85ef9f30f2df24fafc9e1 pristine_git_object: 10d49a5e8c24ebed41dacf86a95d116bae731a5a + src/__tests__/mockserver/internal/sdk/models/components/debugdocumentlifecyclerequest.go: + id: c5a347c7e39b + last_write_checksum: sha1:fb16e0bb9440140c631fcfa06b2515260096e39b + pristine_git_object: a9d9780112600cd42741e76bd523c106e19bb9ce + src/__tests__/mockserver/internal/sdk/models/components/debugdocumentlifecycleresponse.go: + id: e4c48173199e + last_write_checksum: sha1:b7be606926f88b0e28aa8f15e18124781bfedb7c + pristine_git_object: 66240f12f64593d382fd7f4d1d1c65e102666a6a src/__tests__/mockserver/internal/sdk/models/components/debugdocumentrequest.go: id: 3340c50b2f53 last_write_checksum: sha1:1fa8ed319637192ebe106729d91ffa5608baeca2 @@ -4088,12 +4395,16 @@ trackedFiles: pristine_git_object: b22b3979229c9b4a6c6db1788a50e68f9d67762a src/__tests__/mockserver/internal/sdk/models/components/editcollectionresponse.go: id: cb38fba58fac - last_write_checksum: sha1:5b78034b496fe4a47a0cc02265b9076a36d5ad46 - pristine_git_object: e06e4df71ccb00d35aad55f2441ca3f57140485c + last_write_checksum: sha1:318309f364c1b1469c416e98662fefb97a90a700 + pristine_git_object: 4f0a3dae620d06fd9b5bc26598dd7a4ca85c3819 src/__tests__/mockserver/internal/sdk/models/components/editpinrequest.go: id: 87d7298f929f last_write_checksum: sha1:167e73db3827f616bb8e61798c489f37d2716c83 pristine_git_object: 081558dbb74d76fda1bd17c05cc3a581f7c2b5d1 + src/__tests__/mockserver/internal/sdk/models/components/editworkflowrequest.go: + id: ea4b3871d4ad + last_write_checksum: sha1:650111dcf1b0566336ea418b8482768eea5d5047 + pristine_git_object: 66905be26174d8a1ab27e31429476c7d3712c60c src/__tests__/mockserver/internal/sdk/models/components/employeeinfodefinition.go: id: 0d686484c1f7 last_write_checksum: sha1:ce2cd30bf932d89065840d248879fcffd8e20103 @@ -4180,20 +4491,20 @@ trackedFiles: pristine_git_object: 54c2343dcd47eaa0df0d3fa03ed3fac4df24e025 src/__tests__/mockserver/internal/sdk/models/components/feedback.go: id: fd3827c76554 - last_write_checksum: sha1:320d785138f310a96b086a9d9b7cd2aa2e549fbe - pristine_git_object: 975230337f658a8a6625cb9a23479d510088df8e + last_write_checksum: sha1:93b0a3816a6f6122cf1716ebb61cfe691e370844 + pristine_git_object: 3ec537a378f9f4c9170df7b0dd08f34c20e9768a src/__tests__/mockserver/internal/sdk/models/components/feedbackchatexchange.go: id: 7afd054d44de last_write_checksum: sha1:f7d67e90bc8bde686ef082af17c8ffa0d185aa2a pristine_git_object: eaa87413391e44f74a2647a75d861904a051a1af src/__tests__/mockserver/internal/sdk/models/components/feedentry.go: id: 809547cb5c68 - last_write_checksum: sha1:06b2d079c198e9a0c07720826a2a0ff05f39952a - pristine_git_object: 35caf9b999298966dfb53f369392bc06baa56aa7 + last_write_checksum: sha1:953d0befc2d180b6c4a472410281ea72faa5ab84 + pristine_git_object: f8c015fa238ddad416ae598e6f4206ba4d419299 src/__tests__/mockserver/internal/sdk/models/components/feedrequest.go: id: f7bd2c505cff - last_write_checksum: sha1:f8759595e33cc47da2f0856e727dc51e8ba6eacb - pristine_git_object: e003cc2e14fa4959d165646bf40e5866a32a0ab4 + last_write_checksum: sha1:19bc13c631377f0da51a500bcda6159e11c8d863 + pristine_git_object: 6aa7fcf0580bd7e82d1994ca8fd10d26ee6eb4ec src/__tests__/mockserver/internal/sdk/models/components/feedrequestoptions.go: id: d6a1872334df last_write_checksum: sha1:1ab14ce889dc4f6a8cd018f5ef731ee05e3c4f3a @@ -4204,8 +4515,8 @@ trackedFiles: pristine_git_object: c92a344643e978700da31b2f24afaf9d14fd8d69 src/__tests__/mockserver/internal/sdk/models/components/feedresult.go: id: 90772ce61c8a - last_write_checksum: sha1:5b2cb670336d6f1a254c2cd0cde972f4c194c79e - pristine_git_object: 4c0e58ed54e7175e82dd5b687789c603303305d0 + last_write_checksum: sha1:243892cf45f659af919f14ed0a44b9284403be0f + pristine_git_object: a6784e34c5a3ca7fda9952163e08c96e424d2801 src/__tests__/mockserver/internal/sdk/models/components/followupaction.go: id: b87db474fc6a last_write_checksum: sha1:94c11e6ccb0d238213354241dff0baa101808b64 @@ -4264,8 +4575,8 @@ trackedFiles: pristine_git_object: 05001c6e54d54f78950720f21f6f74996c4b8b98 src/__tests__/mockserver/internal/sdk/models/components/getcollectionresponse.go: id: 2c580e07c705 - last_write_checksum: sha1:7f3d4833e2333fff7cf04f415bd4c7f31ec1991b - pristine_git_object: 964d8f8be1909c86febbb94e40025ea3785f5adb + last_write_checksum: sha1:c1b2c9299b8d717eaf6f83fc1ade2f6e7be14e80 + pristine_git_object: aaaf51dc4dd42e7083a607d5ad1cf9b59d28d1b7 src/__tests__/mockserver/internal/sdk/models/components/getdatasourceconfigrequest.go: id: 8d76ac8503da last_write_checksum: sha1:c38936dc23490c5c8310a0628486ab4b9bc3dadb @@ -4424,32 +4735,32 @@ trackedFiles: pristine_git_object: bb33145e8ca6a7c2807ebb5439b48c3ede922811 src/__tests__/mockserver/internal/sdk/models/components/insightsassistantrequest.go: id: b2a574d02065 - last_write_checksum: sha1:e04fc45effe155311e6cacc574697ff3cc291c94 - pristine_git_object: 8c9246d993894305d2f2989f4868af98d1892cd9 + last_write_checksum: sha1:7b2918d6d61dd78b03706402b54c935cf25d3378 + pristine_git_object: 8c6c7530c0f76b7016faf7dc86e9ae692890d241 src/__tests__/mockserver/internal/sdk/models/components/insightschatsummary.go: id: ea86eed152ee - last_write_checksum: sha1:34fbca49c0429936382d3a537ce5a6ee91149631 - pristine_git_object: 5ac9aa23549816fb2047e84c0013daa5e7a448fa + last_write_checksum: sha1:39030f6d8359ffcc0fce5ce4b4f1e73dab97cf41 + pristine_git_object: e65d0326d9847a3364e4c0ae2336babd7c1b98de src/__tests__/mockserver/internal/sdk/models/components/insightsoverviewrequest.go: id: 0e19b94481da - last_write_checksum: sha1:f7b82c0ef8b3c9dbaa5237ed1604ccb64517b38b - pristine_git_object: d5b6853dc29edf129a7283c4c5415f64fdff2b4f + last_write_checksum: sha1:1670217537fa16aaa0a42bfd7a49d7aab816fb41 + pristine_git_object: 1268193cfb830edd13e92263f799e8ea6d8c8bcb src/__tests__/mockserver/internal/sdk/models/components/insightsoverviewresponse.go: id: 020be168c9a9 - last_write_checksum: sha1:45ae873cee5d4f7c672eec8e6140c077be1a410c - pristine_git_object: acff8167a5228f9d980715b9c39dcc68e628b867 + last_write_checksum: sha1:1287df4ef98f847ed9e617e4c3ad72727c9d233c + pristine_git_object: 22393d1ef5dc9a80f7ef9043d25bac08367db7b6 src/__tests__/mockserver/internal/sdk/models/components/insightsrequest.go: id: bcad59832cc7 - last_write_checksum: sha1:13b035c4e1fbf45cdf2da7bf0ce9a5447cf3724e - pristine_git_object: 47442db70fce07efa1bfca564bafd9f4282c9bd4 + last_write_checksum: sha1:64f4f999676830754e7917fe95bb730f6b1b064a + pristine_git_object: e2b682107ddd044f6d6e8f463f1fd2cc05ecd611 src/__tests__/mockserver/internal/sdk/models/components/insightsresponse.go: id: 6d9c47e6beff - last_write_checksum: sha1:3427917eb7978a5877e0b755e334a50f4f344003 - pristine_git_object: 67d9b13337c363e609e8c2aafcbe34cc9527a2f5 + last_write_checksum: sha1:b2e2cd94f62f05c46da332ce114e0e54037783ee + pristine_git_object: a04776e824faa8039068f9bbe6d4af3f02782e34 src/__tests__/mockserver/internal/sdk/models/components/insightssearchsummary.go: id: 550a5c593151 - last_write_checksum: sha1:5681c09add852ddf6490ce0cc67900025f4b88a8 - pristine_git_object: 80a07164c108641f9c5b8972e846df8ae1538839 + last_write_checksum: sha1:d4179db8aec0e448fa130089e69467d533e703ce + pristine_git_object: 00835eebff7bf354d1045b40521110129070a19a src/__tests__/mockserver/internal/sdk/models/components/invalidoperatorvalueerror.go: id: eb7fe2dcc43b last_write_checksum: sha1:4a916f8f1d59d524869970dd1faba270552d8d34 @@ -4462,6 +4773,10 @@ trackedFiles: id: 5b9e47f1bb6d last_write_checksum: sha1:003cdde2dd85fa44f2c8c16788293deffc1ad9e0 pristine_git_object: c3833dc3fe3821a0ca6b2c2aee630bb4804b86f3 + src/__tests__/mockserver/internal/sdk/models/components/lifecycleevent.go: + id: 4e216ca31dd8 + last_write_checksum: sha1:7dc4f5c911a7e39392321059c2e81b0ffe71ab0d + pristine_git_object: e39c42fe218590a69516c121566425a6bc527c3a src/__tests__/mockserver/internal/sdk/models/components/listanswersrequest.go: id: c784c98d4dd0 last_write_checksum: sha1:e05d76415b297729036813ff95413023a2ea36a5 @@ -4518,6 +4833,38 @@ trackedFiles: id: 72a4d9370d85 last_write_checksum: sha1:8a4ddceafd722ec773251e16e41e127dc8ae711a pristine_git_object: 512d80eb66997e5a55d0c824e58325e6162068d1 + src/__tests__/mockserver/internal/sdk/models/components/mcpbreakdowninsightsrequest.go: + id: 08c7c799dc56 + last_write_checksum: sha1:14b741431be4c57ee61cb6ecd7e64eb7c468ff4b + pristine_git_object: 538c217623b740115dbd28a4f0c7aa7a4dd1b0c4 + src/__tests__/mockserver/internal/sdk/models/components/mcpbreakdowninsightsresponse.go: + id: 3f55ede45b4f + last_write_checksum: sha1:5209fee1f7fe2b647021b237ac29f11d1317937b + pristine_git_object: 5978b9aecd62aa72c3a2063ce29a146933547c22 + src/__tests__/mockserver/internal/sdk/models/components/mcphostapplicationbreakdown.go: + id: 1cb76a7bd475 + last_write_checksum: sha1:6a172225fac894565f81b79f0eb1cdadd1f779e5 + pristine_git_object: dd9c8e57b9733e5a6de72e2d41a423b9d8c30300 + src/__tests__/mockserver/internal/sdk/models/components/mcpinsightsrequest.go: + id: b4c77cc25ba6 + last_write_checksum: sha1:34031fbc7feebd5a8da8dadb6a2d84d819e061ac + pristine_git_object: f8eb05ad3a969278f5939837ec3697bbbdeab6df + src/__tests__/mockserver/internal/sdk/models/components/mcpinsightsresponse.go: + id: 16674114fdeb + last_write_checksum: sha1:82466ab3032b0471ea29c2e2e40d354ffbe7a4b4 + pristine_git_object: 3a59fa28264fb2f0698743aee91f47b7c569a329 + src/__tests__/mockserver/internal/sdk/models/components/mcpserverbreakdown.go: + id: 1d13c8ba827a + last_write_checksum: sha1:f73ffaea27bb3fa5cd8808de8460ddefd7296b5f + pristine_git_object: 813b5395fedf2a967c650e402c427a0fde85e076 + src/__tests__/mockserver/internal/sdk/models/components/mcptoolbreakdown.go: + id: 74264019ae56 + last_write_checksum: sha1:569f8a85f968f9a30f9ebafb3da781e208aac822 + pristine_git_object: 9dc4107848af68d89b48e3e7bbf020cb4e0d3359 + src/__tests__/mockserver/internal/sdk/models/components/mcpuserbreakdown.go: + id: 55c3b8e19cc0 + last_write_checksum: sha1:8864694f64a20f5f8a7eca418004e2675b9d1217 + pristine_git_object: c446e0f71b8c95011101e429b46ce87e4af05294 src/__tests__/mockserver/internal/sdk/models/components/meeting.go: id: c9353ba623a1 last_write_checksum: sha1:ee338fa78652d34947567262e0ddf48ae192fac7 @@ -4560,8 +4907,8 @@ trackedFiles: pristine_git_object: cf398688ccc1ae3e315262e2845dafbc48bec843 src/__tests__/mockserver/internal/sdk/models/components/peragentinsight.go: id: 91ad33249d6d - last_write_checksum: sha1:642369f19274033a5c9cc18e7333af94862cabd6 - pristine_git_object: e760db36cb47d5ecf37871583ff8f521dcd8346d + last_write_checksum: sha1:e9f6598713a69a17bf0bfa13c72eeb08d9774d2e + pristine_git_object: f525802c769bab7131cb2c4e7b5cb79b0beccbed src/__tests__/mockserver/internal/sdk/models/components/period.go: id: 02bb5eff2b62 last_write_checksum: sha1:02dbb5defb8eacc3397d5b77307c50b0c1226528 @@ -4604,8 +4951,8 @@ trackedFiles: pristine_git_object: 8ea840dec8bff17c69614265870248c50d09a488 src/__tests__/mockserver/internal/sdk/models/components/peruserinsight.go: id: 2aefdaff6132 - last_write_checksum: sha1:06594469cb07af2b7fab63ab110ca0b6b8d89f08 - pristine_git_object: 66878a5b0e302068c5b4404c1350815991509bb0 + last_write_checksum: sha1:e404b608c1991975d6b84055a13c1b6810271f62 + pristine_git_object: 88868eb183f5ea26f7d6b3cd4c21015d83bc8bbf src/__tests__/mockserver/internal/sdk/models/components/pindocument.go: id: 2ffe71d47a00 last_write_checksum: sha1:db2d55d5e270511ecf39c5fe83c684c6241268cd @@ -4640,8 +4987,8 @@ trackedFiles: pristine_git_object: 09df79914e750537ca980ec8722e2342b4c0157c src/__tests__/mockserver/internal/sdk/models/components/propertydefinition.go: id: 7cb3ff37efbb - last_write_checksum: sha1:fe49d8d7e61bfc0485ca36e339a2c46d99417d61 - pristine_git_object: a82f3ecf4a25518836252669bfdd2153a42b7445 + last_write_checksum: sha1:f9005149a1716d0b4521422a6758150b1d9fa7d9 + pristine_git_object: 7d2352ce21cbab280cce8226021ff85b9fe459f7 src/__tests__/mockserver/internal/sdk/models/components/propertygroup.go: id: 4149334b2522 last_write_checksum: sha1:62537b3dbb70982d759b245398bf6221278c77e2 @@ -4722,6 +5069,10 @@ trackedFiles: id: 34a3da927fd6 last_write_checksum: sha1:f1d2d9cc825aa26a359e31aeb03941aefe8da0a2 pristine_git_object: 95c7f14cfa29baa51f7bb5153b923d740509594c + src/__tests__/mockserver/internal/sdk/models/components/rotatedatasourcecredentialsrequest.go: + id: e972d36b8159 + last_write_checksum: sha1:db46b90bf6032f3c768f24164bb90b94ac3831aa + pristine_git_object: 565abef9a25943486240fdf62eeaf04a7f786dc6 src/__tests__/mockserver/internal/sdk/models/components/rotatetokenresponse.go: id: d84fafae1630 last_write_checksum: sha1:9eebbecefd96edb32a366b90f8787514f1d30936 @@ -4870,6 +5221,10 @@ trackedFiles: id: 51eafa2bcc29 last_write_checksum: sha1:62fe9b8eb47c3de4f56e700e8b8cce76b213568c pristine_git_object: b55268bed3a4b1324a9257fccddc1c07586b14c5 + src/__tests__/mockserver/internal/sdk/models/components/successresponse.go: + id: f509a4f00c5b + last_write_checksum: sha1:9817e75f29b1ba9ecb6c0240f36cc8f0b66f216a + pristine_git_object: e0bcdd82707005c4ef1d4f39749b781ab48b378c src/__tests__/mockserver/internal/sdk/models/components/summarizerequest.go: id: 8d3f80030554 last_write_checksum: sha1:c5ac944958e5d3ac7e5ddaa3ce87bfba95c6c225 @@ -4960,8 +5315,8 @@ trackedFiles: pristine_git_object: 59713e6b8de65e1132c4a728f2baaf46d056f406 src/__tests__/mockserver/internal/sdk/models/components/ugctype.go: id: 5691e3ad0390 - last_write_checksum: sha1:2f6b89f8e4573ef69e86fef41f6c1830e2bafc2c - pristine_git_object: fbd11d98346a654d7a1b4a7e189972d53ae20803 + last_write_checksum: sha1:caa78f58ca506ae3d94b75d2eafb5eea0ba8edac + pristine_git_object: 76f3175d9107203f786e9ca8615af43b300b1c70 src/__tests__/mockserver/internal/sdk/models/components/unauthorizeddatasourceinstance.go: id: 1748f7123a86 last_write_checksum: sha1:af62a8cdb037e60d924899d3f719369d39c52d3e @@ -5092,8 +5447,8 @@ trackedFiles: pristine_git_object: ab085e1d24d7f77e85752a48e99bdefa2d24cf06 src/__tests__/mockserver/internal/sdk/models/components/workflow.go: id: 5e219f988156 - last_write_checksum: sha1:44f7bc5e992bb8ee2f439b09e74f5ae4bbae9eea - pristine_git_object: 7eb6cccae789462899480ca690ddec1d78215a6f + last_write_checksum: sha1:d214d74687abf3fc908104d2e69a09836ff7a61b + pristine_git_object: 0e2f4ff7d531a7970a68163b9e648b0a774a235a src/__tests__/mockserver/internal/sdk/models/components/workflowfeedbackinfo.go: id: a6741a468f55 last_write_checksum: sha1:548de17295a3909e1252eb5bb16d6c29442c7abb @@ -5126,6 +5481,10 @@ trackedFiles: id: 631c5f8654a2 last_write_checksum: sha1:b382d97881b0f34ae926ebab833ad27e49646634 pristine_git_object: 90ecdfe3aba3f1d06ed23c77425f3e60e242ae6e + src/__tests__/mockserver/internal/sdk/models/operations/authorizeactionpack.go: + id: 3e30b97495c0 + last_write_checksum: sha1:dbab8cd0425d920d1dac987285568c37b07e3932 + pristine_git_object: 1e54931a733a27976e84a050be36721578168230 src/__tests__/mockserver/internal/sdk/models/operations/autocomplete.go: id: 76642d3e2c9f last_write_checksum: sha1:a4c5064bd3275d1906b187d1386623f1a31cf30c @@ -5214,6 +5573,14 @@ trackedFiles: id: a9ecf280ee0a last_write_checksum: sha1:6ef1d173c7fda5fb4474d22e2cf366bb4bcfb63d pristine_git_object: 411607cf115b9cc9b376320e8287ece9b8505a38 + src/__tests__/mockserver/internal/sdk/models/operations/deleterestapiindexcustommetadataschemagroupname.go: + id: fa893707ff78 + last_write_checksum: sha1:a7bf47bc8067cbac6fa7e579acd29c0aba9ee251 + pristine_git_object: a4764e6a8a3741d1830c8798ecacf240441b35cb + src/__tests__/mockserver/internal/sdk/models/operations/deleterestapiindexdocumentdocidcustommetadatagroupname.go: + id: c55437e99b19 + last_write_checksum: sha1:e1e71d2afa33a57a0022803bc94a1a35ffe3c8d4 + pristine_git_object: 9ab2131153240e62fa8fa5c8ddc2418ae3caa624 src/__tests__/mockserver/internal/sdk/models/operations/deleteshortcut.go: id: 0d7886f3d5f3 last_write_checksum: sha1:f4fa9da69b393039ad802c0ba6c062a77d28d5f3 @@ -5230,6 +5597,10 @@ trackedFiles: id: 95a62d285b48 last_write_checksum: sha1:fc3c725b1fd2ad161fa8419bb9b7c2f10f2e555e pristine_git_object: 653d2c226c90d572471937afbe5dfff400fbac47 + src/__tests__/mockserver/internal/sdk/models/operations/editagent.go: + id: 7a241225e318 + last_write_checksum: sha1:400293e640ae7df40a9cc779e269b8f65b2bfed1 + pristine_git_object: ee445cbd939d1b189d4d3077c52047546ab8f3f5 src/__tests__/mockserver/internal/sdk/models/operations/editanswer.go: id: b0b0ec954477 last_write_checksum: sha1:fe5d245bb2c1af508443ddb1ad1554d3932abe23 @@ -5254,6 +5625,10 @@ trackedFiles: id: bab163e22163 last_write_checksum: sha1:b1c059f6d4a6bfc2e1c8cbee4d0578fc882e03b6 pristine_git_object: d8935770b211a4574757d437b931f0b60c2e6552 + src/__tests__/mockserver/internal/sdk/models/operations/getactionpackauthstatus.go: + id: f5cbbd5db009 + last_write_checksum: sha1:65f06378bc9c45a52eb69bc8e6d56d07d263413b + pristine_git_object: 3ed366e7d6f60a081ac1449ce01f1eea11b320b0 src/__tests__/mockserver/internal/sdk/models/operations/getagent.go: id: bce9a3d48e17 last_write_checksum: sha1:6195dbc768186199bf35b30f8ff37add5e1f3dff @@ -5274,6 +5649,10 @@ trackedFiles: id: ff2d0e9507b9 last_write_checksum: sha1:0a8bc79eb0fef7028fe15dd0a7e8be36da2d9f5a pristine_git_object: 75e40c857f7f5671099ac74dde7f5f18a001bb2b + src/__tests__/mockserver/internal/sdk/models/operations/getchatfile.go: + id: d71d007cdd54 + last_write_checksum: sha1:cb5b2fc52e3057cd76021a53a260eddca6a5f533 + pristine_git_object: ac25a047b57177c51bf197bd6a37c7a4cc0f88e1 src/__tests__/mockserver/internal/sdk/models/operations/getchatfiles.go: id: fb36668819dc last_write_checksum: sha1:84e39071e65bb96cedf8fb5ebafa471eb2c69b0c @@ -5282,6 +5661,10 @@ trackedFiles: id: 612d00cdcdc2 last_write_checksum: sha1:6b42d375c1119dba7b25441cccb503c81400de59 pristine_git_object: 88635d3b150e2b66fa2bbcdd6244a39f109077ac + src/__tests__/mockserver/internal/sdk/models/operations/getdatasourcecredentialstatus.go: + id: 02e092f7b73e + last_write_checksum: sha1:314f63a1a5e76d94ded8259c7265a0c2edea8a59 + pristine_git_object: 4fe13e5bb7a9dbc0dbfc5a420b3b970e528c561b src/__tests__/mockserver/internal/sdk/models/operations/getdatasourceinstanceconfiguration.go: id: 597e7c07bdfc last_write_checksum: sha1:7b771244d8c35faf2c53ccd28dc835f0586ab63b @@ -5302,6 +5685,10 @@ trackedFiles: id: 4377c0ab0db1 last_write_checksum: sha1:8c7e6d6b10f4da4b1b8be210d5cdcbf4ba1e3a2a pristine_git_object: 3bab3555441a147c57fcee7ea96996477cf79772 + src/__tests__/mockserver/internal/sdk/models/operations/getpersonphoto.go: + id: b17f42c15192 + last_write_checksum: sha1:9d4a7f7d6ed1be3cadad5f1928f4eeac32a6367d + pristine_git_object: f023596a56fce5b749e52f70d5f9b7e0d4d0854a src/__tests__/mockserver/internal/sdk/models/operations/getpin.go: id: d35710616003 last_write_checksum: sha1:99d8b8c81a7899cec57367f31ca3d355fc2cc968 @@ -5314,6 +5701,10 @@ trackedFiles: id: 58f4e28bcad4 last_write_checksum: sha1:c598dbe7b01b150e85e982d4d15b337eaf67aa68 pristine_git_object: b313e1beade9bc52063a983db47c23dde3541936 + src/__tests__/mockserver/internal/sdk/models/operations/getrestapiindexcustommetadataschemagroupname.go: + id: 335711684a43 + last_write_checksum: sha1:becb59b31e44af24132e8d6b8b2e69657a26bc22 + pristine_git_object: 803dd608a301197b7be9ea609d94f07277224d64 src/__tests__/mockserver/internal/sdk/models/operations/getrestapiv1toolslist.go: id: 7b54c09659a5 last_write_checksum: sha1:124377eb81d7237d5f7cbc8fee07f48459482589 @@ -5418,6 +5809,10 @@ trackedFiles: id: 0b9c1d8304e5 last_write_checksum: sha1:4462797760dc5e8a22223ad57b17bce85867d0c4 pristine_git_object: 6545264d1550efe1fa63ba7135cdc03de147dc88 + src/__tests__/mockserver/internal/sdk/models/operations/postapiindexv1debugdatasourcedocumentevents.go: + id: 5ac58e6cf104 + last_write_checksum: sha1:3abd200e0749feb827b512ef8af4d20376dd01db + pristine_git_object: ff8fcb0d69dddd0090c6332c9310673fd2c084c8 src/__tests__/mockserver/internal/sdk/models/operations/postapiindexv1debugdatasourcedocuments.go: id: 2235fe4f40a9 last_write_checksum: sha1:c9e4fcda938cd3f749b4912860cfbd27778b33b4 @@ -5526,10 +5921,22 @@ trackedFiles: id: c3b422158228 last_write_checksum: sha1:825d6925f4d29c04c46b9d5a29d9324ba9da615b pristine_git_object: 069b937f21261b5af042bb13a57103806bdc2f47 + src/__tests__/mockserver/internal/sdk/models/operations/putrestapiindexcustommetadataschemagroupname.go: + id: 375cf318fd35 + last_write_checksum: sha1:7e1da7e9e729ba3ece80bf7c8a84920a646b456e + pristine_git_object: a0b3edfceb9e25f4efe8057d14aa74778b27b77a + src/__tests__/mockserver/internal/sdk/models/operations/putrestapiindexdocumentdocidcustommetadatagroupname.go: + id: af08c06aca4f + last_write_checksum: sha1:2f561c874c58a58ac198fcee63c2d268fd97da3e + pristine_git_object: 24b30b2eeac66ba3bf2543dfc3cfc44848dd429a src/__tests__/mockserver/internal/sdk/models/operations/recommendations.go: id: 2842acfc6cf9 last_write_checksum: sha1:a77bb4bd1d25c2e31e806ed7ba4e26790e39193f pristine_git_object: c000752288696b75e89f9f0dbce429067392537b + src/__tests__/mockserver/internal/sdk/models/operations/rotatedatasourcecredentials.go: + id: 19b070fce842 + last_write_checksum: sha1:7ddcccedb22e646a0402faa429c06baa4be215d7 + pristine_git_object: 848d944a5b33032b0f4978a0d0e8b9c0de406c62 src/__tests__/mockserver/internal/sdk/models/operations/search.go: id: 202b6e098632 last_write_checksum: sha1:b6b7042c5e21f310bff6714e5f9e4dacaa4dd8d7 @@ -5578,6 +5985,10 @@ trackedFiles: id: 00c5389fd66b last_write_checksum: sha1:c0f3f0560977c0d0d8578f19b57cc047ef5302ba pristine_git_object: d7dac2f7bef5588528b089dc7ed1a5dd5bb14de8 + src/__tests__/mockserver/internal/sdk/models/sdkerrors/errorinforesponse.go: + id: 4dce8e891c77 + last_write_checksum: sha1:f1268cd48145be7b32607c76488e60dd322ad003 + pristine_git_object: 22857c335d06aa641084f66436a938e4274525bb src/__tests__/mockserver/internal/sdk/models/sdkerrors/errorresponse.go: id: f655a308119b last_write_checksum: sha1:b336356b4c97dcdd3714e9c6fd1e7db6a3fc4184 @@ -5692,16 +6103,16 @@ trackedFiles: pristine_git_object: c747483d172c06689dc66e150b2fbf704b483842 src/__tests__/summarize.test.ts: id: 3105d6ebc7eb - last_write_checksum: sha1:bb2dba46f1d4304d8236c52e0355a53081ab6119 - pristine_git_object: bb5e2b02fd92c4bc218d0a791e8786a14448f109 + last_write_checksum: sha1:0d6bf142b56eafed41b661e26431475cf0cbcd6c + pristine_git_object: ebcad3a539b827498b36ccd3af296a69d9c5fc23 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:58b7f0a4f5796e11cafab7c4e6abce9c7ed94020 - pristine_git_object: 04950cf8f390c71a3c336b5ebcfbcbeb35a1a0a8 + last_write_checksum: sha1:d5694aaa8b4d222aba5f5353fbeb0c21327c0536 + pristine_git_object: af5d0b2699d935e702b74af89e87d24861def7ac src/__tests__/troubleshooting.test.ts: id: 1f0f352d1c2f last_write_checksum: sha1:ae012c71aed121aeaf98640aca35ba5acf4d251c @@ -5714,10 +6125,18 @@ trackedFiles: id: f431fdbcd144 last_write_checksum: sha1:1807da249710bc365f5fe3425640b246d714f3ec pristine_git_object: 98cadc8fe5496bfbf22b46cf0c81ff4daad6f2c9 + 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/clientActivityFeedback.ts: id: 49d7d5074766 last_write_checksum: sha1:21b64c8fbc0f0818f679df65bc4f119a8efbc215 @@ -6006,14 +6425,26 @@ 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 @@ -6034,6 +6465,26 @@ trackedFiles: id: 28c1f0ce548a last_write_checksum: sha1:0484aaa5a824d02b87bfbd2f7dd3586ccd984e8b pristine_git_object: 396df667f13a8865eeed48d76234547048751141 + src/funcs/indexingCustomMetadataDelete.ts: + id: 223e63a6dde2 + last_write_checksum: sha1:c6e5c85c6a4d2e8d1dae204b94ac6cb2135ac416 + pristine_git_object: 06a13394104d6235c0502e27794733f467e7a9bb + src/funcs/indexingCustomMetadataDeleteSchema.ts: + id: 8159e0763ef7 + last_write_checksum: sha1:5b0bbfa52a6204f7bce233c8ff7cdcc3884e48ca + pristine_git_object: eb826b71a5323ed4b02784b20c7a616dc95d03c7 + src/funcs/indexingCustomMetadataGetSchema.ts: + id: 81c160e8de7c + last_write_checksum: sha1:6e3c906139d713fc9e5bd1af2827ebb0a3d0a887 + pristine_git_object: 46d3774f388c0a64ba16af8ee6f8c74037ba74a3 + src/funcs/indexingCustomMetadataUpsert.ts: + id: a05d2e9b498e + last_write_checksum: sha1:b2d6538572d622287f0ae85323d600ab96712a80 + pristine_git_object: b6eff2e1472cfd5972fa8b9e9d4d468fbf997805 + src/funcs/indexingCustomMetadataUpsertSchema.ts: + id: 1f94527116d6 + last_write_checksum: sha1:f19299e55db2bf6772a4714a581df9c551068878 + pristine_git_object: 4bde2109e436fa82e3df42af6034cc8d272e8707 src/funcs/indexingDatasourceStatus.ts: id: b54675dab7b4 last_write_checksum: sha1:ad02da6045a76473d61a7dde3ee94c510950892f @@ -6178,6 +6629,18 @@ 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/hooks/hooks.ts: id: a2463fc6f69b last_write_checksum: sha1:6e42a763f6217572cc59f8799af55dd21d961be9 @@ -6200,8 +6663,8 @@ trackedFiles: pristine_git_object: 42d9739ab67c2fec0689f83777ffa5e1f875e5d5 src/lib/config.ts: id: 320761608fb3 - last_write_checksum: sha1:d56900567253efea0f72b5ef570b0b6d4a049425 - pristine_git_object: 8d3ff53693c141f0c8ed09131f6de8e73dd95090 + last_write_checksum: sha1:bf2fa46588454976b1c04a289acced5ae336877b + pristine_git_object: 7cc5e793dc25d402015f68f5fb7b1b5cc2f79f00 src/lib/dlv.ts: id: b1988214835a last_write_checksum: sha1:eaac763b22717206a6199104e0403ed17a4e2711 @@ -6258,6 +6721,18 @@ trackedFiles: id: b0057e24ed76 last_write_checksum: sha1:70b18fda795b71861339376c441d5605ad6f6594 pristine_git_object: e4f870ddddfb3745e52ab6b53c168025243e28c3 + src/models/components/actionauthtype.ts: + id: 441ede57c8f5 + last_write_checksum: sha1:ac0105781ef5f8d0664d0729f7d73e854737e9bd + pristine_git_object: a71a9adb942aba60672aeefb107a02e2c4877fde + src/models/components/actionpackauthstatus.ts: + id: 5c8a98305fd8 + last_write_checksum: sha1:fd7bb87cc5cddc670fa7b9414d4f7949f287ffcd + pristine_git_object: fd3787827bcbbacdf8b91f0e9f295312b0973974 + src/models/components/actionpackauthstatusresponse.ts: + id: f866ea22e796 + last_write_checksum: sha1:631df919f250a1615f3caeee72c66f757c8392ea + pristine_git_object: 6752bd4aedef9ab8b763549ee7cb52a79e186df6 src/models/components/actionsummary.ts: id: a7cb50d5cb41 last_write_checksum: sha1:ff6db164eb6e03f6f038e4ec64ea5e40c15805ca @@ -6276,8 +6751,8 @@ trackedFiles: pristine_git_object: f3d73745ccdfe9104242e15d6e49c230f4f38e4d src/models/components/addcollectionitemserror.ts: id: f99dbb83a1b5 - last_write_checksum: sha1:838b4895943c762da387f68b66a321e8e54ef586 - pristine_git_object: 062004fc8023136ce0acca679dc9b3713bfbf897 + last_write_checksum: sha1:194fe7f9cae2a4f8a392a94a649a13545b558819 + pristine_git_object: d372bc7c0c29e7a48690e3f6dacb6be7853329a1 src/models/components/addcollectionitemsrequest.ts: id: 54328beb0071 last_write_checksum: sha1:0ea62fe59b056bd771f2e1f97f5f139450161aee @@ -6320,12 +6795,12 @@ trackedFiles: pristine_git_object: ac9c4c5490ecdf663e3c98d43e55c3fe22f0f610 src/models/components/agentsinsightsv2request.ts: id: 6b7754e380ca - last_write_checksum: sha1:52f35c7c9595f7021679cafd69efb0a082d9051c - pristine_git_object: a4222a44b30ed58beed2fa3a75c051366a1a684d + last_write_checksum: sha1:a5876e788ed1ce3a74b86c6ae6bf94b8a604beaa + pristine_git_object: 464258157e2587b1030f5bdde180c739b4c54cb6 src/models/components/agentsinsightsv2response.ts: id: 4e5ad5e88bbe - last_write_checksum: sha1:33e5d87e221cceb7aaebeb102fad4dfae2dfcb5e - pristine_git_object: cfcffad98fcde0cbbb492b312f3d485ca25bfa55 + last_write_checksum: sha1:8c008152753de7857ee53dcf6b8b23f678dd5024 + pristine_git_object: dfbb1b460ef02b0726f737e00e5bd28a3ae30dc7 src/models/components/agentstimesavedinsight.ts: id: a1f132923b60 last_write_checksum: sha1:646c1c6ffdba28a29c9b3fc16290a165930363c2 @@ -6334,6 +6809,10 @@ trackedFiles: id: 760e99ef9483 last_write_checksum: sha1:c73b8de2df1cb2a624f285e457a7d1c5e0b3891f pristine_git_object: 7350bb8cc8bdabf189dd959d6446f6706b99e260 + src/models/components/agentusecaseinsight.ts: + id: a2e646e19cc9 + last_write_checksum: sha1:b52759a2453d29f9d67e10ac7c09051dd5d2b1d1 + pristine_git_object: cb09566bf104fa1f70009c813cde1464089206d3 src/models/components/agentusersinsight.ts: id: 71714e61c615 last_write_checksum: sha1:de8c68c003c1b2fc3071bc39f827e2db4304efbf @@ -6344,16 +6823,16 @@ trackedFiles: pristine_git_object: 0484494f12097cf287d9f1a17c4f9e8bfc8620c5 src/models/components/announcement.ts: id: ad5dd32ac710 - last_write_checksum: sha1:612ad352578cf4a817fd59b92589ca5b334e76f8 - pristine_git_object: 3a43c67b80622fac9680c4fad1c7924f0902d3b6 + last_write_checksum: sha1:4c6ce02ea936bfb2d05c5d846c6e19c17304c03e + pristine_git_object: 25d5d990e472777746c8b23751c8ca9cc0bf2192 src/models/components/anonymousevent.ts: id: a48816eab10f last_write_checksum: sha1:6d38a4e8b4797962a1c9e63f9077c06f9326e187 pristine_git_object: a6505014b5219a247abe7c1a2c400d3f1baf7459 src/models/components/answer.ts: id: 1bc812c19de1 - last_write_checksum: sha1:d28172be7b5e8e2dccfc848659dbf3cdc554ede9 - pristine_git_object: 45ac9725a0b0f92dafae9e200436ea7400d8af5c + last_write_checksum: sha1:4dfc295793a4c7f7cf588a13628af65d621f4a5c + pristine_git_object: 0ea062094b35bb952cdb677ec7b228115b6ade83 src/models/components/answercreationdata.ts: id: 2c5391b1d6e8 last_write_checksum: sha1:7b9c81bcf36586739eae9f9f820439a30d8c547d @@ -6368,20 +6847,28 @@ trackedFiles: pristine_git_object: c24821f28b58e9ebb62829b69f0ab76afccf3bdb src/models/components/answerresult.ts: id: 42762792c20d - last_write_checksum: sha1:b6afc74fbd75e7c4c7b1a05ccc49042f88355d9e - pristine_git_object: 0dffa313b736b94e4ca8e8fe8787930592a72cdb + last_write_checksum: sha1:2fb51dac5b82bc940dd0e852f2c2ce35af756b1a + pristine_git_object: 9df4f773f4697e13e739514862cb2605e8651eee src/models/components/appresult.ts: id: 4b82d13c2400 last_write_checksum: sha1:e8b7febd684e04e42e4f64282debda1d4b03c973 pristine_git_object: 16df1dd508013fdbc09faed91e4a917439e454b8 src/models/components/assistantinsightsresponse.ts: id: 981b9b97b9d4 - last_write_checksum: sha1:bde62f0b6853ebbd90a2d7d5f040efe3a03d56c0 - pristine_git_object: 99e4c4aaf909c398db7c2f34e2d8001e2b1654f2 + last_write_checksum: sha1:3888cc70a0d8696f02a5f88bd9ec2143a3dbed34 + pristine_git_object: 1a3eca992d0877961c139209ecc05df2535b1e60 src/models/components/authconfig.ts: id: d80ce50a3fb4 last_write_checksum: sha1:4ee0ab77ee97bc716f628c3627135aebcad9b38f pristine_git_object: efd01fda23cdfedea15e4e3928b84ef2da9a946e + src/models/components/authorizeactionpackrequest.ts: + id: 9ab20ea2c00c + last_write_checksum: sha1:7914b1605f14056ec3313929edbcfa0e83be97ae + pristine_git_object: 1e7e2ff9eded23ac13745210fd1342edcbddb183 + src/models/components/authorizeactionpackresponse.ts: + id: 4ced499bee97 + last_write_checksum: sha1:9179089f1c8bba7e79efe5b8886e0d3ecbe066e9 + pristine_git_object: 48ee25cbf00feda14de153fa9c7bc9432ffad5ed src/models/components/authstatus.ts: id: f4b0162e26f3 last_write_checksum: sha1:e6253ded67537cdca9c1a623d8a3b1fce039bfe1 @@ -6520,8 +7007,8 @@ trackedFiles: pristine_git_object: 1266733814cae60f94ca3356c9530d354184201b src/models/components/chatsuggestion.ts: id: da22e2c68f44 - last_write_checksum: sha1:614a4bfde32d39c6bf4fca33bc2f770b9aabbf94 - pristine_git_object: 3bab5c620c6afd1b574dd2ac3a5b5e11c3d02b9e + last_write_checksum: sha1:340c0792a64ab0ade6d5c7ad045a7f0127998569 + pristine_git_object: 59c4b47faf895296223e162fe2b61665fe4a82df src/models/components/chatzerostatesuggestionoptions.ts: id: bf513d105874 last_write_checksum: sha1:21a876064f9e36e816e8db4e9a9647a4b05b03c0 @@ -6556,12 +7043,12 @@ trackedFiles: pristine_git_object: 13a5ad8da1e9ee7eaff3bdeff0863f3e387ef8ab src/models/components/collection.ts: id: fbab2831fd0a - last_write_checksum: sha1:b4a98b995b783fc37ec0b48ba1d9bc309a8495a9 - pristine_git_object: 233a938ac123cbad8eb3263eff1367043c4dfeda + last_write_checksum: sha1:65851ef669a4489a0235430face79fee209a4954 + pristine_git_object: 26cf8cedea4fe4bf8a0fb18b12638333d0ed5a3d src/models/components/collectionerror.ts: id: 768bf5d9cf98 - last_write_checksum: sha1:9acd0401bff746ca30f602063649f3c36d37ac68 - pristine_git_object: ff48becba69424f46d8ced9b26cd458afc4687e2 + last_write_checksum: sha1:c29bf344e39e8b45e607a89d0f76cda82e939ea3 + pristine_git_object: 9595124e3f07312e5e5c4c6363125a1356fe0355 src/models/components/collectionitem.ts: id: 538e574c1c41 last_write_checksum: sha1:7167e5a00454df529bf94c43ce92f9180f13168d @@ -6660,8 +7147,8 @@ trackedFiles: pristine_git_object: 4a6f523321261378ff973b5f7c87f4416497f331 src/models/components/currentactiveusers.ts: id: eccca3ab8d0a - last_write_checksum: sha1:75c120d3aa8fe02b3513cb16d3b234cc570dbd0a - pristine_git_object: d1b21e5e49b54f1c95c962eafb653542f70f8703 + last_write_checksum: sha1:143ed170b408021d369aaa1ff50fb3e9421f76f8 + pristine_git_object: fa5c9e0c66f24c73f3900f4fb6416467517f7d4c src/models/components/customdatasourceconfig.ts: id: a0d3e7391814 last_write_checksum: sha1:4f7bb93cf2ef5d8a31a4dd0bc0d443d8f9bac5ce @@ -6706,6 +7193,18 @@ trackedFiles: id: 64ec2e0e021d last_write_checksum: sha1:040556cf4624fb594c12ae4d7df72387ad8d6c62 pristine_git_object: 5c9707e17d421e11459cc47c4061f9b70a81dcbf + src/models/components/custommetadatapropertydefinition.ts: + id: 075067e474ee + last_write_checksum: sha1:9dd3f40da23e217dc1ad96e65dc1d43c0d10984c + pristine_git_object: 0ed425b09ba4270f11a3038d4535007bdf292a0e + src/models/components/custommetadataputrequest.ts: + id: 0a659b7d9289 + last_write_checksum: sha1:994f0f68dd72d44a4af8dd4fbea2375faa9ce3e8 + pristine_git_object: 089c48cf05b81abc1e944a785583dbfb871c3641 + src/models/components/custommetadataschema.ts: + id: 30d6f286b4d5 + last_write_checksum: sha1:3d65dd105f8f4cd99056daa1fc459c74ed3d00f5 + pristine_git_object: b70dfa3b671d756d2428872d5050db0485021002 src/models/components/customproperty.ts: id: b6a6f826fc01 last_write_checksum: sha1:43c5718b81e0fcda17f8b974d25008afacf83960 @@ -6730,6 +7229,14 @@ trackedFiles: id: 690e94e3f5ec last_write_checksum: sha1:63f1a37d60bec0de2e92e886e65c403be9f300dd pristine_git_object: 47bc305b69617eb01cd514cca5ac20f089bd8561 + src/models/components/datasourcecredentialstatus.ts: + id: ae5cc5be791d + last_write_checksum: sha1:67791d8ff5280d817d90e8792dac47b06dfb5b6f + pristine_git_object: aadc3a2f26412da0c39e33c14c3ab0799be39fe9 + src/models/components/datasourcecredentialstatusresponse.ts: + id: 9308d120e2f1 + last_write_checksum: sha1:4d20de137aeb75016f4ce31f53b779ee76096a06 + pristine_git_object: f4669e56b565f7f6380b70a92652d3c4858af103 src/models/components/datasourcegroupdefinition.ts: id: a1146d9826b2 last_write_checksum: sha1:d400c20ab5a01c682a11dbbfdd4029c78a046b84 @@ -6762,6 +7269,14 @@ trackedFiles: id: 58c3bdd3ac12 last_write_checksum: sha1:5b42910306bfabfec40cf63c0f0c85cf0831273a pristine_git_object: 43f1bb987a9011b9fe79fe4de8e62a6362ef257a + src/models/components/debugdocumentlifecyclerequest.ts: + id: 306e3dd4cf58 + last_write_checksum: sha1:46146612b5a7fac81d6f1e9602fd772fef248fd1 + pristine_git_object: 20415931965b3d5ccf2fc4247c627b8482dec672 + src/models/components/debugdocumentlifecycleresponse.ts: + id: 211e86514419 + last_write_checksum: sha1:36cac76a2bf64bbc72debd919e8247821eec0dc7 + pristine_git_object: 61a90caa9ee2a897854524dbea178d5f87935bc2 src/models/components/debugdocumentrequest.ts: id: c12918115231 last_write_checksum: sha1:2d0a3160458f94fca85afbe0bd342bb834b7770f @@ -6988,12 +7503,16 @@ trackedFiles: pristine_git_object: 7f26fd03f7bc7c4750f166023ebffb9ba7eb3562 src/models/components/editcollectionresponse.ts: id: 6b7ae89f7516 - last_write_checksum: sha1:9f2fc8727750cb7ae05f360027f0e95fbaba3dc4 - pristine_git_object: 88d4c1007013cf7351bc4833da436785c3857f50 + last_write_checksum: sha1:10d71a997372d8c075fdf37644b795d3125c55f6 + pristine_git_object: ffaab05f871d6dfbeac5dec9048b4d79b8d90d66 src/models/components/editpinrequest.ts: id: 81f3083b1504 last_write_checksum: sha1:872e1ef8474da1168c8f1b8e112c1b67bd5a6927 pristine_git_object: 632d772af1a3c2c6a7f26ab73daeea9e352919ec + src/models/components/editworkflowrequest.ts: + id: "544961797246" + last_write_checksum: sha1:1a8456ca0d309c14beb5f66b7bdd943df0181f6d + pristine_git_object: 4e9b39cad9493ee43e43f541e6d124e2b3bb2836 src/models/components/employeeinfodefinition.ts: id: acafa6a3e5ce last_write_checksum: sha1:cf837ff0d9bd002f86e1dab6d5ce46a3574d025d @@ -7080,20 +7599,20 @@ trackedFiles: pristine_git_object: 68d9e88fa801b912adf621738b50734d23ea91e7 src/models/components/feedback.ts: id: 265430222ea9 - last_write_checksum: sha1:8876a837df4afd6f8940432fa2611ac1310c1b7d - pristine_git_object: 30d451c9f90d174baac823c610dfbf794a26aa82 + last_write_checksum: sha1:a64c45434eef198ae12e278803b5292ce7349f81 + pristine_git_object: d4df96b4acf2ca8b10dc36cd46de3149c2f701c2 src/models/components/feedbackchatexchange.ts: id: 4ba37b76a7b6 last_write_checksum: sha1:c845a39c7453b91e2eb24d6184fceea6c56a1d7e pristine_git_object: 3fb6f14548eb0f546d0fdfcbac4ea9af834b9687 src/models/components/feedentry.ts: id: 47faae0fec45 - last_write_checksum: sha1:2ba82e1ba8e593174e7e59e02adb9bf1a0ae33fc - pristine_git_object: d0d0d3391918f9c3b344b71cbedee025f975964d + last_write_checksum: sha1:a37bf08ad2dc7200f8602bd4b1a99119b29ed440 + pristine_git_object: 45fbf86507057c3f60db39da21a08f3b8ba88f6e src/models/components/feedrequest.ts: id: e18410d4ffd4 - last_write_checksum: sha1:cd8d79186f8b7335bde7f4cd642e6262515a7cfc - pristine_git_object: dceef2d0216317f109df51970423794da7765aee + last_write_checksum: sha1:46105e2f4c5fd3971b9d6d54566440f3d73b248e + pristine_git_object: 9904e6d77330304a065f4546f64c8dbcbb9ae46c src/models/components/feedrequestoptions.ts: id: 684c93eb4ff3 last_write_checksum: sha1:339180c553629e9c992c1f5819612effd7d692e7 @@ -7104,8 +7623,8 @@ trackedFiles: pristine_git_object: ec512af99670430c927b57b2fcb360c620f56cf7 src/models/components/feedresult.ts: id: 94d90ce484f6 - last_write_checksum: sha1:0803ba152a4fe0e663960e53571455e90669eb46 - pristine_git_object: aacdda155a8f7f7ac6d0b1e4a5b0358bc6cda153 + last_write_checksum: sha1:9c59068e3f8c8051e4bdb24b4898076bd43a28f5 + pristine_git_object: 715a3be990b6ff27c6bde3f9b6cef0ff9fc091b8 src/models/components/followupaction.ts: id: 0b8a71fb6ea2 last_write_checksum: sha1:ea9d1e5a53384164dc8d63d3ff831a332a5f2fed @@ -7164,8 +7683,8 @@ trackedFiles: pristine_git_object: 496e3f1964606d94b18cb2f99efed1f3ebe35fad src/models/components/getcollectionresponse.ts: id: 461fd7b73124 - last_write_checksum: sha1:19cca8c2ced9a3a3918a1fd3b20603912f4aa754 - pristine_git_object: e731e8e313701c9c873cc41646eb58a898c9ffa5 + last_write_checksum: sha1:00526a0909f4b184a4c48c7c3dbdf286de7dfa77 + pristine_git_object: 7c9e81196d986b3267ae85263144681cd255c045 src/models/components/getdatasourceconfigrequest.ts: id: 035e473248e4 last_write_checksum: sha1:0e9f5d91e0f2ce0c3669ca843c8e4da568970739 @@ -7280,8 +7799,8 @@ trackedFiles: pristine_git_object: c1b51fb164e5fddc23f344a60899933a91902f4c src/models/components/index.ts: id: 0aa842dce54d - last_write_checksum: sha1:2bebe2efd0402b5b2759f8c86e76db5a62a90e76 - pristine_git_object: abfc3cf374aef4fb235bb827ce3622fa39fcae30 + last_write_checksum: sha1:cd74b2d7a599d681b13654cff6ea12d680caf834 + pristine_git_object: 39c3bbf7fbb3b79161f892f52f9e5454be73c26c src/models/components/indexdocumentrequest.ts: id: deb13e2cdc65 last_write_checksum: sha1:33e2093c7fcdd3c90ef45c48e7b79c4cb2aea6e5 @@ -7324,32 +7843,32 @@ trackedFiles: pristine_git_object: 9f9e581902d24edabde637d1c467bf03928346e3 src/models/components/insightsassistantrequest.ts: id: cb8053ca7b68 - last_write_checksum: sha1:d3ba68d6b5de1c0b4be846452571c2044dc63114 - pristine_git_object: 8eb050d67422c00d541d6e5205995e52e660b4ff + last_write_checksum: sha1:58ff2b655903a68694909b7301af62f973be9a99 + pristine_git_object: eba2a85285d2dd8dea123da071968ba1b336e8d9 src/models/components/insightschatsummary.ts: id: 4a48bbc8ec42 - last_write_checksum: sha1:3e6eb55b662a862d393181f71e82ad876d7dc539 - pristine_git_object: b1b60862c135b50e90f2bbf5476489fc982dac14 + last_write_checksum: sha1:6f1112477f7beeb78d7b4d76b053157e40d19784 + pristine_git_object: cf1ec98705952904b078f7b77fe90efe90fb8753 src/models/components/insightsoverviewrequest.ts: id: ea2efa766337 - last_write_checksum: sha1:46ba856501694487a9987c3811f92245db01483d - pristine_git_object: 9594050cc6c43c01af81581a9f88d1aecfada6e4 + last_write_checksum: sha1:4fcbb5c5603d076ef7d518e025e97ddd57a2ee33 + pristine_git_object: b12c8b685548b3444713a0e3ceb79c3ed1f7e6e0 src/models/components/insightsoverviewresponse.ts: id: 8aa9174883fb - last_write_checksum: sha1:04d277719ff74e4aca2cfe1912afa4dbb6a4757b - pristine_git_object: 4fcd4667fc4f0bc7b3be44135357e612f3df952c + last_write_checksum: sha1:1598dc8a0d2c767c9c2de2504edf8c5ff24ed22d + pristine_git_object: 4edfd95911c8004af464f01cfaea3ac209dc10f3 src/models/components/insightsrequest.ts: id: b68de921ae9d - last_write_checksum: sha1:89b1a882fde88013d9502c33291cb832e254df9b - pristine_git_object: e0bfd998df9a614b177af22c8cb0ad56ead3a495 + last_write_checksum: sha1:66159b3689b464951795a6e814a83f7fc9379938 + pristine_git_object: ca88226b0f59fd3112a72f16747f0620b665d587 src/models/components/insightsresponse.ts: id: fa9492b0bf69 - last_write_checksum: sha1:f26c87ee116a057a54a42bc517dbae2c45ced722 - pristine_git_object: dc0355e4ca88fb0b52d9b8fd845da804c71637f3 + last_write_checksum: sha1:3c73db3d0ffd50cdf9e016617f3e4770d889c7b0 + pristine_git_object: af2483c01a65aa5648c65842e1d80584d548f76e src/models/components/insightssearchsummary.ts: id: 4aa531d7c0f7 - last_write_checksum: sha1:c33741f66736a82a7383b2c96b1c6ee8f4d3e59d - pristine_git_object: b1ea9410abc4559907f754b3be499f7d1a571413 + last_write_checksum: sha1:3ac5d4089b23643bc4dd640aae9ab6dd8682c46b + pristine_git_object: 4abb2e6022996cae631e3017ad4fd6dc4a975dbe src/models/components/invalidoperatorvalueerror.ts: id: b1df2109db23 last_write_checksum: sha1:628de861c5cfbb7090830efea1c3a3512f2050b2 @@ -7362,6 +7881,10 @@ trackedFiles: id: 47e83bbcbd5a last_write_checksum: sha1:f222be83c8cc347926f5c11dece76b1004d9b812 pristine_git_object: 9f9cbb8b23a40aca59082640930483f0000697c7 + src/models/components/lifecycleevent.ts: + id: 34b336667db8 + last_write_checksum: sha1:6145ca0198aa65c83bfeebd9f36fd8d36c8c1377 + pristine_git_object: b8d34139a9b0acb5954cac546709f4f2f40df00c src/models/components/listanswersrequest.ts: id: dcfb5745f607 last_write_checksum: sha1:b7a97f081b4a6cc4951e5e2a86d71583733c5129 @@ -7418,6 +7941,38 @@ trackedFiles: id: 2a79e8af3399 last_write_checksum: sha1:9c1bf2b88048481bd40d9da6fba5d5cef57ba63a pristine_git_object: c9bc4d3a160b662a2de787a23dba5a36110e0459 + src/models/components/mcpbreakdowninsightsrequest.ts: + id: e4c173899120 + last_write_checksum: sha1:aea74cbe6e67c5019689d74b3736678377c1e23f + pristine_git_object: 34ede14b583354c1e42257a025ff0be82a7d477c + src/models/components/mcpbreakdowninsightsresponse.ts: + id: 0d92c95854ba + last_write_checksum: sha1:a1d2682931978e56ab7df03cf3303b0bce6655cc + pristine_git_object: 319e97c74f5f4c6c0a77f2a4964d1bb744084e2f + src/models/components/mcphostapplicationbreakdown.ts: + id: 309fc18e21bd + last_write_checksum: sha1:0915d73749351496711b6079907e41646e074abf + pristine_git_object: c3f62bedafc95646ee711ed397a84ce7486fbecf + src/models/components/mcpinsightsrequest.ts: + id: f55dbe67d623 + last_write_checksum: sha1:ae8981aad1b4b54c601fb88b408dfbf26cdffb42 + pristine_git_object: f08d3de1e3f241f1e5c26949ce32d4f4eb93cf7c + src/models/components/mcpinsightsresponse.ts: + id: a600aa686cc3 + last_write_checksum: sha1:a2008ea0abbcfcc7c5e53a8cc23c59b59d7bd1c9 + pristine_git_object: 37e424d579d5d9eaf11a6a7e17bd6140b5d3ab07 + src/models/components/mcpserverbreakdown.ts: + id: 653a082b4ab1 + last_write_checksum: sha1:734cc3b2b6d30198042724b2e92f83f0569a442e + pristine_git_object: a5fec74d43d8ea4fc9a43b4f4d1cc9b87edfd6e1 + src/models/components/mcptoolbreakdown.ts: + id: ff4c2b197607 + last_write_checksum: sha1:5ee52301c8b66aab4ff2c81543af2cb416a77223 + pristine_git_object: 276342eb290f3ccd450a820aa4fbde13f87e0a3a + src/models/components/mcpuserbreakdown.ts: + id: d454eb498b54 + last_write_checksum: sha1:a07a8d38b587496236ba0aa014c2f52ed7e58d91 + pristine_git_object: fb7654ec4a03c65695954a180d37e999bb0e5647 src/models/components/meeting.ts: id: 950dacafad50 last_write_checksum: sha1:1e262105cd546a316344f0b8489dddf837796bbb @@ -7460,8 +8015,8 @@ trackedFiles: pristine_git_object: e1ff671e85645b68c219b2ad74dc8350d3682693 src/models/components/peragentinsight.ts: id: 490fa376a908 - last_write_checksum: sha1:6d0e6f214ba916b01cd4b4eb0972b9192186a8b5 - pristine_git_object: 93fb697c8a2fb3433f2e999fef2063e174093724 + last_write_checksum: sha1:d4bb64e6cd95672da884c2a19beb9bf41b18490c + pristine_git_object: 81233caad6422433459525c7e16eeb93894450e7 src/models/components/period.ts: id: 901098307cd7 last_write_checksum: sha1:f79e5474c13280feb5d891ffeb72f03749c631f1 @@ -7504,8 +8059,8 @@ trackedFiles: pristine_git_object: e44557e508ac8ef1508572cdc6d92ffa94b86aec src/models/components/peruserinsight.ts: id: c509f7933e80 - last_write_checksum: sha1:255a45dc9682399d0f66727ae80b7393715b5548 - pristine_git_object: 26cafe65754c1640e7da1479b9c5bdc68f4b5e2a + last_write_checksum: sha1:eeeec61a2dfd287e3a55a917f8b00946d32d36fa + pristine_git_object: 188a562bbf56481bec473dcaea588efc9dcf7fd1 src/models/components/pindocument.ts: id: f20a2cbff3b4 last_write_checksum: sha1:ac6da251003b53d6793113ca639c1f3acdc64a35 @@ -7540,8 +8095,8 @@ trackedFiles: pristine_git_object: e46d6ebc11826b1bfcc8e93fc4f41b76ca95d1f9 src/models/components/propertydefinition.ts: id: 95c0545f8afe - last_write_checksum: sha1:ec420f5169603f5f4560ae8eed41f4c430493f2d - pristine_git_object: 140a1c6efe329b240a41864951a75c686e26d1f5 + last_write_checksum: sha1:dd3e80a087ff174e7da4f801787353083151ac76 + pristine_git_object: b7ab8fee8db527f73ae8ffdeebfd2be02e388b63 src/models/components/propertygroup.ts: id: 9159bd82d8fc last_write_checksum: sha1:12d0d4e7d044cfd28c5a37aadb67c30df8948f64 @@ -7622,6 +8177,10 @@ trackedFiles: id: c492b83d160b last_write_checksum: sha1:429f32b49496b9fe8397407bc4809be932bd4b76 pristine_git_object: 74efedcd161a51d3f0fbb021bf101a236016f863 + src/models/components/rotatedatasourcecredentialsrequest.ts: + id: 9a5423224260 + last_write_checksum: sha1:6efdd97711e947503ca6114181ba41c115b59a59 + pristine_git_object: d1b4ecf9d34b9442631bc08048b26c25907a4938 src/models/components/rotatetokenresponse.ts: id: 6d51270e238f last_write_checksum: sha1:2aab5f8d04e8baf94b5e5ea714ae0b1a8ac4fb61 @@ -7770,6 +8329,10 @@ trackedFiles: id: 114d3fe75a20 last_write_checksum: sha1:ee58cc8694fa644384ad0e9c64b18457267024d0 pristine_git_object: 7f64f2107cd2929871dd335362b3fe3a60b1200c + src/models/components/successresponse.ts: + id: e0274c664fba + last_write_checksum: sha1:7e27286ee88399c82ee6b3a3e3f4cce7ac98e848 + pristine_git_object: c239298ba3fce9ead5d9b15dcc957904bf7f0750 src/models/components/summarizerequest.ts: id: 57b098fd87dc last_write_checksum: sha1:29c34e4ecf1d498a7553b86c57c56d0a7ad0cb4b @@ -7860,8 +8423,8 @@ trackedFiles: pristine_git_object: bf66f57a01c6a0450d85b9d50feba3c5457b16d8 src/models/components/ugctype.ts: id: b0a3f56ca4ad - last_write_checksum: sha1:b4dda03d95faf5258dd97f30367443ff1e8d6cd9 - pristine_git_object: 5f47630b2b75cf4360648a3414ff7023f1c00f81 + last_write_checksum: sha1:e4d2d01adc7a7e9bd5efece56923eefd1b4a3111 + pristine_git_object: f91c762e19da81136eec9e4627e0a0a1372b89b1 src/models/components/unauthorizeddatasourceinstance.ts: id: 8eb114ca7c88 last_write_checksum: sha1:a756d82561935bd60e6390068a436813b11dfb74 @@ -7992,8 +8555,8 @@ trackedFiles: pristine_git_object: 9d64537081a91b70b1cf84ed5c6f1495b900205f src/models/components/workflow.ts: id: 76b9ea763f34 - last_write_checksum: sha1:a97200abefb7ef6c1ee77afd0eae57af9e9474d4 - pristine_git_object: eee4e67b161f3cda7e3d5e7f3be1e589a270f0d4 + last_write_checksum: sha1:7568efc7b7d028e6f9f458b1636161901e82b513 + pristine_git_object: 2b33053f9aeabd553ad4430b668700b1cf17b4de src/models/components/workflowfeedbackinfo.ts: id: 6abe14060730 last_write_checksum: sha1:19474bf9cfaccdafcf9aded8c27cbaf084830a09 @@ -8014,6 +8577,10 @@ trackedFiles: id: 7604a9e043c6 last_write_checksum: sha1:3b1a9b6d38e3d547d4a95179b2dc0d5ca56f17e1 pristine_git_object: f664e87ffa703c972d21dcc8464da6bdf0907d9f + src/models/errors/errorinforesponse.ts: + id: 523e96d1af10 + last_write_checksum: sha1:3bd730bbd75564f7b92f24d503895c95d135dc7a + pristine_git_object: 6882aa201d6b029f00607b1d19ad3d2c931ab755 src/models/errors/errorresponse.ts: id: 2ed61f23f9f1 last_write_checksum: sha1:cc82797a474e03d7fe123e893581e19676184c05 @@ -8036,8 +8603,8 @@ trackedFiles: pristine_git_object: 53bb3cfae157b89fda8e4a5b0f1dd709da82c1c9 src/models/errors/index.ts: id: c4e22507cb83 - last_write_checksum: sha1:c7e310311dbb89b56e533ba8fec996990faabc14 - pristine_git_object: 053187acbbca9d6e4699e0376d055881756b907b + last_write_checksum: sha1:f51e6d061a9ecb5242ad7039d145e976e18c0975 + pristine_git_object: aace96938011c1ef60e63281d76853166db4f245 src/models/errors/responsevalidationerror.ts: id: 88ff98a41be9 last_write_checksum: sha1:d74dcc7c25fa29b07463a4a8bf2e3ca5ea575486 @@ -8058,6 +8625,10 @@ trackedFiles: id: 96dfec5ca660 last_write_checksum: sha1:116f3e957f77a33084ceda3a2f55f640172aa932 pristine_git_object: a720b7d01365cd5495ea1fc92fd2fb1832a9ff97 + src/models/operations/authorizeactionpack.ts: + id: 6e5416c09efb + last_write_checksum: sha1:d305d98e791c7aceffe694e2e012019adea80c2c + pristine_git_object: aac5254815a2e392a7f4224ee7817bf0110aa5e0 src/models/operations/autocomplete.ts: id: 29a0f394c222 last_write_checksum: sha1:00a7258b764a852bf2606b12c0a704ff07e9a7b4 @@ -8118,6 +8689,14 @@ trackedFiles: id: 0b4cadf4ec18 last_write_checksum: sha1:c2d3f6c97c15715a76a41e9f7fcb96c46b98f728 pristine_git_object: ecfd6bc726031fe58dec034ca642b8a74b74f450 + src/models/operations/deleterestapiindexcustommetadataschemagroupname.ts: + id: 7d1dbb682727 + last_write_checksum: sha1:bc8c308c2b5e0ff11654c59fa5566e319473cf50 + pristine_git_object: a26d163fe779e0dcbb81799ca950a46109cfb6bc + src/models/operations/deleterestapiindexdocumentdocidcustommetadatagroupname.ts: + id: af348e14af34 + last_write_checksum: sha1:9c1d2991f090b52f9c3f0b0b96c10479ce4fa51a + pristine_git_object: 386dd11108148e6722316e82cd7f2252b12d4d8e src/models/operations/deleteshortcut.ts: id: 8a2dda587e77 last_write_checksum: sha1:84e2af6255093963e61558f635d9fe81ce6af567 @@ -8134,6 +8713,10 @@ trackedFiles: id: 234d5c60da72 last_write_checksum: sha1:84737a2f7079291dc66c7f2b4b81b64f5de155f3 pristine_git_object: 3d4da83b880a79d3075fe7b8d0970bbae9797ab5 + src/models/operations/editagent.ts: + id: effba0f7cfcb + last_write_checksum: sha1:9916b88c4b411bbe6f6b96818d72a0d36c4ffe6d + pristine_git_object: 2f9df3e2fb6c3285f09eaa379486ac6b34cd9feb src/models/operations/editanswer.ts: id: 818d3b03db54 last_write_checksum: sha1:e7a92eed7e52e826629f9ab267c506f3d36bf8b2 @@ -8158,6 +8741,10 @@ trackedFiles: id: e2a5e7a5d2a0 last_write_checksum: sha1:2c009957c00740cc560616f6553de5e45ec8c27a pristine_git_object: d744bae74b4248cf7fbc8fd86723f15a886bd163 + src/models/operations/getactionpackauthstatus.ts: + id: 258daa495312 + last_write_checksum: sha1:0ffbd03024fe24ab056b5289ef1a054e40441c97 + pristine_git_object: acc59c4222311d05243b385ee78b0e99ecdccf5d src/models/operations/getagent.ts: id: 5537f69ba2bf last_write_checksum: sha1:25be36f618a29495bcf231b1b822226b6bcdd39c @@ -8178,6 +8765,10 @@ trackedFiles: id: 479f4a76499d last_write_checksum: sha1:748a12293b2a0a1a3f62db89a163422a18fdd87e pristine_git_object: 3edc8892e74bb36b1c609434732f5b91d0e33e23 + src/models/operations/getchatfile.ts: + id: 61d9af5f621f + last_write_checksum: sha1:4bb07046fe1dfff3c8b5cb1438869cf55a43895c + pristine_git_object: c3a0fc35a4e09d0e1c3ad73982a1a7d3e641d43a src/models/operations/getchatfiles.ts: id: e143e8a37226 last_write_checksum: sha1:c3bbdea29a7c9ddfbd9dad7025950d15dd0345a4 @@ -8186,6 +8777,10 @@ trackedFiles: id: a170b5a04f2b last_write_checksum: sha1:261f522e117770376484bafe9043aaa8e7b6d8d8 pristine_git_object: 1cc791b563807482f161e5253607586e0386cd77 + src/models/operations/getdatasourcecredentialstatus.ts: + id: 0c2b3e4c4b22 + last_write_checksum: sha1:355e53f44e0227dc17596b4ddba8d91c9c8c64ca + pristine_git_object: 6e6b642b9d005811cb6fe42ff57c73815c9576d5 src/models/operations/getdatasourceinstanceconfiguration.ts: id: c6985811212d last_write_checksum: sha1:b445440bb9e1dc89cfc3597d334f439325449232 @@ -8206,6 +8801,10 @@ trackedFiles: id: fe72ed1c9700 last_write_checksum: sha1:78ba7b9eee4c842b03f3c31c11538aa27f0016b1 pristine_git_object: 557279b793a3e6c523a2cad84e84cbf0a86609b6 + src/models/operations/getpersonphoto.ts: + id: 428e91c12ab8 + last_write_checksum: sha1:72f8935fc2229c4bc9479e58436dc2edcc7f6a27 + pristine_git_object: 287f8ac2ebbe4175f9756856ea73367173433615 src/models/operations/getpin.ts: id: 65226377f5db last_write_checksum: sha1:77f5ce2443bb19a22ffd88f4616eac5cc4ca53be @@ -8218,6 +8817,10 @@ trackedFiles: id: 061ca648d832 last_write_checksum: sha1:94dd28cad04788eb0b11bc283f9d172165fa22b3 pristine_git_object: 72680801cb970e65f40455eba07492096da0aced + src/models/operations/getrestapiindexcustommetadataschemagroupname.ts: + id: f6e3b285a125 + last_write_checksum: sha1:4220b7d4488eee9088e6ea06fefedc0dac6e0746 + pristine_git_object: aa31790334ea51433a7b9637d6e3eed01a5048a0 src/models/operations/getrestapiv1toolslist.ts: id: 0dafae7e8026 last_write_checksum: sha1:781630b0ffa2031d9e779fff93d57ed67d8e587e @@ -8228,8 +8831,8 @@ trackedFiles: pristine_git_object: 1b3cfa0bc2cf2bbaee395c614cfc4b84e4de23e7 src/models/operations/index.ts: id: 0d9ffaf774d2 - last_write_checksum: sha1:7f2c82221104d68fe2b5e2fac7647f4b73a1d294 - pristine_git_object: 77dae79bc66a0fb4d419030a2cf72a17a51c6cce + last_write_checksum: sha1:7f57611b0e9d685336d47715ac330a3c813b6747 + pristine_git_object: 21dec9abaa9c5d4f8aef07a83318eb9d1cc2a4d0 src/models/operations/insights.ts: id: 7bef0edaab32 last_write_checksum: sha1:37db16bc7603defd715210dfd8c12de88bde8b72 @@ -8282,6 +8885,10 @@ trackedFiles: id: 03753664a7e3 last_write_checksum: sha1:1fc8451990ad08329b62b2915f227f575e7e4b0b pristine_git_object: 2878d629254ecf3c69545ed53bf2988cc8d404a5 + src/models/operations/postapiindexv1debugdatasourcedocumentevents.ts: + id: 05cbcd7d74c7 + last_write_checksum: sha1:858129f05bb28b30c4f1d6b82b3ac9215e6a5bbe + pristine_git_object: dfe339552e3d3c2b82b8b5e723becc0dd7479adc src/models/operations/postapiindexv1debugdatasourcedocuments.ts: id: 98fcabf169be last_write_checksum: sha1:fbd594ae3d99be147417303b28222e0b7dc4ea81 @@ -8294,10 +8901,22 @@ trackedFiles: id: 0e040c9b84d6 last_write_checksum: sha1:0a89cfaca19da01ebf44e524bc0981f64856b3d1 pristine_git_object: c9e96613ea6ee1cdc6ab891a3a2ade5e775dc772 + src/models/operations/putrestapiindexcustommetadataschemagroupname.ts: + id: f942032aea10 + last_write_checksum: sha1:58d155f7a52760be75bac45d1787417432aaf9c9 + pristine_git_object: ed0027fb846fbef879de3ef028defa9add7340c4 + src/models/operations/putrestapiindexdocumentdocidcustommetadatagroupname.ts: + id: 62f7c1070208 + last_write_checksum: sha1:95691ba2df83280a252b859d8e8ce41c1d9816dd + pristine_git_object: 0580f9fb372ecaa8537a4264987178f8f52da208 src/models/operations/recommendations.ts: id: 530b0c1209ea last_write_checksum: sha1:d34b7ecb5b3200dacfcd68e559737b9ae5572280 pristine_git_object: d335c17bbebdfe3a673f9b93ba1cd2f168b1f009 + src/models/operations/rotatedatasourcecredentials.ts: + id: d185d699125a + last_write_checksum: sha1:1849806c1396d2fb22ce560dec37368c7781cb35 + pristine_git_object: 18ec8d7e3b38f7c670e6b6a67e7f103a2d581203 src/models/operations/search.ts: id: 02b424e0d71b last_write_checksum: sha1:4ddb47c1d0bae332979af5482af9c2d8121c4f26 @@ -8342,10 +8961,22 @@ trackedFiles: id: 8d58d2bd1914 last_write_checksum: sha1:68662ac01bb2a3810328c1c1b5c9523ca5e47698 pristine_git_object: 01b38b63d6e5cf3d4fa51c0758d0b4b242d08bb2 + 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/clientActivityFeedback.ts: id: 501f802dd053 last_write_checksum: sha1:5be69ee8efb6c2511d412f04cbc08b85728a8c16 @@ -8670,6 +9301,14 @@ 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 @@ -8678,10 +9317,22 @@ trackedFiles: 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 @@ -8708,12 +9359,36 @@ trackedFiles: pristine_git_object: ddfc71ec2819c805181157d90577dd8cdca02cd9 src/react-query/index.ts: id: 9e975471aa65 - last_write_checksum: sha1:d3c0453bf1eb896e070b041102c9fb2eea54190e - pristine_git_object: 18169d49d4d9c41c63a6470bdca8948205e5e9c9 + last_write_checksum: sha1:36f57a340e68a513f44c2e39be08255529f88138 + pristine_git_object: a72f35ae7fbb48ac09058cf421dfa0e730a662d7 src/react-query/indexingAuthenticationRotateToken.ts: id: e56c0845e38e last_write_checksum: sha1:035d7baae9a7fd7c32f69211cfe85b0f6ccbbf8c pristine_git_object: 05a3aeb655d97a6efc03e408481b5e5ffe176237 + src/react-query/indexingCustomMetadataDelete.ts: + id: 4648118bbddb + last_write_checksum: sha1:aff9e9780708d1d0d480caa207d83663d75eb36f + pristine_git_object: ccc5a7599bb3e1e68a74506346e962ab1f48f846 + src/react-query/indexingCustomMetadataDeleteSchema.ts: + id: 39f51599c8ca + last_write_checksum: sha1:380a34279ed3f486bff07188d71a2ee9a1506e27 + pristine_git_object: a8a99d3c50aaa5685a731c6b6fec673de0e44380 + src/react-query/indexingCustomMetadataGetSchema.core.ts: + id: 0439e4a3ccbc + last_write_checksum: sha1:7439bbbd60a85b003826a4b7510fc0efc270847a + pristine_git_object: 55e9f9b5e80449b03a3872ac0253f5fd2984b85a + src/react-query/indexingCustomMetadataGetSchema.ts: + id: d67f83383602 + last_write_checksum: sha1:18661fa788943eab876cf8cd9187df0bd2fd1ee6 + pristine_git_object: 02bbb87770447f2e07aad759b9fc543b495678d3 + src/react-query/indexingCustomMetadataUpsert.ts: + id: 90aa98ec6356 + last_write_checksum: sha1:35976744e00109cf990cfc72bed70e1c46f13322 + pristine_git_object: 03ea27f2ce97901692f8a03914c9eccf0aff6ce8 + src/react-query/indexingCustomMetadataUpsertSchema.ts: + id: 0ab738ff304b + last_write_checksum: sha1:31e678c758536251f773617d857bf819c05c37ae + pristine_git_object: 5dfc08e712db8bb7fda16109bbb6017d3cc35fb2 src/react-query/indexingDatasourceStatus.ts: id: 2db6c1ee0875 last_write_checksum: sha1:ee53e4561ed6678f828df23561034773dee99ef3 @@ -8858,14 +9533,30 @@ 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/sdk/activity.ts: id: 87dddbbca815 last_write_checksum: sha1:1b66eb529dcde53e002e35ac6fd6e6e7e56be73e pristine_git_object: 22d7e4d2d9a50eed24ca462edf35cc26d5cb2d7c src/sdk/agents.ts: id: a103cd018c9b - last_write_checksum: sha1:67497603cb6936f8bae168fb426f03a16be011dd - pristine_git_object: b71a7d691467f9dd36e03bef206e43075561fb0d + last_write_checksum: sha1:4b42e56025a0b9f6742b5b6d275233004870e31a + pristine_git_object: a0853ebf3b0aa4bcbbe0cd1264b2460052ec74d8 src/sdk/announcements.ts: id: bab6954d6fdf last_write_checksum: sha1:93294e5724028d07a0f9796519179222808b89a9 @@ -8880,20 +9571,32 @@ trackedFiles: pristine_git_object: 2229628c4d67e8044c34b2c5cc740a76bee9adc1 src/sdk/chat.ts: id: c56babc22a20 - last_write_checksum: sha1:b5b1c2e9e9234e43812d086873818ff2e64b3c84 - pristine_git_object: b4f1a4472ece7444413e65c22a9c2c82ba819db4 + last_write_checksum: sha1:2fc209735f30f058b97409e5640a6a0506e332f0 + pristine_git_object: 58db5831e74254057ab7ce47b8eb082cb4a6da98 src/sdk/client.ts: id: 163ab873aeef - last_write_checksum: sha1:d322419db559da903fdefbb84dc08fbffc2d43bb - pristine_git_object: 3fc7f1506d28d8ab67496ad9bf1facb474a34226 + last_write_checksum: sha1:7c7cf821e3092f0e96a2ce3370ad93d8e23bc744 + pristine_git_object: 63de8d5416efe7d7cc1c5a5e3c7735946f1150b9 + src/sdk/clientagents.ts: + id: 7864a10ac52c + last_write_checksum: sha1:980d065e5e11edb945ece1f440196ce2248f3b37 + pristine_git_object: 17d6b434635c8194aa1014c60d86410de0c07cab 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 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 @@ -8902,10 +9605,18 @@ trackedFiles: 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 pristine_git_object: 94c2b65478426c0ff81575e7ee57fcc2a428ef1b + src/sdk/custommetadata.ts: + id: 5d08e64eb686 + last_write_checksum: sha1:ba6f7db597d9b862052f5fe614683f31b7bfdf24 + pristine_git_object: 9cac6fa96073b9a76d22c5ced19ca123b7611faa src/sdk/data.ts: id: b9e219e34d35 last_write_checksum: sha1:ace0768566898666508cac0756fe30440dc06a63 @@ -8916,12 +9627,12 @@ trackedFiles: pristine_git_object: 0972644c0cbf54c7abcf72a853e9177e1b152b7d src/sdk/datasources.ts: id: 16d5d120f477 - last_write_checksum: sha1:167f35f941d1d7193d1c66c4ec45e36f335580bf - pristine_git_object: 65578da2349e4783d78609a73a2fa7ca763f1cfa + last_write_checksum: sha1:9274d6b58709160a3abecb9c40adfb4ec15af2e6 + pristine_git_object: 54be74d80766937bdf4611e60e2eb9170906af30 src/sdk/entities.ts: id: 71997b5f9b62 - last_write_checksum: sha1:e5d11bc046ffdcc5c1d053e111ef1138568a0a22 - pristine_git_object: b15d684801a7e0006bc6fa316a27f147bf720292 + last_write_checksum: sha1:6127d9153917cdcab2baa8b298b6d4a6632e7f1f + pristine_git_object: c300c16393d695f77bfe8c67167396592b90e337 src/sdk/governance.ts: id: b7de258afd95 last_write_checksum: sha1:d111b4c065c802e0174db6f3f590d4ccd4492d51 @@ -8936,8 +9647,8 @@ trackedFiles: pristine_git_object: 5c82fe389f888827f98aa52788b850ef43422e07 src/sdk/indexing.ts: id: 5d20bf42aba9 - last_write_checksum: sha1:bfed4b56f06c8e219e6b3a6976f73ff370ceb5f0 - pristine_git_object: 702c7d21335718bab0bc4f58eefdcedd7382e6cc + last_write_checksum: sha1:4e1a16b78a75fbd7271172c5f522c8f4b6a37532 + pristine_git_object: 594392c8b78b5306e3be325036e3b50b42408e28 src/sdk/indexingauthentication.ts: id: 645d5cee63ee last_write_checksum: sha1:30f1d8cf9665ed21aadd0ccdf6dbe93039ed1426 @@ -8984,16 +9695,20 @@ trackedFiles: pristine_git_object: b13d325fd129a1e93b8f78617fc401a58f14364c src/sdk/sdk.ts: id: 784571af2f69 - last_write_checksum: sha1:3e780e8b4a42df314caa0d66f6ccddc222d9c2a9 - pristine_git_object: 8d3a14e68886539e070d012c8f30306a2d1144f8 + last_write_checksum: sha1:99ef47b6c2884a42f4bdd7ed22f83a1c2eb23930 + pristine_git_object: 32d9e715deee5d6de4358a3dd44bd84a2d01f778 src/sdk/search.ts: id: b88871d87236 last_write_checksum: sha1:75fe1534a731295c71a44a1ce112f3db36c37a3c pristine_git_object: 5193719806c57338361c150fe9932d76dde197ed src/sdk/tools.ts: id: f997ccdd9dd9 - last_write_checksum: sha1:5e23cd319ca961b99ce60141a1e9788ee3d1a6de - pristine_git_object: 819be69ace7c76e19dfc04dd058ec2af79e6d8a2 + last_write_checksum: sha1:3c8a762a9a54496a701d8fcf80bbef0502a0e778 + pristine_git_object: e1e6633ebf8164deca62fad89801d87ad45cec56 + src/sdk/troubleshooting.ts: + id: 075ef996822a + last_write_checksum: sha1:5dd0352ed62b58e61d2aee7fddd41a742855f2cc + pristine_git_object: 9f2f96e1f703c84888d9d149595b5c9f8ad2dfce src/sdk/verification.ts: id: 414a84063545 last_write_checksum: sha1:6b40cb828921b4db77d058738f5040885e6acf15 @@ -9353,7 +10068,7 @@ examples: application/json: {} responses: "200": - application/json: {"gleanAssist": {"activityInsights": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123", "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "searchProviderInfo": {"name": "Google", "searchLinkUrlTemplate": "https://www.google.com/search?q={query}&hl=en"}, "label": "Mortimer's PRs", "datasource": "github", "requestOptions": {"datasourceFilter": "JIRA", "datasourcesFilter": ["JIRA"], "queryOverridesFacetFilters": true, "facetFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "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"}]}]}], "facetBucketSize": 867945, "authTokens": [{"accessToken": "123abc", "datasource": "gmail", "scope": "email profile https://www.googleapis.com/auth/gmail.readonly", "tokenType": "Bearer", "authUser": "1"}]}, "ranges": [{"startIndex": 617092, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "components": ["Backend", "Networking"], "status": "[\"Done\"]", "pins": [{"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": ""}, {"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": ""}], "collections": [{"name": "", "description": "whoever peppery lest knife publication faint concerning", "addedRoles": [{"role": "OWNER"}], "removedRoles": [{"role": "ANSWER_MODERATOR"}, {"role": "ANSWER_MODERATOR"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 554319, "items": [{"collectionId": 954550, "shortcut": {"inputAlias": "", "roles": [{"role": "OWNER"}, {"role": "OWNER"}, {"role": "OWNER"}]}, "itemType": "COLLECTION"}]}, {"name": "", "description": "whoever peppery lest knife publication faint concerning", "addedRoles": [{"role": "OWNER"}], "removedRoles": [{"role": "ANSWER_MODERATOR"}, {"role": "ANSWER_MODERATOR"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 554319, "items": [{"collectionId": 954550, "shortcut": {"inputAlias": "", "roles": [{"role": "OWNER"}, {"role": "OWNER"}, {"role": "OWNER"}]}, "itemType": "COLLECTION"}]}, {"name": "", "description": "whoever peppery lest knife publication faint concerning", "addedRoles": [{"role": "OWNER"}], "removedRoles": [{"role": "ANSWER_MODERATOR"}, {"role": "ANSWER_MODERATOR"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 554319, "items": [{"collectionId": 954550, "shortcut": {"inputAlias": "", "roles": [{"role": "OWNER"}, {"role": "OWNER"}, {"role": "OWNER"}]}, "itemType": "COLLECTION"}]}], "interactions": {"reacts": [{}, {}], "shares": [{"numDaysAgo": 448639}]}, "verification": {"state": "DEPRECATED", "metadata": {"reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 640737}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 640737}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 640737}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 872106}}}, "shortcuts": [{"inputAlias": ""}, {"inputAlias": ""}], "customData": {"someCustomField": {}}}}}], "inputDetails": {"hasCopyPaste": true}}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "searchProviderInfo": {"name": "Google", "searchLinkUrlTemplate": "https://www.google.com/search?q={query}&hl=en"}, "label": "Mortimer's PRs", "datasource": "github", "requestOptions": {"datasourceFilter": "JIRA", "datasourcesFilter": ["JIRA"], "queryOverridesFacetFilters": true, "facetFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "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"}]}]}], "facetBucketSize": 867945, "authTokens": [{"accessToken": "123abc", "datasource": "gmail", "scope": "email profile https://www.googleapis.com/auth/gmail.readonly", "tokenType": "Bearer", "authUser": "1"}]}, "ranges": [{"startIndex": 617092, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "components": ["Backend", "Networking"], "status": "[\"Done\"]", "pins": [{"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": ""}, {"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": ""}], "collections": [{"name": "", "description": "whoever peppery lest knife publication faint concerning", "addedRoles": [{"role": "OWNER"}], "removedRoles": [{"role": "ANSWER_MODERATOR"}, {"role": "ANSWER_MODERATOR"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 554319, "items": [{"collectionId": 954550, "shortcut": {"inputAlias": "", "roles": [{"role": "OWNER"}, {"role": "OWNER"}, {"role": "OWNER"}]}, "itemType": "COLLECTION"}]}, {"name": "", "description": "whoever peppery lest knife publication faint concerning", "addedRoles": [{"role": "OWNER"}], "removedRoles": [{"role": "ANSWER_MODERATOR"}, {"role": "ANSWER_MODERATOR"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 554319, "items": [{"collectionId": 954550, "shortcut": {"inputAlias": "", "roles": [{"role": "OWNER"}, {"role": "OWNER"}, {"role": "OWNER"}]}, "itemType": "COLLECTION"}]}, {"name": "", "description": "whoever peppery lest knife publication faint concerning", "addedRoles": [{"role": "OWNER"}], "removedRoles": [{"role": "ANSWER_MODERATOR"}, {"role": "ANSWER_MODERATOR"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 554319, "items": [{"collectionId": 954550, "shortcut": {"inputAlias": "", "roles": [{"role": "OWNER"}, {"role": "OWNER"}, {"role": "OWNER"}]}, "itemType": "COLLECTION"}]}], "interactions": {"reacts": [{}, {}], "shares": [{"numDaysAgo": 448639}]}, "verification": {"state": "DEPRECATED", "metadata": {"reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 640737}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 640737}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 640737}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 872106}}}, "shortcuts": [{"inputAlias": ""}, {"inputAlias": ""}], "customData": {"someCustomField": {}}}}}], "inputDetails": {"hasCopyPaste": true}}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}, {}, {}]}, "customFields": [{"label": "", "values": [{}], "displayable": true}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "activity": "ALL"}]}, "overviewResponse": {"perUserInsights": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}, "assistantResponse": {"perUserInsights": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}, "agentsResponse": {"topAgentsInsights": [{"icon": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}], "agentsUsageByDepartmentInsights": [{"icon": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}], "agentUsersInsights": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "agentsTimeSavedInsights": [{"icon": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}} + application/json: {"gleanAssist": {"activityInsights": [{"user": {"name": "George Clooney", "obfuscatedId": "abc123", "relatedDocuments": [{"querySuggestion": {"query": "app:github type:pull author:mortimer", "searchProviderInfo": {"name": "Google", "searchLinkUrlTemplate": "https://www.google.com/search?q={query}&hl=en"}, "label": "Mortimer's PRs", "datasource": "github", "requestOptions": {"datasourceFilter": "JIRA", "datasourcesFilter": ["JIRA"], "queryOverridesFacetFilters": true, "facetFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "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"}]}]}], "facetBucketSize": 867945, "authTokens": [{"accessToken": "123abc", "datasource": "gmail", "scope": "email profile https://www.googleapis.com/auth/gmail.readonly", "tokenType": "Bearer", "authUser": "1"}]}, "ranges": [{"startIndex": 617092, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "components": ["Backend", "Networking"], "status": "[\"Done\"]", "pins": [{"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": ""}, {"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": ""}], "collections": [{"name": "", "description": "whoever peppery lest knife publication faint concerning", "addedRoles": [{"role": "OWNER"}], "removedRoles": [{"role": "ANSWER_MODERATOR"}, {"role": "ANSWER_MODERATOR"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 554319, "items": [{"collectionId": 954550, "shortcut": {"inputAlias": "", "roles": [{"role": "OWNER"}, {"role": "OWNER"}, {"role": "OWNER"}]}, "itemType": "COLLECTION"}]}, {"name": "", "description": "whoever peppery lest knife publication faint concerning", "addedRoles": [{"role": "OWNER"}], "removedRoles": [{"role": "ANSWER_MODERATOR"}, {"role": "ANSWER_MODERATOR"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 554319, "items": [{"collectionId": 954550, "shortcut": {"inputAlias": "", "roles": [{"role": "OWNER"}, {"role": "OWNER"}, {"role": "OWNER"}]}, "itemType": "COLLECTION"}]}, {"name": "", "description": "whoever peppery lest knife publication faint concerning", "addedRoles": [{"role": "OWNER"}], "removedRoles": [{"role": "ANSWER_MODERATOR"}, {"role": "ANSWER_MODERATOR"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 554319, "items": [{"collectionId": 954550, "shortcut": {"inputAlias": "", "roles": [{"role": "OWNER"}, {"role": "OWNER"}, {"role": "OWNER"}]}, "itemType": "COLLECTION"}]}], "interactions": {"reacts": [{}, {}], "shares": [{"numDaysAgo": 448639}]}, "verification": {"state": "DEPRECATED", "metadata": {"reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 640737}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 640737}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 640737}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 872106}}}, "shortcuts": [{"inputAlias": ""}, {"inputAlias": ""}], "customData": {"someCustomField": {}}}}}], "inputDetails": {"hasCopyPaste": true}}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}, {"querySuggestion": {"query": "app:github type:pull author:mortimer", "searchProviderInfo": {"name": "Google", "searchLinkUrlTemplate": "https://www.google.com/search?q={query}&hl=en"}, "label": "Mortimer's PRs", "datasource": "github", "requestOptions": {"datasourceFilter": "JIRA", "datasourcesFilter": ["JIRA"], "queryOverridesFacetFilters": true, "facetFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "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"}]}]}], "facetBucketSize": 867945, "authTokens": [{"accessToken": "123abc", "datasource": "gmail", "scope": "email profile https://www.googleapis.com/auth/gmail.readonly", "tokenType": "Bearer", "authUser": "1"}]}, "ranges": [{"startIndex": 617092, "document": {"metadata": {"datasource": "datasource", "objectType": "Feature Request", "container": "container", "parentId": "JIRA_EN-1337", "mimeType": "mimeType", "documentId": "documentId", "createTime": "2000-01-23T04:56:07.000Z", "updateTime": "2000-01-23T04:56:07.000Z", "components": ["Backend", "Networking"], "status": "[\"Done\"]", "pins": [{"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": ""}, {"audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "documentId": ""}], "collections": [{"name": "", "description": "whoever peppery lest knife publication faint concerning", "addedRoles": [{"role": "OWNER"}], "removedRoles": [{"role": "ANSWER_MODERATOR"}, {"role": "ANSWER_MODERATOR"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 554319, "items": [{"collectionId": 954550, "shortcut": {"inputAlias": "", "roles": [{"role": "OWNER"}, {"role": "OWNER"}, {"role": "OWNER"}]}, "itemType": "COLLECTION"}]}, {"name": "", "description": "whoever peppery lest knife publication faint concerning", "addedRoles": [{"role": "OWNER"}], "removedRoles": [{"role": "ANSWER_MODERATOR"}, {"role": "ANSWER_MODERATOR"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 554319, "items": [{"collectionId": 954550, "shortcut": {"inputAlias": "", "roles": [{"role": "OWNER"}, {"role": "OWNER"}, {"role": "OWNER"}]}, "itemType": "COLLECTION"}]}, {"name": "", "description": "whoever peppery lest knife publication faint concerning", "addedRoles": [{"role": "OWNER"}], "removedRoles": [{"role": "ANSWER_MODERATOR"}, {"role": "ANSWER_MODERATOR"}], "audienceFilters": [{"fieldName": "type", "values": [{"value": "Spreadsheet", "relationType": "EQUALS"}, {"value": "Presentation", "relationType": "EQUALS"}]}], "id": 554319, "items": [{"collectionId": 954550, "shortcut": {"inputAlias": "", "roles": [{"role": "OWNER"}, {"role": "OWNER"}, {"role": "OWNER"}]}, "itemType": "COLLECTION"}]}], "interactions": {"reacts": [{}, {}], "shares": [{"numDaysAgo": 448639}]}, "verification": {"state": "DEPRECATED", "metadata": {"reminders": [{"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 640737}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 640737}, {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 640737}], "lastReminder": {"assignee": {"name": "George Clooney", "obfuscatedId": "abc123"}, "remindAt": 872106}}}, "shortcuts": [{"inputAlias": ""}, {"inputAlias": ""}], "customData": {"someCustomField": {}}}}}], "inputDetails": {"hasCopyPaste": true}}, "results": [{"title": "title", "url": "https://example.com/foo/bar", "nativeAppUrl": "slack://foo/bar", "snippets": [{"mimeType": "mimeType", "snippet": "snippet"}]}]}], "metadata": {"type": "FULL_TIME", "title": "Actor", "department": "Movies", "email": "george@example.com", "location": "Hollywood, CA", "phone": "6505551234", "photoUrl": "https://example.com/george.jpg", "startDate": "2000-01-23", "datasourceProfile": [{"datasource": "github", "handle": ""}], "querySuggestions": {"suggestions": [{"query": "app:github type:pull author:mortimer", "label": "Mortimer's PRs", "datasource": "github"}]}, "inviteInfo": {"invites": [{}, {}, {}]}, "customFields": [{"label": "", "values": [{}], "displayable": true}], "badges": [{"key": "deployment_name_new_hire", "displayName": "New hire", "iconConfig": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}}, "activity": "ALL"}]}, "overviewResponse": {"perUserInsights": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}, "assistantResponse": {"perUserInsights": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}, "agentsResponse": {"topAgentsInsights": [{"icon": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}], "topUseCasesInsights": [{"topAgentIcon": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}], "agentsUsageByDepartmentInsights": [{"icon": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}], "agentUsersInsights": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}], "agentsTimeSavedInsights": [{"icon": {"color": "#343CED", "key": "person_icon", "iconType": "GLYPH", "name": "user"}}]}, "mcpBreakdownResponse": {"usersBreakdown": [{"person": {"name": "George Clooney", "obfuscatedId": "abc123"}}]}} messages: speakeasy-default-messages: requestBody: @@ -9819,6 +10534,149 @@ examples: application/json: {"configuration": {"values": {}}} "400": application/json: {} + getChatFile: + speakeasy-default-get-chat-file: + parameters: + path: + fileId: "" + responses: + "200": + application/octet-stream: "x-file: example.file" + editAgent: + speakeasy-default-edit-agent: + parameters: + path: + agent_id: "" + requestBody: + application/json: {} + responses: + "404": + application/json: {} + getPersonPhoto: + speakeasy-default-get-person-photo: + parameters: + path: + person_id: "" + responses: + "200": + image/png: "x-file: example.file" + image/jpeg: "x-file: example.file" + getActionPackAuthStatus: + speakeasy-default-get-action-pack-auth-status: + parameters: + path: + actionPackId: "" + responses: + "200": + application/json: {"actionPack": {"authenticated": true, "authType": "AUTH_USER_OAUTH"}} + authorizeActionPack: + speakeasy-default-authorize-action-pack: + parameters: + path: + actionPackId: "" + requestBody: + application/json: {"returnUrl": "https://merry-allocation.org/"} + responses: + "200": + application/json: {"redirectUrl": "https://unconscious-diversity.net"} + put_/rest/api/index/document/{docId}/custom-metadata/{groupName}: + speakeasy-default-put-/rest/api/index/document/{doc-id}/custom-metadata/{group-name}: + parameters: + path: + docId: "" + groupName: "" + requestBody: + application/json: {"customMetadata": []} + responses: + "200": + application/json: {"success": true} + "400": + application/json: {"error": ""} + "500": + application/json: {"error": ""} + delete_/rest/api/index/document/{docId}/custom-metadata/{groupName}: + speakeasy-default-delete-/rest/api/index/document/{doc-id}/custom-metadata/{group-name}: + parameters: + path: + docId: "" + groupName: "" + responses: + "200": + application/json: {"success": true} + "400": + application/json: {"error": ""} + "500": + application/json: {"error": ""} + get_/rest/api/index/custom-metadata/schema/{groupName}: + speakeasy-default-get-/rest/api/index/custom-metadata/schema/{group-name}: + parameters: + path: + groupName: "" + responses: + "200": + application/json: {"metadataKeys": []} + "401": + application/json: {"error": ""} + "500": + application/json: {"error": ""} + put_/rest/api/index/custom-metadata/schema/{groupName}: + speakeasy-default-put-/rest/api/index/custom-metadata/schema/{group-name}: + parameters: + path: + groupName: "" + requestBody: + application/json: {"metadataKeys": []} + responses: + "200": + application/json: {"success": true} + "400": + application/json: {"error": ""} + "500": + application/json: {"error": ""} + delete_/rest/api/index/custom-metadata/schema/{groupName}: + speakeasy-default-delete-/rest/api/index/custom-metadata/schema/{group-name}: + parameters: + path: + groupName: "" + responses: + "200": + application/json: {"success": true} + "400": + application/json: {"error": ""} + "500": + application/json: {"error": ""} + post_/api/index/v1/debug/{datasource}/document/events: + speakeasy-default-post-/api/index/v1-/debug/{datasource}/document/events: + parameters: + path: + datasource: "" + requestBody: + application/json; charset=UTF-8: {"objectType": "Article", "docId": "art123", "startDate": "2025-05-01", "maxEvents": 50} + responses: + "200": + application/json; charset=UTF-8: {"lifeCycleEvents": [{"event": "INDEXED", "timestamp": "2021-08-06T17:58:01.000Z"}]} + getDatasourceCredentialStatus: + speakeasy-default-get-datasource-credential-status: + parameters: + path: + datasourceInstanceId: "o365sharepoint_abc123" + responses: + "200": + application/json: {"status": "VALID"} + "400": + application/json: {} + rotateDatasourceCredentials: + speakeasy-default-rotate-datasource-credentials: + parameters: + path: + datasourceInstanceId: "o365sharepoint_abc123" + requestBody: + application/json: {"credentials": {"values": {"key": {}}}} + responses: + "200": + application/json: {"status": "MISSING"} + "400": + application/json: {} examplesVersion: 1.0.2 generatedTests: activity: "2025-05-05T15:08:35-05:00" @@ -9967,6 +10825,18 @@ generatedTests: checkdatasourceauth: "2026-02-19T15:51:26Z" getDatasourceInstanceConfiguration: "2026-03-17T16:12:28Z" updateDatasourceInstanceConfiguration: "2026-03-17T16:12:28Z" + getChatFile: "2026-06-01T09:10:13Z" + getPersonPhoto: "2026-06-01T09:10:13Z" + getActionPackAuthStatus: "2026-06-01T09:10:13Z" + authorizeActionPack: "2026-06-01T09:10:13Z" + put_/rest/api/index/document/{docId}/custom-metadata/{groupName}: "2026-06-01T09:10:13Z" + delete_/rest/api/index/document/{docId}/custom-metadata/{groupName}: "2026-06-01T09:10:13Z" + get_/rest/api/index/custom-metadata/schema/{groupName}: "2026-06-01T09:10:13Z" + put_/rest/api/index/custom-metadata/schema/{groupName}: "2026-06-01T09:10:13Z" + delete_/rest/api/index/custom-metadata/schema/{groupName}: "2026-06-01T09:10:13Z" + getDatasourceCredentialStatus: "2026-06-01T09:10:13Z" + rotateDatasourceCredentials: "2026-06-01T09:10:13Z" +releaseNotes: "## Typescript SDK Changes:\n* `glean.client.collections.addItems()`: `response` **Changed** (Breaking ⚠️)\n* `glean.chat.getChatFile()`: **Added**\n* `glean.agents.editAgent()`: **Added**\n* `glean.entities.getPersonPhoto()`: **Added**\n* `glean.tools.getActionPackAuthStatus()`: **Added**\n* `glean.tools.authorizeActionPack()`: **Added**\n* `glean.indexing.customMetadata.upsert()`: **Added**\n* `glean.indexing.customMetadata.delete()`: **Added**\n* `glean.indexing.customMetadata.getSchema()`: **Added**\n* `glean.indexing.customMetadata.upsertSchema()`: **Added**\n* `glean.indexing.customMetadata.deleteSchema()`: **Added**\n* `glean.troubleshooting.post/api/index/v1/debug/{datasource}/document/events()`: **Added**\n* `glean.datasources.getDatasourceCredentialStatus()`: **Added**\n* `glean.datasources.rotateDatasourceCredentials()`: **Added**\n* `glean.client.activity.feedback()`: \n * `request.feedback1.category` **Changed**\n* `glean.client.announcements.create()`: \n * `request.createAnnouncementRequest.body.structuredList[].document.metadata.author.relatedDocuments[].results[].structuredResults[].answer` **Changed**\n * `response` **Changed**\n* `glean.client.announcements.update()`: \n * `request.updateAnnouncementRequest.body.structuredList[].document.metadata.author.relatedDocuments[].results[].structuredResults[].answer` **Changed**\n * `response` **Changed**\n* `glean.client.answers.create()`: \n * `request.createAnswerRequest.data.addedRoles[].person.relatedDocuments[]` **Changed**\n * `response` **Changed**\n* `glean.client.answers.update()`: \n * `request.editAnswerRequest.addedRoles[].person.relatedDocuments[]` **Changed**\n * `response` **Changed**\n* `glean.client.answers.retrieve()`: `response.answerResult.answer` **Changed**\n* `glean.client.answers.list()`: `response.answerResults[].answer` **Changed**\n* `glean.client.chat.create()`: \n * `request.chatRequest.messages[].citations[].sourceDocument.metadata.author.relatedDocuments[].results[].structuredResults[].answer` **Changed**\n * `response.messages[].citations[].sourceDocument.metadata.author.relatedDocuments[].results[].structuredResults[].answer` **Changed**\n* `glean.client.chat.retrieve()`: `response.chatResult.chat.createdBy.relatedDocuments[]` **Changed**\n* `glean.client.chat.list()`: `response.chatResults[].chat.createdBy.relatedDocuments[]` **Changed**\n* `glean.client.chat.createStream()`: \n * `request.chatRequest.messages[].citations[].sourceDocument.metadata.author.relatedDocuments[].results[].structuredResults[].answer` **Changed**\n* `glean.client.collections.create()`: \n * `request.createCollectionRequest.addedRoles[].person.relatedDocuments[]` **Changed**\n * `response.union(class (0))` **Changed**\n * `errorCode.enum(corruptItem)` **Added**\n* `glean.client.collections.delete()`: `errorCode.enum(corruptItem)` **Added**\n* `glean.client.collections.deleteItem()`: `response.collection` **Changed**\n* `glean.client.collections.update()`: \n * `request.editCollectionRequest.addedRoles[].person.relatedDocuments[]` **Changed**\n * `response` **Changed**\n * `errorCode.enum(corruptItem)` **Added**\n* `glean.client.collections.updateItem()`: `response.collection` **Changed**\n* `glean.client.collections.retrieve()`: `response` **Changed**\n* `glean.client.collections.list()`: `response.collections[]` **Changed**\n* `glean.client.documents.retrieve()`: `response.documents.Map.union(Document).metadata.author.relatedDocuments[].results[].structuredResults[].answer` **Changed**\n* `glean.client.documents.retrieveByFacets()`: `response.documents[].metadata.author.relatedDocuments[].results[].structuredResults[].answer` **Changed**\n* `glean.client.insights.retrieve()`: \n * `request.insightsRequest` **Changed**\n * `response` **Changed**\n* `glean.client.messages.retrieve()`: `response.searchResponse.results[].structuredResults[]` **Changed**\n* `glean.client.pins.update()`: `response.attribution.relatedDocuments[]` **Changed**\n* `glean.client.pins.retrieve()`: `response.pin.attribution.relatedDocuments[]` **Changed**\n* `glean.client.pins.list()`: `response.pins[].attribution.relatedDocuments[]` **Changed**\n* `glean.client.pins.create()`: `response.attribution.relatedDocuments[]` **Changed**\n* `glean.client.search.queryAsAdmin()`: \n * `request.searchRequest.sourceDocument.metadata.author.relatedDocuments[].results[].structuredResults[].answer` **Changed**\n * `response.results[].structuredResults[]` **Changed**\n* `glean.client.search.autocomplete()`: `response.results[].document.metadata.author.relatedDocuments[].results[].structuredResults[].answer` **Changed**\n* `glean.client.search.retrieveFeed()`: \n * `request.feedRequest.categories[]` **Changed**\n * `response.results[]` **Changed**\n* `glean.client.search.recommendations()`: \n * `request.recommendationsRequest.sourceDocument.metadata.author.relatedDocuments[].results[].structuredResults[].answer` **Changed**\n * `response.results[].structuredResults[]` **Changed**\n* `glean.client.search.query()`: \n * `request.searchRequest.sourceDocument.metadata.author.relatedDocuments[].results[].structuredResults[].answer` **Changed**\n * `response.results[].structuredResults[]` **Changed**\n* `glean.client.entities.list()`: `response.results[].relatedDocuments[]` **Changed**\n* `glean.client.entities.readPeople()`: `response.results[].relatedDocuments[]` **Changed**\n* `glean.client.shortcuts.create()`: \n * `request.createShortcutRequest.data.addedRoles[].person.relatedDocuments[]` **Changed**\n * `response.shortcut.addedRoles[].person.relatedDocuments[]` **Changed**\n* `glean.client.shortcuts.retrieve()`: `response.shortcut.addedRoles[].person.relatedDocuments[]` **Changed**\n* `glean.client.shortcuts.list()`: `response.shortcuts[].addedRoles[].person.relatedDocuments[]` **Changed**\n* `glean.client.shortcuts.update()`: \n * `request.updateShortcutRequest.addedRoles[].person.relatedDocuments[]` **Changed**\n * `response.shortcut.addedRoles[].person.relatedDocuments[]` **Changed**\n* `glean.client.verification.addReminder()`: `response.metadata.lastVerifier.relatedDocuments[]` **Changed**\n* `glean.client.verification.list()`: `response.documents[].metadata.lastVerifier.relatedDocuments[]` **Changed**\n* `glean.client.verification.verify()`: `response.metadata.lastVerifier.relatedDocuments[]` **Changed**\n" generatedFiles: - .devcontainer/README.md - .devcontainer/devcontainer.json diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 8f3cc790..de35f901 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -35,7 +35,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: true typescript: - version: 0.14.19 + version: 0.15.0 acceptHeaderEnum: true additionalDependencies: dependencies: {} @@ -115,6 +115,7 @@ typescript: packageName: '@gleanwork/api-client' preApplyUnionDiscriminators: true preserveModelFieldNames: false + privateIdentifierPrefix: '#' responseFormat: flat sseFlatResponse: false templateVersion: v2 diff --git a/.speakeasy/glean-merged-spec.yaml b/.speakeasy/glean-merged-spec.yaml index e084beac..0c42a8f5 100644 --- a/.speakeasy/glean-merged-spec.yaml +++ b/.speakeasy/glean-merged-spec.yaml @@ -1,13993 +1,14704 @@ openapi: 3.0.0 info: - version: 0.9.0 - title: Glean API - x-source-commit-sha: 0aa266469924048ad422bf6314104f79b477e46a - 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. + version: 0.9.0 + title: Glean API + x-source-commit-sha: b5178305c10ea8e4c4a0c2e90998dbde2822a5fb + 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. - # Usage guidelines - This API is evolving fast. Glean will provide advance notice of any planned backwards incompatible changes along - with a 6-month sunset period for anything that requires developers to adopt the new versions. + # Usage guidelines + This API is evolving fast. Glean will provide advance notice of any planned backwards incompatible changes along + with a 6-month sunset period for anything that requires developers to adopt the new versions. - # API Clients - Official API clients for the Glean Indexing API are available in multiple languages: + # API Clients + Official API clients for the Glean Indexing API are available in multiple languages: - - [Python](https://github.com/gleanwork/api-client-python) - - [TypeScript](https://github.com/gleanwork/api-client-typescript) - - [Go](https://github.com/gleanwork/api-client-go) - - [Java](https://github.com/gleanwork/api-client-java) + - [Python](https://github.com/gleanwork/api-client-python) + - [TypeScript](https://github.com/gleanwork/api-client-typescript) + - [Go](https://github.com/gleanwork/api-client-go) + - [Java](https://github.com/gleanwork/api-client-java) - 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: 122e22b59935f3ed61845da28a7c607ebc115c9b - x-speakeasy-name: 'Glean API' + 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: 62d0ce989c5f93771e6fb7aa40147f4cdd51f945 + x-speakeasy-name: 'Glean API' servers: - - url: https://{instance}-be.glean.com - variables: - instance: - default: instance-name - description: The instance name (typically the email domain without the TLD) that determines the deployment backend. + - url: https://{instance}-be.glean.com + variables: + instance: + default: instance-name + description: The instance name (typically the email domain without the TLD) that determines the deployment backend. +security: + - APIToken: [] paths: - /rest/api/v1/activity: - 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 - x-visibility: Public - x-codegen-request-body-name: payload - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Activity" - required: true - x-exportParamName: Activity - responses: - "200": - description: OK - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: report - x-speakeasy-group: client.activity - /rest/api/v1/feedback: - post: - tags: - - Activity - 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 - parameters: - - name: feedback - in: query - description: A URL encoded versions of Feedback. This is useful for requests. - required: false - schema: - type: string - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Feedback" - x-exportParamName: Feedback - responses: - "200": - description: OK - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-group: client.activity - /rest/api/v1/createannouncement: - post: - tags: - - Announcements - 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 - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/CreateAnnouncementRequest" - description: Announcement content - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/Announcement" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: create - x-speakeasy-group: client.announcements - /rest/api/v1/deleteannouncement: - post: - tags: - - Announcements - summary: Delete Announcement - description: Delete an existing user-generated announcement. - operationId: deleteannouncement - x-visibility: Public - x-codegen-request-body-name: payload - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/DeleteAnnouncementRequest" - description: Delete announcement request - required: true - x-exportParamName: Request - responses: - "200": - description: OK - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: delete - x-speakeasy-group: client.announcements - /rest/api/v1/updateannouncement: - post: - tags: - - Announcements - 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 - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/UpdateAnnouncementRequest" - description: Announcement content. Id need to be specified for the announcement. - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/Announcement" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: update - x-speakeasy-group: client.announcements - /rest/api/v1/createanswer: - post: - tags: - - Answers - 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 - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/CreateAnswerRequest" - description: CreateAnswer request - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/Answer" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: create - x-speakeasy-group: client.answers - /rest/api/v1/deleteanswer: - post: - tags: - - Answers - summary: Delete Answer - description: Delete an existing user-generated Answer. - operationId: deleteanswer - x-visibility: Public - x-codegen-request-body-name: payload - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/DeleteAnswerRequest" - description: DeleteAnswer request - required: true - x-exportParamName: Request - responses: - "200": - description: OK - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: delete - x-speakeasy-group: client.answers - /rest/api/v1/editanswer: - post: - tags: - - Answers - summary: Update Answer - description: Update an existing user-generated Answer. - operationId: editanswer - x-visibility: Public - x-codegen-request-body-name: payload - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/EditAnswerRequest" - description: EditAnswer request - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/Answer" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: update - x-speakeasy-group: client.answers - /rest/api/v1/getanswer: - post: - tags: - - Answers - 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 - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/GetAnswerRequest" - description: GetAnswer request - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/GetAnswerResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: retrieve - x-speakeasy-group: client.answers - /rest/api/v1/listanswers: - post: - tags: - - Answers - summary: List Answers - description: List Answers created by the current user. - operationId: listanswers - deprecated: true - x-visibility: Public - x-codegen-request-body-name: payload - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/ListAnswersRequest" - description: ListAnswers request - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/ListAnswersResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - 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 - summary: Check datasource authorization - description: | - 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=`. - operationId: checkdatasourceauth - x-visibility: Public - parameters: [] - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/CheckDatasourceAuthResponse" - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - /rest/api/v1/createauthtoken: - post: - tags: - - Authentication - summary: Create authentication token - description: | - Creates an authentication token for the authenticated user. These are - specifically intended to be used with the [Web SDK](https://developers.glean.com/web). - - 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 - parameters: [] - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/CreateAuthTokenResponse" - "400": - description: Invalid Request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: createToken - x-speakeasy-group: client.authentication - /rest/api/v1/chat: - post: - tags: - - Chat - summary: Chat - description: Have a conversation with Glean AI. - operationId: chat - x-visibility: Public - x-codegen-request-body-name: payload - parameters: - - $ref: "#/components/parameters/locale" - - $ref: "#/components/parameters/timezoneOffset" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/ChatRequest" - examples: - defaultExample: - value: - messages: - - author: USER - messageType: CONTENT - fragments: - - text: What are the company holidays this year? - gptAgentExample: - value: - agentConfig: - agent: GPT - messages: - - author: USER - 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: - "200": - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/ChatResponse' - examples: - defaultExample: - value: - messages: - - author: GLEAN_AI - messageType: CONTENT - hasMoreFragments: false - agentConfig: - agent: DEFAULT - mode: DEFAULT - fragments: - - text: There are no holidays! - streamingExample: - value: - messages: - - author: GLEAN_AI - messageType: CONTENT - agentConfig: - agent: DEFAULT - mode: DEFAULT - hasMoreFragments: true - fragments: null - - author: GLEAN_AI - messageType: CONTENT - agentConfig: - agent: DEFAULT - mode: DEFAULT - hasMoreFragments: true - fragments: null - - author: GLEAN_AI - messageType: CONTENT - agentConfig: - agent: DEFAULT - mode: DEFAULT - hasMoreFragments: true - fragments: - - text: e are - - author: GLEAN_AI - messageType: CONTENT - agentConfig: - agent: DEFAULT - mode: DEFAULT - hasMoreFragments: true - fragments: - - text: no hol - - author: GLEAN_AI - messageType: CONTENT - agentConfig: - agent: DEFAULT - mode: DEFAULT - hasMoreFragments: false - fragments: - - text: idays! - updateResponse: - value: - messages: - - author: GLEAN_AI - messageType: UPDATE - agentConfig: - agent: DEFAULT - mode: DEFAULT - fragments: - - text: '**Reading:**' - - structuredResults: - - document: - id: '123' - title: Company Handbook - citationResponse: - value: - messages: - - author: GLEAN_AI - messageType: CONTENT - agentConfig: - agent: DEFAULT - mode: DEFAULT - citations: - - sourceDocument: - id: '123' - title: Company Handbook - referenceRanges: - - textRange: - startIndex: 0 - endIndex: 12 - type: CITATION - "400": - description: Invalid request - "401": - description: Not Authorized - "408": - description: Request Timeout - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-group: client.chat - x-speakeasy-name-override: create - x-speakeasy-usage-example: true - /rest/api/v1/deleteallchats: - post: - tags: - - Chat - 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 - parameters: - - $ref: "#/components/parameters/locale" - - $ref: "#/components/parameters/timezoneOffset" - responses: - "200": - description: OK - "400": - description: Invalid request - "401": - description: Not Authorized - "403": - description: Forbidden - security: - - APIToken: [] - x-speakeasy-name-override: deleteAll - x-speakeasy-group: client.chat - /rest/api/v1/deletechats: - post: - tags: - - Chat - 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 - parameters: - - $ref: "#/components/parameters/locale" - - $ref: "#/components/parameters/timezoneOffset" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/DeleteChatsRequest" - required: true - x-exportParamName: Request - responses: - "200": - description: OK - "400": - description: Invalid request - "401": - description: Not Authorized - "403": - description: Forbidden - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: delete - x-speakeasy-group: client.chat - /rest/api/v1/getchat: - post: - tags: - - Chat - 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 - parameters: - - $ref: "#/components/parameters/locale" - - $ref: "#/components/parameters/timezoneOffset" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/GetChatRequest" - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/GetChatResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "403": - description: Forbidden - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: retrieve - x-speakeasy-group: client.chat - /rest/api/v1/listchats: - post: - tags: - - Chat - 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 - parameters: - - $ref: "#/components/parameters/locale" - - $ref: "#/components/parameters/timezoneOffset" - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/ListChatsResponse" - "401": - description: Not Authorized - "403": - description: Forbidden - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: list - x-speakeasy-group: client.chat - /rest/api/v1/getchatapplication: - post: - tags: - - Chat - 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 - parameters: - - $ref: "#/components/parameters/locale" - - $ref: "#/components/parameters/timezoneOffset" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/GetChatApplicationRequest" - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/GetChatApplicationResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "403": - description: Forbidden - security: - - APIToken: [] - x-speakeasy-name-override: retrieveApplication - x-speakeasy-group: client.chat - /rest/api/v1/uploadchatfiles: - post: - tags: - - Chat - summary: Upload files for Chat - description: Upload files for Chat. - operationId: uploadchatfiles - x-visibility: Public - parameters: - - $ref: "#/components/parameters/locale" - - $ref: "#/components/parameters/timezoneOffset" - requestBody: - required: true - content: - multipart/form-data: - schema: - $ref: "#/components/schemas/UploadChatFilesRequest" - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/UploadChatFilesResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "403": - description: Forbidden - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: uploadFiles - x-speakeasy-group: client.chat - /rest/api/v1/getchatfiles: - post: - tags: - - Chat - summary: Get files uploaded by a user for Chat - description: Get files uploaded by a user for Chat. - operationId: getchatfiles - x-visibility: Public - parameters: - - $ref: "#/components/parameters/locale" - - $ref: "#/components/parameters/timezoneOffset" - requestBody: - required: true - content: - application/json: - schema: - $ref: "#/components/schemas/GetChatFilesRequest" - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/GetChatFilesResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "403": - description: Forbidden - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: retrieveFiles - x-speakeasy-group: client.chat - /rest/api/v1/deletechatfiles: - post: - tags: - - Chat - summary: Delete files uploaded by a user for chat - description: Delete files uploaded by a user for Chat. - operationId: deletechatfiles - x-visibility: Public - parameters: - - $ref: "#/components/parameters/locale" - - $ref: "#/components/parameters/timezoneOffset" - requestBody: - required: true - content: - application/json: - schema: - $ref: "#/components/schemas/DeleteChatFilesRequest" - responses: - "200": - description: OK - "400": - description: Invalid request - "401": - description: Not Authorized - "403": - description: Forbidden - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: deleteFiles - x-speakeasy-group: client.chat - /rest/api/v1/agents/{agent_id}: - get: - tags: - - Agents - 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 - parameters: - - $ref: "#/components/parameters/locale" - - $ref: "#/components/parameters/timezoneOffset" - - 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" - "400": - description: Bad request - "403": - description: Forbidden - "404": - description: Not Found - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorResponse" - "500": - description: Internal server error - security: - - APIToken: [] - x-speakeasy-group: client.agents - x-speakeasy-name-override: retrieve - /rest/api/v1/agents/{agent_id}/schemas: - get: - tags: - - Agents - 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 - parameters: - - $ref: "#/components/parameters/locale" - - $ref: "#/components/parameters/timezoneOffset" - - 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" - "400": - description: Bad request - "403": - description: Forbidden - "404": - description: Not Found - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorResponse" - "422": - description: Validation Error - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorResponse" - "500": - description: Internal server error - security: - - APIToken: [] - x-speakeasy-group: client.agents - x-speakeasy-name-override: retrieveSchemas - /rest/api/v1/agents/search: - post: - tags: - - Agents - summary: Search agents - description: Search for [agents](https://developers.glean.com/agents/agents-api) by agent name. - operationId: searchAgents - x-visibility: Preview - requestBody: - required: true - content: - application/json: - schema: - $ref: "#/components/schemas/SearchAgentsRequest" - responses: - "200": - description: Success - content: - application/json: - schema: - $ref: "#/components/schemas/SearchAgentsResponse" - "400": - description: Bad request - "403": - description: Forbidden - "404": - description: Not Found - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorResponse" - "422": - description: Validation Error - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorResponse" - "500": - description: Internal server error - security: - - APIToken: [] - x-speakeasy-group: client.agents - x-speakeasy-name-override: list - /rest/api/v1/agents/runs/stream: - post: - 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 - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/AgentRunCreate" - required: true - responses: - "200": - description: Success - content: - text/event-stream: - schema: - type: string - description: The server will send a stream of events in server-sent events (SSE) format. - 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":",","type":"text"}]}]} - - id: 3 - event: message - data: {"messages":[{"role":"GLEAN_AI","content":[{"text":" I'm","type":"text"}]}]} + /rest/api/v1/activity: + 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 + x-visibility: Public + x-codegen-request-body-name: payload + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/Activity" + required: true + x-exportParamName: Activity + responses: + "200": + description: OK + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: report + x-speakeasy-group: client.activity + /rest/api/v1/feedback: + post: + tags: + - Activity + 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 + parameters: + - name: feedback + in: query + description: A URL encoded versions of Feedback. This is useful for requests. + required: false + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/Feedback" + x-exportParamName: Feedback + responses: + "200": + description: OK + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-group: client.activity + /rest/api/v1/createannouncement: + post: + tags: + - Announcements + 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 + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/CreateAnnouncementRequest" + description: Announcement content + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/Announcement" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: create + x-speakeasy-group: client.announcements + /rest/api/v1/deleteannouncement: + post: + tags: + - Announcements + summary: Delete Announcement + description: Delete an existing user-generated announcement. + operationId: deleteannouncement + x-visibility: Public + x-codegen-request-body-name: payload + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteAnnouncementRequest" + description: Delete announcement request + required: true + x-exportParamName: Request + responses: + "200": + description: OK + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: delete + x-speakeasy-group: client.announcements + /rest/api/v1/updateannouncement: + post: + tags: + - Announcements + 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 + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UpdateAnnouncementRequest" + description: Announcement content. Id need to be specified for the announcement. + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/Announcement" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: update + x-speakeasy-group: client.announcements + /rest/api/v1/createanswer: + post: + tags: + - Answers + 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 + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/CreateAnswerRequest" + description: CreateAnswer request + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/Answer" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: create + x-speakeasy-group: client.answers + /rest/api/v1/deleteanswer: + post: + tags: + - Answers + summary: Delete Answer + description: Delete an existing user-generated Answer. + operationId: deleteanswer + x-visibility: Public + x-codegen-request-body-name: payload + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteAnswerRequest" + description: DeleteAnswer request + required: true + x-exportParamName: Request + responses: + "200": + description: OK + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: delete + x-speakeasy-group: client.answers + /rest/api/v1/editanswer: + post: + tags: + - Answers + summary: Update Answer + description: Update an existing user-generated Answer. + operationId: editanswer + x-visibility: Public + x-codegen-request-body-name: payload + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/EditAnswerRequest" + description: EditAnswer request + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/Answer" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: update + x-speakeasy-group: client.answers + /rest/api/v1/getanswer: + post: + tags: + - Answers + 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 + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/GetAnswerRequest" + description: GetAnswer request + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/GetAnswerResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: retrieve + x-speakeasy-group: client.answers + /rest/api/v1/listanswers: + post: + tags: + - Answers + summary: List Answers + description: List Answers created by the current user. + operationId: listanswers + 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" + parameters: + - $ref: "#/components/parameters/locale" + 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" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/ListAnswersRequest" + description: ListAnswers request + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/ListAnswersResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: list + x-speakeasy-group: client.answers + /rest/api/v1/checkdatasourceauth: + post: + tags: + - Authentication + summary: Check datasource authorization + description: | + 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. - id: 4 - event: message - data: {"messages":[{"role":"GLEAN_AI","content":[{"text":" your","type":"text"}]}]} - "400": - description: Bad request - "403": - description: Forbidden - "404": - description: Not Found - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorResponse" - "409": - description: Conflict - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorResponse" - "422": - description: Validation Error - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorResponse" - "500": - description: Internal server error - security: - - APIToken: [] - x-speakeasy-group: client.agents - x-speakeasy-name-override: runStream - /rest/api/v1/agents/runs/wait: - post: - 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 - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/AgentRunCreate" - required: true - responses: - "200": - description: Success - content: - application/json: - schema: - $ref: "#/components/schemas/AgentRunWaitResponse" - "400": - description: Bad request - "403": - description: Forbidden - "404": - description: Not Found - "409": - description: Conflict - "422": - description: Validation Error - "500": - description: Internal server error - security: - - APIToken: [] - x-speakeasy-group: client.agents - x-speakeasy-name-override: run - /rest/api/v1/addcollectionitems: - post: - tags: - - Collections - summary: Add Collection item - description: Add items to a Collection. - operationId: addcollectionitems - x-visibility: Public - x-codegen-request-body-name: payload - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/AddCollectionItemsRequest" - description: Data describing the add operation. - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/AddCollectionItemsResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: addItems - x-speakeasy-group: client.collections - /rest/api/v1/createcollection: - post: - tags: - - Collections - summary: Create Collection - description: Create a publicly visible (empty) Collection of documents. - operationId: createcollection - x-visibility: Public - x-codegen-request-body-name: payload - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/CreateCollectionRequest" - description: Collection content plus any additional metadata for the request. - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/CreateCollectionResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "422": - description: Semantic error - content: - application/json: - schema: - $ref: "#/components/schemas/CollectionError" - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-group: client.collections - x-speakeasy-name-override: create - /rest/api/v1/deletecollection: - post: - tags: - - Collections - summary: Delete Collection - description: Delete a Collection given the Collection's ID. - operationId: deletecollection - x-visibility: Public - x-codegen-request-body-name: payload - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/DeleteCollectionRequest" - description: DeleteCollection request - required: true - x-exportParamName: Request - responses: - "200": - description: OK - "400": - description: Invalid request - "401": - description: Not Authorized - "422": - description: Semantic error - content: - application/json: - schema: - $ref: "#/components/schemas/CollectionError" - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: delete - x-speakeasy-group: client.collections - /rest/api/v1/deletecollectionitem: - post: - tags: - - Collections - summary: Delete Collection item - description: Delete a single item from a Collection. - operationId: deletecollectionitem - x-visibility: Public - x-codegen-request-body-name: payload - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/DeleteCollectionItemRequest" - description: Data describing the delete operation. - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/DeleteCollectionItemResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "422": - description: Failed to save deletion - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: deleteItem - x-speakeasy-group: client.collections - /rest/api/v1/editcollection: - post: - tags: - - Collections - summary: Update Collection - description: Update the properties of an existing Collection. - operationId: editcollection - x-visibility: Public - x-codegen-request-body-name: payload - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/EditCollectionRequest" - description: Collection content plus any additional metadata for the request. - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/EditCollectionResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "422": - description: Semantic error - content: - application/json: - schema: - $ref: "#/components/schemas/CollectionError" - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: update - x-speakeasy-group: client.collections - /rest/api/v1/editcollectionitem: - post: - tags: - - Collections - 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 - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/EditCollectionItemRequest" - description: Edit Collection Items request - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/EditCollectionItemResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: updateItem - x-speakeasy-group: client.collections - /rest/api/v1/getcollection: - post: - tags: - - Collections - 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 - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/GetCollectionRequest" - description: GetCollection request - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/GetCollectionResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: retrieve - x-speakeasy-group: client.collections - /rest/api/v1/listcollections: - post: - tags: - - Collections - summary: List Collections - description: List all existing Collections. - operationId: listcollections - x-visibility: Public - x-codegen-request-body-name: payload - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/ListCollectionsRequest" - description: ListCollections request - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/ListCollectionsResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: list - x-speakeasy-group: client.collections - /rest/api/v1/getdocpermissions: - post: - tags: - - Documents - 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 - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/GetDocPermissionsRequest" - description: Document permissions request - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/GetDocPermissionsResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "403": - description: Forbidden - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: retrievePermissions - x-speakeasy-group: client.documents - /rest/api/v1/getdocuments: - post: - tags: - - Documents - 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 - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/GetDocumentsRequest" - description: Information about documents requested. - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/GetDocumentsResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "403": - description: Documents does not exist, or user cannot access documents. - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: retrieve - x-speakeasy-group: client.documents - /rest/api/v1/getdocumentsbyfacets: - post: - tags: - - Documents - 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 - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/GetDocumentsByFacetsRequest" - description: Information about facet conditions for documents to be retrieved. - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/GetDocumentsByFacetsResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "404": - description: Not Found - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: retrieveByFacets - x-speakeasy-group: client.documents - /rest/api/v1/insights: - post: - tags: - - 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 - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/InsightsRequest" - description: Includes request parameters for insights requests. - required: true - x-exportParamName: InsightsRequest - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/InsightsResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: retrieve - x-speakeasy-group: client.insights - /rest/api/v1/messages: - post: - tags: - - 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 - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/MessagesRequest" - description: Includes request params such as the id for channel/message and direction. - required: true - x-exportParamName: MessagesRequest - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/MessagesResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: retrieve - x-speakeasy-group: client.messages - /rest/api/v1/editpin: - post: - tags: - - Pins - summary: Update pin - description: Update an existing user-generated pin. - operationId: editpin - x-visibility: Public - x-codegen-request-body-name: payload - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/EditPinRequest" - description: Edit pins request - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/PinDocument" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: update - x-speakeasy-group: client.pins - /rest/api/v1/getpin: - post: - tags: - - Pins - summary: Read pin - description: Read pin details given its ID. - operationId: getpin - x-visibility: Public - x-codegen-request-body-name: payload - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/GetPinRequest" - description: Get pin request - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/GetPinResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: retrieve - x-speakeasy-group: client.pins - /rest/api/v1/listpins: - post: - tags: - - Pins - summary: List pins - description: Lists all pins. - operationId: listpins - x-visibility: Public - x-codegen-request-body-name: payload - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - type: object - description: List pins request - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/ListPinsResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: list - x-speakeasy-group: client.pins - /rest/api/v1/pin: - post: - tags: - - Pins - 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 - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/PinRequest" - description: Details about the document and query for the pin. - required: true - x-exportParamName: PinDocument - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/PinDocument" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: create - x-speakeasy-group: client.pins - /rest/api/v1/unpin: - post: - tags: - - Pins - summary: Delete pin - description: Unpin a previously pinned result. - operationId: unpin - x-visibility: Public - x-codegen-request-body-name: payload - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Unpin" - description: Details about the pin being unpinned. - required: true - x-exportParamName: Unpin - responses: - "200": - description: OK - "400": - description: Invalid request - "401": - description: Not Authorized - "403": - description: Forbidden from unpinning someone else's pin - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: remove - x-speakeasy-group: client.pins - /rest/api/v1/adminsearch: - post: - tags: - - Search - 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 - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/SearchRequest" - description: Admin search request - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/SearchResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "403": - description: Forbidden - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorInfo" - "422": - description: Invalid Query - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorInfo" - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-group: client.search - x-speakeasy-name-override: queryAsAdmin - /rest/api/v1/autocomplete: - post: - tags: - - Search - 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 - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/AutocompleteRequest" - description: Autocomplete request - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/AutocompleteResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-group: client.search - x-speakeasy-name-override: autocomplete - /rest/api/v1/feed: - post: - tags: - - Search - 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 - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/FeedRequest" - description: Includes request params, client data and more for making user's feed. - required: true - x-exportParamName: FeedRequest - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/FeedResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "408": - description: Request Timeout - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: retrieveFeed - x-speakeasy-group: client.search - /rest/api/v1/recommendations: - post: - tags: - - Search - 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 - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/RecommendationsRequest" - description: Recommendations request - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/RecommendationsResponse" - "202": - description: Accepted. The Retry-After header has a hint about when the response will be available - "204": - description: There are no recommendations for this URL - "400": - description: Invalid request - "401": - description: Not Authorized - "403": - description: Document does not exist or user cannot access document - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-group: client.search - x-speakeasy-name-override: recommendations - /rest/api/v1/search: - post: - tags: - - 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 - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/SearchRequest" - description: Search request - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/SearchResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "403": - description: Forbidden - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorInfo" - "408": - description: Request Timeout - "422": - description: Invalid Query - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorInfo" - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-group: client.search - x-speakeasy-name-override: query - /rest/api/v1/listentities: - post: - tags: - - Entities - 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 - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/ListEntitiesRequest" - description: List people request - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/ListEntitiesResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-group: client.entities - x-speakeasy-name-override: list - /rest/api/v1/people: - post: - tags: - - Entities - summary: Read people - description: Read people details for the given IDs. - operationId: people - x-visibility: Public - x-codegen-request-body-name: payload - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/PeopleRequest" - description: People request - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/PeopleResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: readPeople - x-speakeasy-group: client.entities - /rest/api/v1/createshortcut: - post: - tags: - - Shortcuts - 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 - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/CreateShortcutRequest" - description: CreateShortcut request - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/CreateShortcutResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: create - x-speakeasy-group: client.shortcuts - /rest/api/v1/deleteshortcut: - post: - tags: - - Shortcuts - summary: Delete shortcut - description: Delete an existing user-generated shortcut. - operationId: deleteshortcut - x-visibility: Public - x-codegen-request-body-name: payload - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/DeleteShortcutRequest" - description: DeleteShortcut request - required: true - x-exportParamName: Request - responses: - "200": - description: OK - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: delete - x-speakeasy-group: client.shortcuts - /rest/api/v1/getshortcut: - post: - tags: - - Shortcuts - summary: Read shortcut - description: Read a particular shortcut's details given its ID. - operationId: getshortcut - x-visibility: Public - x-codegen-request-body-name: payload - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/GetShortcutRequest" - description: GetShortcut request - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/GetShortcutResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-group: client.shortcuts - x-speakeasy-name-override: retrieve - /rest/api/v1/listshortcuts: - post: - tags: - - Shortcuts - summary: List shortcuts - description: List shortcuts editable/owned by the currently authenticated user. - operationId: listshortcuts - x-visibility: Public - x-codegen-request-body-name: payload - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/ListShortcutsPaginatedRequest" - description: Filters, sorters, paging params required for pagination - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/ListShortcutsPaginatedResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-group: client.shortcuts - x-speakeasy-name-override: list - /rest/api/v1/updateshortcut: - post: - tags: - - Shortcuts - summary: Update shortcut - description: Updates the shortcut with the given ID. - operationId: updateshortcut - x-visibility: Public - x-codegen-request-body-name: payload - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/UpdateShortcutRequest" - description: Shortcut content. Id need to be specified for the shortcut. - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/UpdateShortcutResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-group: client.shortcuts - x-speakeasy-name-override: update - /rest/api/v1/summarize: - post: - tags: - - Summarize - summary: Summarize documents - description: Generate an AI summary of the requested documents. - operationId: summarize - x-visibility: Public - x-codegen-request-body-name: payload - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/SummarizeRequest" - description: Includes request params such as the query and specs of the documents to summarize. - required: true - x-exportParamName: Request - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/SummarizeResponse" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: summarize - x-speakeasy-group: client.documents - /rest/api/v1/addverificationreminder: - post: - tags: - - Verification - 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 - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/ReminderRequest" - description: Details about the reminder. - required: true - x-exportParamName: ReminderRequest - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/Verification" - "400": - description: Invalid request - "401": - description: Not Authorized - "403": - description: Document does not exist, does not support verification or user cannot access document - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: addReminder - x-speakeasy-group: client.verification - /rest/api/v1/listverifications: - post: - tags: - - Verification - 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 - parameters: - - in: query - name: count - description: Maximum number of documents to return - required: false - schema: - type: integer - - $ref: "#/components/parameters/locale" - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/VerificationFeed" - "400": - description: Invalid request - "401": - description: Not Authorized - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: list - x-speakeasy-group: client.verification - /rest/api/v1/verify: - post: - tags: - - Verification - 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 - parameters: - - $ref: "#/components/parameters/locale" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/VerifyRequest" - description: Details about the verification request. - required: true - x-exportParamName: VerifyRequest - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/Verification" - "400": - description: Invalid request - "401": - description: Not Authorized - "403": - description: Document does not exist, does not support verification or user cannot access document - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: verify - x-speakeasy-group: client.verification - /rest/api/v1/tools/list: - get: - 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 - parameters: - - in: query - name: toolNames - description: Optional array of tool names to filter by - required: false - schema: - type: array - items: - type: string - style: form - explode: false - responses: - "200": - description: Successful operation - content: - application/json: - schema: - $ref: "#/components/schemas/ToolsListResponse" - "400": - description: Bad Request - "401": - description: Unauthorized - "404": - description: Not Found - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: list - x-speakeasy-group: client.tools - /rest/api/v1/tools/call: - post: - tags: - - Tools - - Tools - summary: Execute the specified tool - description: Execute the specified tool with provided parameters - x-visibility: Preview - requestBody: - required: true - content: - application/json: - schema: - $ref: "#/components/schemas/ToolsCallRequest" - responses: - "200": - description: Successful operation - content: - application/json: - schema: - $ref: "#/components/schemas/ToolsCallResponse" - "400": - description: Bad Request - "401": - description: Unauthorized - "404": - description: Not Found - "429": - description: Too Many Requests - security: - - APIToken: [] - x-speakeasy-name-override: run - x-speakeasy-group: client.tools - /api/index/v1/indexdocument: - post: - summary: Index document - description: Adds a document to the index or updates an existing document. - tags: - - Documents - security: - - APIToken: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/IndexDocumentRequest' - required: true - x-exportParamName: IndexDocumentRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - "429": - description: Too Many Requests - x-speakeasy-name-override: addOrUpdate - x-speakeasy-group: indexing.documents - /api/index/v1/indexdocuments: - post: - summary: Index documents - description: Adds or updates multiple documents in the index. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-indexing/choosing-indexdocuments-vs-bulkindexdocuments) documentation for an explanation of when to use this endpoint. - tags: - - Documents - security: - - APIToken: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/IndexDocumentsRequest' - required: true - x-exportParamName: IndexDocumentsRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - "429": - description: Too Many Requests - x-speakeasy-name-override: index - x-speakeasy-group: indexing.documents - /api/index/v1/bulkindexdocuments: - post: - summary: Bulk index documents - description: Replaces the documents in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints. - tags: - - Documents - security: - - APIToken: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/BulkIndexDocumentsRequest' - required: true - x-exportParamName: BulkIndexDocumentsRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - x-speakeasy-name-override: bulkIndex - x-speakeasy-group: indexing.documents - /api/index/v1/updatepermissions: - post: - summary: Update document permissions - description: Updates the permissions for a given document without modifying document content. - tags: - - Documents - security: - - APIToken: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/UpdatePermissionsRequest' - required: true - x-exportParamName: UpdatePermissionsRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - "429": - description: Too Many Requests - x-speakeasy-name-override: updatePermissions - x-speakeasy-group: indexing.permissions - /api/index/v1/processalldocuments: - post: - summary: Schedules the processing of uploaded documents - description: | - Schedules the immediate processing of documents uploaded through the indexing API. By default the uploaded documents will be processed asynchronously but this API can be used to schedule processing of all documents on demand. + 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 + parameters: [] + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/CheckDatasourceAuthResponse" + "401": + description: Not Authorized + "429": + description: Too Many Requests + /rest/api/v1/createauthtoken: + post: + tags: + - Authentication + summary: Create authentication token + description: | + Creates an authentication token for the authenticated user. These are + specifically intended to be used with the [Web SDK](https://developers.glean.com/web). - If a `datasource` parameter is specified, processing is limited to that custom datasource. Without it, processing applies to all documents across all custom datasources. - #### Rate Limits - This endpoint is rate-limited to one usage every 3 hours. Exceeding this limit results in a 429 response code. Here's how the rate limit works: - 1. Calling `/processalldocuments` for datasource `foo` prevents another call for `foo` for 3 hours. - 2. Calling `/processalldocuments` for datasource `foo` doesn't affect immediate calls for `bar`. - 3. Calling `/processalldocuments` for all datasources prevents any datasource calls for 3 hours. - 4. Calling `/processalldocuments` for datasource `foo` doesn't affect immediate calls for all datasources. + 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 + parameters: [] + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/CreateAuthTokenResponse" + "400": + description: Invalid Request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: createToken + x-speakeasy-group: client.authentication + /rest/api/v1/chat: + post: + tags: + - Chat + summary: Chat + description: Have a conversation with Glean AI. + operationId: chat + x-visibility: Public + x-codegen-request-body-name: payload + parameters: + - $ref: "#/components/parameters/locale" + - $ref: "#/components/parameters/timezoneOffset" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/ChatRequest" + examples: + defaultExample: + value: + messages: + - author: USER + messageType: CONTENT + fragments: + - text: What are the company holidays this year? + gptAgentExample: + value: + agentConfig: + agent: GPT + messages: + - author: USER + 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: + "200": + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/ChatResponse' + examples: + defaultExample: + value: + messages: + - author: GLEAN_AI + messageType: CONTENT + hasMoreFragments: false + agentConfig: + agent: DEFAULT + mode: DEFAULT + fragments: + - text: There are no holidays! + streamingExample: + value: + messages: + - author: GLEAN_AI + messageType: CONTENT + agentConfig: + agent: DEFAULT + mode: DEFAULT + hasMoreFragments: true + fragments: null + - author: GLEAN_AI + messageType: CONTENT + agentConfig: + agent: DEFAULT + mode: DEFAULT + hasMoreFragments: true + fragments: null + - author: GLEAN_AI + messageType: CONTENT + agentConfig: + agent: DEFAULT + mode: DEFAULT + hasMoreFragments: true + fragments: + - text: e are + - author: GLEAN_AI + messageType: CONTENT + agentConfig: + agent: DEFAULT + mode: DEFAULT + hasMoreFragments: true + fragments: + - text: no hol + - author: GLEAN_AI + messageType: CONTENT + agentConfig: + agent: DEFAULT + mode: DEFAULT + hasMoreFragments: false + fragments: + - text: idays! + updateResponse: + value: + messages: + - author: GLEAN_AI + messageType: UPDATE + agentConfig: + agent: DEFAULT + mode: DEFAULT + fragments: + - text: '**Reading:**' + - structuredResults: + - document: + id: '123' + title: Company Handbook + citationResponse: + value: + messages: + - author: GLEAN_AI + messageType: CONTENT + agentConfig: + agent: DEFAULT + mode: DEFAULT + citations: + - sourceDocument: + id: '123' + title: Company Handbook + referenceRanges: + - textRange: + startIndex: 0 + endIndex: 12 + type: CITATION + "400": + description: Invalid request + "401": + description: Not Authorized + "408": + description: Request Timeout + "429": + description: Too Many Requests + x-speakeasy-group: client.chat + x-speakeasy-name-override: create + x-speakeasy-usage-example: true + /rest/api/v1/deleteallchats: + post: + tags: + - Chat + 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 + parameters: + - $ref: "#/components/parameters/locale" + - $ref: "#/components/parameters/timezoneOffset" + responses: + "200": + description: OK + "400": + description: Invalid request + "401": + description: Not Authorized + "403": + description: Forbidden + x-speakeasy-name-override: deleteAll + x-speakeasy-group: client.chat + /rest/api/v1/deletechats: + post: + tags: + - Chat + 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 + parameters: + - $ref: "#/components/parameters/locale" + - $ref: "#/components/parameters/timezoneOffset" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteChatsRequest" + required: true + x-exportParamName: Request + responses: + "200": + description: OK + "400": + description: Invalid request + "401": + description: Not Authorized + "403": + description: Forbidden + "429": + description: Too Many Requests + x-speakeasy-name-override: delete + x-speakeasy-group: client.chat + /rest/api/v1/getchat: + post: + tags: + - Chat + 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 + parameters: + - $ref: "#/components/parameters/locale" + - $ref: "#/components/parameters/timezoneOffset" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/GetChatRequest" + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/GetChatResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "403": + description: Forbidden + "429": + description: Too Many Requests + x-speakeasy-name-override: retrieve + x-speakeasy-group: client.chat + /rest/api/v1/listchats: + post: + tags: + - Chat + 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 + parameters: + - $ref: "#/components/parameters/locale" + - $ref: "#/components/parameters/timezoneOffset" + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/ListChatsResponse" + "401": + description: Not Authorized + "403": + description: Forbidden + "429": + description: Too Many Requests + x-speakeasy-name-override: list + x-speakeasy-group: client.chat + /rest/api/v1/getchatapplication: + post: + tags: + - Chat + 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 + parameters: + - $ref: "#/components/parameters/locale" + - $ref: "#/components/parameters/timezoneOffset" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/GetChatApplicationRequest" + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/GetChatApplicationResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "403": + description: Forbidden + x-speakeasy-name-override: retrieveApplication + x-speakeasy-group: client.chat + /rest/api/v1/uploadchatfiles: + post: + tags: + - Chat + summary: Upload files for Chat + description: Upload files for Chat. + operationId: uploadchatfiles + x-visibility: Public + parameters: + - $ref: "#/components/parameters/locale" + - $ref: "#/components/parameters/timezoneOffset" + requestBody: + required: true + content: + multipart/form-data: + schema: + $ref: "#/components/schemas/UploadChatFilesRequest" + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/UploadChatFilesResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "403": + description: Forbidden + "429": + description: Too Many Requests + x-speakeasy-name-override: uploadFiles + x-speakeasy-group: client.chat + /rest/api/v1/getchatfiles: + post: + tags: + - Chat + summary: Get files uploaded by a user for Chat + description: Get files uploaded by a user for Chat. + operationId: getchatfiles + x-visibility: Public + parameters: + - $ref: "#/components/parameters/locale" + - $ref: "#/components/parameters/timezoneOffset" + requestBody: + required: true + content: + application/json: + schema: + $ref: "#/components/schemas/GetChatFilesRequest" + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/GetChatFilesResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "403": + description: Forbidden + "429": + description: Too Many Requests + x-speakeasy-name-override: retrieveFiles + x-speakeasy-group: client.chat + /rest/api/v1/deletechatfiles: + post: + tags: + - Chat + summary: Delete files uploaded by a user for chat + description: Delete files uploaded by a user for Chat. + operationId: deletechatfiles + x-visibility: Public + parameters: + - $ref: "#/components/parameters/locale" + - $ref: "#/components/parameters/timezoneOffset" + requestBody: + required: true + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteChatFilesRequest" + responses: + "200": + description: OK + "400": + description: Invalid request + "401": + description: Not Authorized + "403": + description: Forbidden + "429": + description: Too Many Requests + x-speakeasy-name-override: deleteFiles + x-speakeasy-group: client.chat + /rest/api/v1/chat-files/{fileId}: + get: + tags: + - Chat + 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 + parameters: + - name: fileId + in: path + required: true + description: Identifier of the chat file to download. + 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. + schema: + type: boolean + responses: + "200": + description: File content. + content: + application/octet-stream: + schema: + type: string + format: binary + "400": + description: File ID missing from path. + "401": + description: Missing or invalid API token. + "403": + description: Caller does not have access to the file. + "404": + description: File not found. + "500": + description: Internal server error. + /rest/api/v1/agents/{agent_id}: + get: + tags: + - Agents + 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 + parameters: + - $ref: "#/components/parameters/locale" + - $ref: "#/components/parameters/timezoneOffset" + - 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" + "400": + description: Bad request + "403": + description: Forbidden + "404": + description: Not Found + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "500": + description: Internal server error + x-speakeasy-group: client.agents + x-speakeasy-name-override: retrieve + post: + tags: + - Agents + 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 + parameters: + - $ref: "#/components/parameters/locale" + - $ref: "#/components/parameters/timezoneOffset" + - 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" + responses: + "200": + description: Success + "400": + description: Bad request + "401": + description: Not Authorized + "403": + description: Forbidden + "404": + description: Not Found + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "500": + description: Internal server error + /rest/api/v1/agents/{agent_id}/schemas: + get: + tags: + - Agents + 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 + parameters: + - $ref: "#/components/parameters/locale" + - $ref: "#/components/parameters/timezoneOffset" + - 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" + "400": + description: Bad request + "403": + description: Forbidden + "404": + description: Not Found + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "422": + description: Validation Error + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "500": + description: Internal server error + x-speakeasy-group: client.agents + x-speakeasy-name-override: retrieveSchemas + /rest/api/v1/agents/search: + post: + tags: + - Agents + summary: Search agents + description: Search for [agents](https://developers.glean.com/agents/agents-api) by agent name. + operationId: searchAgents + x-visibility: Preview + requestBody: + required: true + content: + application/json: + schema: + $ref: "#/components/schemas/SearchAgentsRequest" + responses: + "200": + description: Success + content: + application/json: + schema: + $ref: "#/components/schemas/SearchAgentsResponse" + "400": + description: Bad request + "403": + description: Forbidden + "404": + description: Not Found + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "422": + description: Validation Error + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "500": + description: Internal server error + x-speakeasy-group: client.agents + x-speakeasy-name-override: list + /rest/api/v1/agents/runs/stream: + post: + 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 + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AgentRunCreate" + required: true + responses: + "200": + description: Success + content: + text/event-stream: + schema: + type: string + description: The server will send a stream of events in server-sent events (SSE) format. + example: | + id: 1 + event: message + data: {"messages":[{"role":"GLEAN_AI","content":[{"text":"Hello","type":"text"}]}]} - For more frequent document processing, contact Glean support. - tags: - - Documents - security: - - APIToken: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ProcessAllDocumentsRequest' - x-exportParamName: ProcessAllDocumentsRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "429": - description: Too Many Requests - x-speakeasy-name-override: processAll - x-speakeasy-group: indexing.documents - /api/index/v1/deletedocument: - post: - summary: Delete document - description: Deletes the specified document from the index. Succeeds if document is not present. - tags: - - Documents - security: - - APIToken: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/DeleteDocumentRequest' - required: true - x-exportParamName: DeleteDocumentRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - x-speakeasy-name-override: delete - x-speakeasy-group: indexing.documents - /api/index/v1/indexuser: - post: - summary: Index user - description: Adds a datasource user or updates an existing user. - tags: - - Permissions - security: - - APIToken: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/IndexUserRequest' - required: true - x-exportParamName: IndexUserRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - x-speakeasy-name-override: indexUser - x-speakeasy-group: indexing.permissions - /api/index/v1/bulkindexusers: - post: - summary: Bulk index users - description: | - Replaces the users in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints. - Note: Any users deleted from the existing set will have their associated memberships deleted as well. - tags: - - Permissions - security: - - APIToken: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/BulkIndexUsersRequest' - required: true - x-exportParamName: BulkIndexUsersRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - x-speakeasy-name-override: bulkIndexUsers - x-speakeasy-group: indexing.permissions - /api/index/v1/indexgroup: - post: - summary: Index group - description: Add or update a group in the datasource. - tags: - - Permissions - security: - - APIToken: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/IndexGroupRequest' - required: true - x-exportParamName: IndexGroupRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - x-speakeasy-name-override: indexGroup - x-speakeasy-group: indexing.permissions - /api/index/v1/bulkindexgroups: - post: - summary: Bulk index groups - description: | - Replaces the groups in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints. - Note: Any groups deleted from the existing set will have their associated memberships deleted as well. - tags: - - Permissions - security: - - APIToken: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/BulkIndexGroupsRequest' - required: true - x-exportParamName: BulkIndexGroupsRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - x-speakeasy-name-override: bulkIndexGroups - x-speakeasy-group: indexing.permissions - /api/index/v1/indexmembership: - post: - summary: Index membership - description: Add the memberships of a group in the datasource. - tags: - - Permissions - security: - - APIToken: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/IndexMembershipRequest' - required: true - x-exportParamName: IndexMembershipRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - x-speakeasy-name-override: indexMembership - x-speakeasy-group: indexing.permissions - /api/index/v1/bulkindexmemberships: - post: - summary: Bulk index memberships for a group - description: Replaces the memberships for a group in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints. - tags: - - Permissions - security: - - APIToken: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/BulkIndexMembershipsRequest' - required: true - x-exportParamName: BulkIndexMembershipsRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - x-speakeasy-name-override: bulkIndexMemberships - x-speakeasy-group: indexing.permissions - /api/index/v1/processallmemberships: - post: - summary: Schedules the processing of group memberships - description: | - Schedules the immediate processing of all group memberships uploaded through the indexing API. By default the uploaded group memberships will be processed asynchronously but this API can be used to schedule processing of all memberships on demand. - tags: - - Permissions - security: - - APIToken: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ProcessAllMembershipsRequest' - x-exportParamName: ProcessAllMembershipsRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - x-speakeasy-name-override: processMemberships - x-speakeasy-group: indexing.permissions - /api/index/v1/deleteuser: - post: - summary: Delete user - description: | - Delete the user from the datasource. Silently succeeds if user is not present. - Note: All memberships associated with the deleted user will also be deleted. - tags: - - Permissions - security: - - APIToken: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/DeleteUserRequest' - required: true - x-exportParamName: DeleteUserRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - x-speakeasy-name-override: deleteUser - x-speakeasy-group: indexing.permissions - /api/index/v1/deletegroup: - post: - summary: Delete group - description: | - Delete group from the datasource. Silently succeeds if group is not present. - Note: All memberships associated with the deleted group will also be deleted. - tags: - - Permissions - security: - - APIToken: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/DeleteGroupRequest' - required: true - x-exportParamName: DeleteGroupRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - x-speakeasy-name-override: deleteGroup - x-speakeasy-group: indexing.permissions - /api/index/v1/deletemembership: - post: - summary: Delete membership - description: Delete membership to a group in the specified datasource. Silently succeeds if membership is not present. - tags: - - Permissions - security: - - APIToken: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/DeleteMembershipRequest' - required: true - x-exportParamName: DeleteMembershipRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - x-speakeasy-name-override: deleteMembership - x-speakeasy-group: indexing.permissions - /api/index/v1/debug/{datasource}/status: - post: - summary: | - Beta: Get datasource status - description: | - Gather information about the datasource's overall status. Currently in beta, might undergo breaking changes without prior notice. + id: 2 + event: message + data: {"messages":[{"role":"GLEAN_AI","content":[{"text":",","type":"text"}]}]} - Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information. - tags: - - Troubleshooting - security: - - APIToken: [] - parameters: - - name: datasource - in: path - description: The datasource to get debug status for. - required: true - schema: - type: string - responses: - "200": - description: OK - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/DebugDatasourceStatusResponse' - "400": - description: Bad Request - "401": - description: Not Authorized - x-beta: true - x-speakeasy-name-override: status - x-speakeasy-group: indexing.datasource - /api/index/v1/debug/{datasource}/document: - post: - summary: | - Beta: Get document information - description: | - Gives various information that would help in debugging related to a particular document. Currently in beta, might undergo breaking changes without prior notice. + id: 3 + event: message + data: {"messages":[{"role":"GLEAN_AI","content":[{"text":" I'm","type":"text"}]}]} - Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information. - tags: - - Troubleshooting - security: - - APIToken: [] - parameters: - - name: datasource - in: path - description: The datasource to which the document belongs - required: true - schema: - type: string - requestBody: - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/DebugDocumentRequest' - required: true - x-exportParamName: DebugDocumentRequest - responses: - "200": - description: OK - content: - application/json; charset=UTF-8: + id: 4 + event: message + data: {"messages":[{"role":"GLEAN_AI","content":[{"text":" your","type":"text"}]}]} + "400": + description: Bad request + "403": + description: Forbidden + "404": + description: Not Found + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "409": + description: Conflict + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "422": + description: Validation Error + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "500": + description: Internal server error + x-speakeasy-group: client.agents + x-speakeasy-name-override: runStream + /rest/api/v1/agents/runs/wait: + post: + 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 + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AgentRunCreate" + required: true + responses: + "200": + description: Success + content: + application/json: + schema: + $ref: "#/components/schemas/AgentRunWaitResponse" + "400": + description: Bad request + "403": + description: Forbidden + "404": + description: Not Found + "409": + description: Conflict + "422": + description: Validation Error + "500": + description: Internal server error + x-speakeasy-group: client.agents + x-speakeasy-name-override: run + /rest/api/v1/addcollectionitems: + post: + tags: + - Collections + summary: Add Collection item + description: Add items to a Collection. + operationId: addcollectionitems + x-visibility: Public + x-codegen-request-body-name: payload + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AddCollectionItemsRequest" + description: Data describing the add operation. + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/AddCollectionItemsResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: addItems + x-speakeasy-group: client.collections + /rest/api/v1/createcollection: + post: + tags: + - Collections + summary: Create Collection + description: Create a publicly visible (empty) Collection of documents. + operationId: createcollection + x-visibility: Public + x-codegen-request-body-name: payload + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/CreateCollectionRequest" + description: Collection content plus any additional metadata for the request. + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/CreateCollectionResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "422": + description: Semantic error + content: + application/json: + schema: + $ref: "#/components/schemas/CollectionError" + "429": + description: Too Many Requests + x-speakeasy-group: client.collections + x-speakeasy-name-override: create + /rest/api/v1/deletecollection: + post: + tags: + - Collections + summary: Delete Collection + description: Delete a Collection given the Collection's ID. + operationId: deletecollection + x-visibility: Public + x-codegen-request-body-name: payload + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteCollectionRequest" + description: DeleteCollection request + required: true + x-exportParamName: Request + responses: + "200": + description: OK + "400": + description: Invalid request + "401": + description: Not Authorized + "422": + description: Semantic error + content: + application/json: + schema: + $ref: "#/components/schemas/CollectionError" + "429": + description: Too Many Requests + x-speakeasy-name-override: delete + x-speakeasy-group: client.collections + /rest/api/v1/deletecollectionitem: + post: + tags: + - Collections + summary: Delete Collection item + description: Delete a single item from a Collection. + operationId: deletecollectionitem + x-visibility: Public + x-codegen-request-body-name: payload + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteCollectionItemRequest" + description: Data describing the delete operation. + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteCollectionItemResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "422": + description: Failed to save deletion + "429": + description: Too Many Requests + x-speakeasy-name-override: deleteItem + x-speakeasy-group: client.collections + /rest/api/v1/editcollection: + post: + tags: + - Collections + summary: Update Collection + description: Update the properties of an existing Collection. + operationId: editcollection + x-visibility: Public + x-codegen-request-body-name: payload + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/EditCollectionRequest" + description: Collection content plus any additional metadata for the request. + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/EditCollectionResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "422": + description: Semantic error + content: + application/json: + schema: + $ref: "#/components/schemas/CollectionError" + "429": + description: Too Many Requests + x-speakeasy-name-override: update + x-speakeasy-group: client.collections + /rest/api/v1/editcollectionitem: + post: + tags: + - Collections + 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 + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/EditCollectionItemRequest" + description: Edit Collection Items request + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/EditCollectionItemResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: updateItem + x-speakeasy-group: client.collections + /rest/api/v1/getcollection: + post: + tags: + - Collections + 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 + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/GetCollectionRequest" + description: GetCollection request + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/GetCollectionResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: retrieve + x-speakeasy-group: client.collections + /rest/api/v1/listcollections: + post: + tags: + - Collections + summary: List Collections + description: List all existing Collections. + operationId: listcollections + x-visibility: Public + x-codegen-request-body-name: payload + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/ListCollectionsRequest" + description: ListCollections request + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/ListCollectionsResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: list + x-speakeasy-group: client.collections + /rest/api/v1/getdocpermissions: + post: + tags: + - Documents + 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 + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/GetDocPermissionsRequest" + description: Document permissions request + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/GetDocPermissionsResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "403": + description: Forbidden + "429": + description: Too Many Requests + x-speakeasy-name-override: retrievePermissions + x-speakeasy-group: client.documents + /rest/api/v1/getdocuments: + post: + tags: + - Documents + 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 + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/GetDocumentsRequest" + description: Information about documents requested. + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/GetDocumentsResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "403": + description: Documents does not exist, or user cannot access documents. + "429": + description: Too Many Requests + x-speakeasy-name-override: retrieve + x-speakeasy-group: client.documents + /rest/api/v1/getdocumentsbyfacets: + post: + tags: + - Documents + 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 + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/GetDocumentsByFacetsRequest" + description: Information about facet conditions for documents to be retrieved. + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/GetDocumentsByFacetsResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "404": + description: Not Found + "429": + description: Too Many Requests + x-speakeasy-name-override: retrieveByFacets + x-speakeasy-group: client.documents + /rest/api/v1/insights: + post: + tags: + - 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 + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/InsightsRequest" + description: Includes request parameters for insights requests. + required: true + x-exportParamName: InsightsRequest + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/InsightsResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: retrieve + x-speakeasy-group: client.insights + /rest/api/v1/messages: + post: + tags: + - 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 + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/MessagesRequest" + description: Includes request params such as the id for channel/message and direction. + required: true + x-exportParamName: MessagesRequest + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/MessagesResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: retrieve + x-speakeasy-group: client.messages + /rest/api/v1/editpin: + post: + tags: + - Pins + summary: Update pin + description: Update an existing user-generated pin. + operationId: editpin + x-visibility: Public + x-codegen-request-body-name: payload + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/EditPinRequest" + description: Edit pins request + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/PinDocument" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: update + x-speakeasy-group: client.pins + /rest/api/v1/getpin: + post: + tags: + - Pins + summary: Read pin + description: Read pin details given its ID. + operationId: getpin + x-visibility: Public + x-codegen-request-body-name: payload + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/GetPinRequest" + description: Get pin request + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/GetPinResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: retrieve + x-speakeasy-group: client.pins + /rest/api/v1/listpins: + post: + tags: + - Pins + summary: List pins + description: Lists all pins. + operationId: listpins + x-visibility: Public + x-codegen-request-body-name: payload + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + type: object + description: List pins request + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/ListPinsResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: list + x-speakeasy-group: client.pins + /rest/api/v1/pin: + post: + tags: + - Pins + 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 + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/PinRequest" + description: Details about the document and query for the pin. + required: true + x-exportParamName: PinDocument + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/PinDocument" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: create + x-speakeasy-group: client.pins + /rest/api/v1/unpin: + post: + tags: + - Pins + summary: Delete pin + description: Unpin a previously pinned result. + operationId: unpin + x-visibility: Public + x-codegen-request-body-name: payload + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/Unpin" + description: Details about the pin being unpinned. + required: true + x-exportParamName: Unpin + responses: + "200": + description: OK + "400": + description: Invalid request + "401": + description: Not Authorized + "403": + description: Forbidden from unpinning someone else's pin + "429": + description: Too Many Requests + x-speakeasy-name-override: remove + x-speakeasy-group: client.pins + /rest/api/v1/adminsearch: + post: + tags: + - Search + 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 + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SearchRequest" + description: Admin search request + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/SearchResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "403": + description: Forbidden + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorInfo" + "422": + description: Invalid Query + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorInfo" + "429": + description: Too Many Requests + x-speakeasy-group: client.search + x-speakeasy-name-override: queryAsAdmin + /rest/api/v1/autocomplete: + post: + tags: + - Search + 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 + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AutocompleteRequest" + description: Autocomplete request + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/AutocompleteResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-group: client.search + x-speakeasy-name-override: autocomplete + /rest/api/v1/feed: + post: + tags: + - Search + 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 + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/FeedRequest" + description: Includes request params, client data and more for making user's feed. + required: true + x-exportParamName: FeedRequest + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/FeedResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "408": + description: Request Timeout + "429": + description: Too Many Requests + x-speakeasy-name-override: retrieveFeed + x-speakeasy-group: client.search + /rest/api/v1/recommendations: + post: + tags: + - Search + 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 + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/RecommendationsRequest" + description: Recommendations request + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/RecommendationsResponse" + "202": + description: Accepted. The Retry-After header has a hint about when the response will be available + "204": + description: There are no recommendations for this URL + "400": + description: Invalid request + "401": + description: Not Authorized + "403": + description: Document does not exist or user cannot access document + "429": + description: Too Many Requests + x-speakeasy-group: client.search + x-speakeasy-name-override: recommendations + /rest/api/v1/search: + post: + tags: + - 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 + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SearchRequest" + description: Search request + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/SearchResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "403": + description: Forbidden + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorInfo" + "408": + description: Request Timeout + "422": + description: Invalid Query + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorInfo" + "429": + description: Too Many Requests + x-speakeasy-group: client.search + x-speakeasy-name-override: query + /rest/api/v1/listentities: + post: + tags: + - Entities + 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 + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/ListEntitiesRequest" + description: List people request + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/ListEntitiesResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-group: client.entities + x-speakeasy-name-override: list + /rest/api/v1/people: + post: + tags: + - Entities + summary: Read people + description: Read people details for the given IDs. + operationId: people + x-visibility: Public + x-codegen-request-body-name: payload + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/PeopleRequest" + description: People request + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/PeopleResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: readPeople + x-speakeasy-group: client.entities + /rest/api/v1/people/{person_id}/photo: + get: + tags: + - Entities + 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 + parameters: + - name: person_id + in: path + required: true + description: The obfuscated ID of the person whose photo to retrieve. + 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. + schema: + type: string + responses: + "200": + description: Photo bytes returned successfully. + headers: + Cache-Control: + description: Caching directive for the photo response. + schema: + type: string + example: public, max-age=3600 + example: public, max-age=3600 + content: + image/png: + schema: + type: string + format: binary + image/jpeg: + schema: + type: string + format: binary + "400": + description: Missing person_id parameter. + "401": + description: Not Authorized. + "404": + description: | + 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. + /rest/api/v1/createshortcut: + post: + tags: + - Shortcuts + 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 + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/CreateShortcutRequest" + description: CreateShortcut request + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/CreateShortcutResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: create + x-speakeasy-group: client.shortcuts + /rest/api/v1/deleteshortcut: + post: + tags: + - Shortcuts + summary: Delete shortcut + description: Delete an existing user-generated shortcut. + operationId: deleteshortcut + x-visibility: Public + x-codegen-request-body-name: payload + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteShortcutRequest" + description: DeleteShortcut request + required: true + x-exportParamName: Request + responses: + "200": + description: OK + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: delete + x-speakeasy-group: client.shortcuts + /rest/api/v1/getshortcut: + post: + tags: + - Shortcuts + summary: Read shortcut + description: Read a particular shortcut's details given its ID. + operationId: getshortcut + x-visibility: Public + x-codegen-request-body-name: payload + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/GetShortcutRequest" + description: GetShortcut request + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/GetShortcutResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-group: client.shortcuts + x-speakeasy-name-override: retrieve + /rest/api/v1/listshortcuts: + post: + tags: + - Shortcuts + summary: List shortcuts + description: List shortcuts editable/owned by the currently authenticated user. + operationId: listshortcuts + x-visibility: Public + x-codegen-request-body-name: payload + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/ListShortcutsPaginatedRequest" + description: Filters, sorters, paging params required for pagination + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/ListShortcutsPaginatedResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-group: client.shortcuts + x-speakeasy-name-override: list + /rest/api/v1/updateshortcut: + post: + tags: + - Shortcuts + summary: Update shortcut + description: Updates the shortcut with the given ID. + operationId: updateshortcut + x-visibility: Public + x-codegen-request-body-name: payload + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UpdateShortcutRequest" + description: Shortcut content. Id need to be specified for the shortcut. + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/UpdateShortcutResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-group: client.shortcuts + x-speakeasy-name-override: update + /rest/api/v1/summarize: + post: + tags: + - Summarize + summary: Summarize documents + description: Generate an AI summary of the requested documents. + operationId: summarize + x-visibility: Public + x-codegen-request-body-name: payload + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SummarizeRequest" + description: Includes request params such as the query and specs of the documents to summarize. + required: true + x-exportParamName: Request + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/SummarizeResponse" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: summarize + x-speakeasy-group: client.documents + /rest/api/v1/addverificationreminder: + post: + tags: + - Verification + 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 + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/ReminderRequest" + description: Details about the reminder. + required: true + x-exportParamName: ReminderRequest + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/Verification" + "400": + description: Invalid request + "401": + description: Not Authorized + "403": + description: Document does not exist, does not support verification or user cannot access document + "429": + description: Too Many Requests + x-speakeasy-name-override: addReminder + x-speakeasy-group: client.verification + /rest/api/v1/listverifications: + post: + tags: + - Verification + 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 + parameters: + - in: query + name: count + description: Maximum number of documents to return + required: false + schema: + type: integer + - $ref: "#/components/parameters/locale" + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/VerificationFeed" + "400": + description: Invalid request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: list + x-speakeasy-group: client.verification + /rest/api/v1/verify: + post: + tags: + - Verification + 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 + parameters: + - $ref: "#/components/parameters/locale" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/VerifyRequest" + description: Details about the verification request. + required: true + x-exportParamName: VerifyRequest + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/Verification" + "400": + description: Invalid request + "401": + description: Not Authorized + "403": + description: Document does not exist, does not support verification or user cannot access document + "429": + description: Too Many Requests + x-speakeasy-name-override: verify + x-speakeasy-group: client.verification + /rest/api/v1/tools/list: + get: + 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 + parameters: + - in: query + name: toolNames + description: Optional array of tool names to filter by + required: false + schema: + type: array + items: + type: string + style: form + explode: false + responses: + "200": + description: Successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/ToolsListResponse" + "400": + description: Bad Request + "401": + description: Unauthorized + "404": + description: Not Found + "429": + description: Too Many Requests + x-speakeasy-name-override: list + x-speakeasy-group: client.tools + /rest/api/v1/tools/call: + post: + tags: + - Tools + - Tools + summary: Execute the specified tool + description: Execute the specified tool with provided parameters + x-visibility: Preview + requestBody: + required: true + content: + application/json: + schema: + $ref: "#/components/schemas/ToolsCallRequest" + responses: + "200": + description: Successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/ToolsCallResponse" + "400": + description: Bad Request + "401": + description: Unauthorized + "404": + description: Not Found + "429": + description: Too Many Requests + 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: - $ref: '#/components/schemas/DebugDocumentResponse' - "400": - description: Bad Request - "401": - description: Not Authorized - x-beta: true - x-speakeasy-group: indexing.documents - x-speakeasy-name-override: debug - /api/index/v1/debug/{datasource}/documents: - post: - summary: | - Beta: Get information of a batch of documents - description: | - Gives various information that would help in debugging related to a batch of documents. Currently in beta, might undergo breaking changes without prior notice. + type: string + get: + tags: + - Tools + 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 + responses: + "200": + description: Successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/ActionPackAuthStatusResponse" + "400": + description: Bad Request + "401": + description: Unauthorized + "404": + description: Action pack not found + "429": + description: Too Many Requests + post: + tags: + - Tools + 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 + redirect URL that the client should navigate the end user to. After the OAuth + callback completes, the user's browser is redirected back to `returnUrl` with a + status query parameter (`?glean_action_auth=success|error&actionPackId=...`). - Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information. - tags: - - Troubleshooting - security: - - APIToken: [] - parameters: - - name: datasource - in: path - description: The datasource to which the document belongs - required: true - schema: - type: string - requestBody: - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/DebugDocumentsRequest' - required: true - x-exportParamName: DebugDocumentsRequest - responses: - "200": - description: OK - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/DebugDocumentsResponse' - "400": - description: Bad Request - "401": - description: Not Authorized - x-beta: true - x-speakeasy-group: indexing.documents - x-speakeasy-name-override: debugMany - /api/index/v1/debug/{datasource}/user: - post: - summary: | - Beta: Get user information - description: | - Gives various information that would help in debugging related to a particular user. Currently in beta, might undergo breaking changes without prior notice. + `returnUrl` must match the tenant's configured return URL allowlist; otherwise the + request is rejected with 400. + operationId: authorizeActionPack + x-visibility: Preview + requestBody: + required: true + content: + application/json: + schema: + $ref: "#/components/schemas/AuthorizeActionPackRequest" + responses: + "200": + description: Successful operation + content: + application/json: + schema: + $ref: "#/components/schemas/AuthorizeActionPackResponse" + "400": + description: Invalid request (e.g. returnUrl not in allowlist, unsupported auth type) + "401": + description: Unauthorized + "403": + description: User not entitled to the action pack + "404": + description: Action pack not found + "429": + description: Too Many Requests + /api/index/v1/indexdocument: + post: + summary: Index document + description: Adds a document to the index or updates an existing document. + tags: + - Documents + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/IndexDocumentRequest" + required: true + x-exportParamName: IndexDocumentRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + "429": + description: Too Many Requests + x-speakeasy-name-override: addOrUpdate + x-speakeasy-group: indexing.documents + /api/index/v1/indexdocuments: + post: + summary: Index documents + description: Adds or updates multiple documents in the index. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-indexing/choosing-indexdocuments-vs-bulkindexdocuments) documentation for an explanation of when to use this endpoint. + tags: + - Documents + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/IndexDocumentsRequest" + required: true + x-exportParamName: IndexDocumentsRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + "429": + description: Too Many Requests + x-speakeasy-name-override: index + x-speakeasy-group: indexing.documents + /api/index/v1/bulkindexdocuments: + post: + summary: Bulk index documents + description: Replaces the documents in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints. + tags: + - Documents + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/BulkIndexDocumentsRequest" + required: true + x-exportParamName: BulkIndexDocumentsRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + x-speakeasy-name-override: bulkIndex + x-speakeasy-group: indexing.documents + /api/index/v1/updatepermissions: + post: + summary: Update document permissions + description: Updates the permissions for a given document without modifying document content. + tags: + - Documents + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UpdatePermissionsRequest" + required: true + x-exportParamName: UpdatePermissionsRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + "429": + description: Too Many Requests + x-speakeasy-name-override: updatePermissions + x-speakeasy-group: indexing.permissions + /api/index/v1/processalldocuments: + post: + summary: Schedules the processing of uploaded documents + description: | + Schedules the immediate processing of documents uploaded through the indexing API. By default the uploaded documents will be processed asynchronously but this API can be used to schedule processing of all documents on demand. - Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information. - tags: - - Troubleshooting - security: - - APIToken: [] - parameters: - - name: datasource - in: path - description: The datasource to which the user belongs - required: true - schema: - type: string - requestBody: - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/DebugUserRequest' - required: true - x-exportParamName: DebugUserRequest - responses: - "200": - description: OK - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/DebugUserResponse' - "400": - description: Bad Request - "401": - description: Not Authorized - x-beta: true - x-speakeasy-name-override: debug - x-speakeasy-group: indexing.people - /api/index/v1/checkdocumentaccess: - post: - summary: Check document access - description: | - Check if a given user has access to access a document in a custom datasource + If a `datasource` parameter is specified, processing is limited to that custom datasource. Without it, processing applies to all documents across all custom datasources. + #### Rate Limits + This endpoint is rate-limited to one usage every 3 hours. Exceeding this limit results in a 429 response code. Here's how the rate limit works: + 1. Calling `/processalldocuments` for datasource `foo` prevents another call for `foo` for 3 hours. + 2. Calling `/processalldocuments` for datasource `foo` doesn't affect immediate calls for `bar`. + 3. Calling `/processalldocuments` for all datasources prevents any datasource calls for 3 hours. + 4. Calling `/processalldocuments` for datasource `foo` doesn't affect immediate calls for all datasources. - Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information. - tags: - - Troubleshooting - security: - - APIToken: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/CheckDocumentAccessRequest' - required: true - x-exportParamName: CheckDocumentAccessRequest - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/CheckDocumentAccessResponse' - "400": - description: Bad Request - "401": - description: Not Authorized - "429": - description: Too Many Requests - x-speakeasy-group: indexing.documents - x-speakeasy-name-override: checkAccess - /api/index/v1/getdocumentstatus: - post: - summary: Get document upload and indexing status - description: | - Intended for debugging/validation. Fetches the current upload and indexing status of documents. + For more frequent document processing, contact Glean support. + tags: + - Documents + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/ProcessAllDocumentsRequest" + x-exportParamName: ProcessAllDocumentsRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: processAll + x-speakeasy-group: indexing.documents + /api/index/v1/deletedocument: + post: + summary: Delete document + description: Deletes the specified document from the index. Succeeds if document is not present. + tags: + - Documents + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteDocumentRequest" + required: true + x-exportParamName: DeleteDocumentRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + x-speakeasy-name-override: delete + x-speakeasy-group: indexing.documents + /api/index/v1/indexuser: + post: + summary: Index user + description: Adds a datasource user or updates an existing user. + tags: + - Permissions + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/IndexUserRequest" + required: true + x-exportParamName: IndexUserRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + x-speakeasy-name-override: indexUser + x-speakeasy-group: indexing.permissions + /api/index/v1/bulkindexusers: + post: + summary: Bulk index users + description: | + Replaces the users in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints. + Note: Any users deleted from the existing set will have their associated memberships deleted as well. + tags: + - Permissions + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/BulkIndexUsersRequest" + required: true + x-exportParamName: BulkIndexUsersRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + x-speakeasy-name-override: bulkIndexUsers + x-speakeasy-group: indexing.permissions + /api/index/v1/indexgroup: + post: + summary: Index group + description: Add or update a group in the datasource. + tags: + - Permissions + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/IndexGroupRequest" + required: true + x-exportParamName: IndexGroupRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + x-speakeasy-name-override: indexGroup + x-speakeasy-group: indexing.permissions + /api/index/v1/bulkindexgroups: + post: + summary: Bulk index groups + description: | + Replaces the groups in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints. + Note: Any groups deleted from the existing set will have their associated memberships deleted as well. + tags: + - Permissions + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/BulkIndexGroupsRequest" + required: true + x-exportParamName: BulkIndexGroupsRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + x-speakeasy-name-override: bulkIndexGroups + x-speakeasy-group: indexing.permissions + /api/index/v1/indexmembership: + post: + summary: Index membership + description: Add the memberships of a group in the datasource. + tags: + - Permissions + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/IndexMembershipRequest" + required: true + x-exportParamName: IndexMembershipRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + x-speakeasy-name-override: indexMembership + x-speakeasy-group: indexing.permissions + /api/index/v1/bulkindexmemberships: + post: + summary: Bulk index memberships for a group + description: Replaces the memberships for a group in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints. + tags: + - Permissions + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/BulkIndexMembershipsRequest" + required: true + x-exportParamName: BulkIndexMembershipsRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + x-speakeasy-name-override: bulkIndexMemberships + x-speakeasy-group: indexing.permissions + /api/index/v1/processallmemberships: + post: + summary: Schedules the processing of group memberships + description: | + Schedules the immediate processing of all group memberships uploaded through the indexing API. By default the uploaded group memberships will be processed asynchronously but this API can be used to schedule processing of all memberships on demand. + tags: + - Permissions + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/ProcessAllMembershipsRequest" + x-exportParamName: ProcessAllMembershipsRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + x-speakeasy-name-override: processMemberships + x-speakeasy-group: indexing.permissions + /api/index/v1/deleteuser: + post: + summary: Delete user + description: | + Delete the user from the datasource. Silently succeeds if user is not present. + Note: All memberships associated with the deleted user will also be deleted. + tags: + - Permissions + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteUserRequest" + required: true + x-exportParamName: DeleteUserRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + x-speakeasy-name-override: deleteUser + x-speakeasy-group: indexing.permissions + /api/index/v1/deletegroup: + post: + summary: Delete group + description: | + Delete group from the datasource. Silently succeeds if group is not present. + Note: All memberships associated with the deleted group will also be deleted. + tags: + - Permissions + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteGroupRequest" + required: true + x-exportParamName: DeleteGroupRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + x-speakeasy-name-override: deleteGroup + x-speakeasy-group: indexing.permissions + /api/index/v1/deletemembership: + post: + summary: Delete membership + description: Delete membership to a group in the specified datasource. Silently succeeds if membership is not present. + tags: + - Permissions + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteMembershipRequest" + required: true + x-exportParamName: DeleteMembershipRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + x-speakeasy-name-override: deleteMembership + x-speakeasy-group: indexing.permissions + /api/index/v1/debug/{datasource}/status: + post: + x-beta: true + summary: | + Beta: Get datasource status + description: | + Gather information about the datasource's overall status. Currently in beta, might undergo breaking changes without prior notice. - Tip: Use [/debug/{datasource}/document](https://developers.glean.com/indexing/debugging/datasource-document) for richer information. - tags: - - Troubleshooting - security: - - APIToken: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/GetDocumentStatusRequest' - required: true - x-exportParamName: GetDocumentStatusRequest - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/GetDocumentStatusResponse' - "400": - description: Bad Request - "401": - description: Not Authorized - "429": - description: Too Many Requests - deprecated: true - x-glean-deprecated: - id: 7eec0433-78fd-49f9-a34f-cca83640ec24 - introduced: "2026-02-03" - message: Endpoint is deprecated - removal: "2026-10-15" - x-speakeasy-deprecation-message: "Deprecated on 2026-02-03, removal scheduled for 2026-10-15: Endpoint is deprecated" - x-speakeasy-group: indexing.documents - x-speakeasy-name-override: status - /api/index/v1/getdocumentcount: - post: - summary: Get document count - description: | - Fetches document count for the specified custom datasource. + Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information. + tags: + - Troubleshooting + parameters: + - name: datasource + in: path + description: The datasource to get debug status for. + required: true + schema: + type: string + responses: + "200": + description: OK + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/DebugDatasourceStatusResponse" + "400": + description: Bad Request + "401": + description: Not Authorized + x-speakeasy-name-override: status + x-speakeasy-group: indexing.datasource + /api/index/v1/debug/{datasource}/document: + post: + x-beta: true + summary: | + Beta: Get document information + description: | + Gives various information that would help in debugging related to a particular document. Currently in beta, might undergo breaking changes without prior notice. - Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information. - tags: - - Troubleshooting - security: - - APIToken: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/GetDocumentCountRequest' - required: true - x-exportParamName: GetDocumentCountRequest - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/GetDocumentCountResponse' - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - deprecated: true - x-glean-deprecated: - id: c164089c-9412-4724-acf6-caf3b0d2a527 - introduced: "2026-02-03" - message: Endpoint is deprecated - removal: "2026-10-15" - x-speakeasy-deprecation-message: "Deprecated on 2026-02-03, removal scheduled for 2026-10-15: Endpoint is deprecated" - x-speakeasy-group: indexing.documents - x-speakeasy-name-override: count - /api/index/v1/getusercount: - post: - summary: Get user count - description: | - Fetches user count for the specified custom datasource. + Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information. + tags: + - Troubleshooting + parameters: + - name: datasource + in: path + description: The datasource to which the document belongs + required: true + schema: + type: string + requestBody: + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/DebugDocumentRequest" + required: true + x-exportParamName: DebugDocumentRequest + responses: + "200": + description: OK + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/DebugDocumentResponse" + "400": + description: Bad Request + "401": + description: Not Authorized + x-speakeasy-group: indexing.documents + x-speakeasy-name-override: debug + /api/index/v1/debug/{datasource}/documents: + post: + x-beta: true + summary: | + Beta: Get information of a batch of documents + description: | + Gives various information that would help in debugging related to a batch of documents. Currently in beta, might undergo breaking changes without prior notice. - Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information. - tags: - - Troubleshooting - security: - - APIToken: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/GetUserCountRequest' - required: true - x-exportParamName: GetUserCountRequest - responses: - "200": - description: OK - content: - application/json: + Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information. + tags: + - Troubleshooting + parameters: + - name: datasource + in: path + description: The datasource to which the document belongs + required: true + schema: + type: string + requestBody: + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/DebugDocumentsRequest" + required: true + x-exportParamName: DebugDocumentsRequest + responses: + "200": + description: OK + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/DebugDocumentsResponse" + "400": + description: Bad Request + "401": + description: Not Authorized + x-speakeasy-group: indexing.documents + x-speakeasy-name-override: debugMany + /api/index/v1/debug/{datasource}/user: + post: + x-beta: true + summary: | + Beta: Get user information + description: | + Gives various information that would help in debugging related to a particular user. Currently in beta, might undergo breaking changes without prior notice. + + Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information. + tags: + - Troubleshooting + parameters: + - name: datasource + in: path + description: The datasource to which the user belongs + required: true + schema: + type: string + requestBody: + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/DebugUserRequest" + required: true + x-exportParamName: DebugUserRequest + responses: + "200": + description: OK + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/DebugUserResponse" + "400": + description: Bad Request + "401": + description: Not Authorized + x-speakeasy-name-override: debug + x-speakeasy-group: indexing.people + /api/index/v1/checkdocumentaccess: + post: + summary: Check document access + description: | + Check if a given user has access to access a document in a custom datasource + + Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information. + tags: + - Troubleshooting + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/CheckDocumentAccessRequest" + required: true + x-exportParamName: CheckDocumentAccessRequest + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/CheckDocumentAccessResponse" + "400": + description: Bad Request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-group: indexing.documents + x-speakeasy-name-override: checkAccess + /api/index/v1/getdocumentstatus: + post: + deprecated: true + summary: Get document upload and indexing status + description: | + Intended for debugging/validation. Fetches the current upload and indexing status of documents. + + Tip: Use [/debug/{datasource}/document](https://developers.glean.com/indexing/debugging/datasource-document) for richer information. + tags: + - Troubleshooting + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/GetDocumentStatusRequest" + required: true + x-exportParamName: GetDocumentStatusRequest + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/GetDocumentStatusResponse" + "400": + description: Bad Request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-glean-deprecated: + id: 7eec0433-78fd-49f9-a34f-cca83640ec24 + introduced: "2026-02-03" + message: Endpoint is deprecated + removal: "2026-10-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-02-03, removal scheduled for 2026-10-15: Endpoint is deprecated" + x-speakeasy-group: indexing.documents + x-speakeasy-name-override: status + /api/index/v1/getdocumentcount: + post: + deprecated: true + summary: Get document count + description: | + Fetches document count for the specified custom datasource. + + Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information. + tags: + - Troubleshooting + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/GetDocumentCountRequest" + required: true + x-exportParamName: GetDocumentCountRequest + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/GetDocumentCountResponse" + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + x-glean-deprecated: + id: c164089c-9412-4724-acf6-caf3b0d2a527 + introduced: "2026-02-03" + message: Endpoint is deprecated + removal: "2026-10-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-02-03, removal scheduled for 2026-10-15: Endpoint is deprecated" + x-speakeasy-group: indexing.documents + x-speakeasy-name-override: count + /api/index/v1/getusercount: + post: + deprecated: true + summary: Get user count + description: | + Fetches user count for the specified custom datasource. + + Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information. + tags: + - Troubleshooting + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/GetUserCountRequest" + required: true + x-exportParamName: GetUserCountRequest + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/GetUserCountResponse" + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + x-glean-deprecated: + id: 4f5df873-385e-4539-8183-cb764b0f06b9 + introduced: "2026-02-03" + message: Endpoint is deprecated + removal: "2026-10-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-02-03, removal scheduled for 2026-10-15: Endpoint is deprecated" + x-speakeasy-name-override: count + x-speakeasy-group: indexing.people + /api/index/v1/betausers: + post: + summary: Beta users + description: Allow the datasource be visible to the specified beta users. The default behaviour is datasource being visible to all users if it is enabled and not visible to any user if it is not enabled. + tags: + - Permissions + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/GreenlistUsersRequest" + required: true + x-exportParamName: GreenlistUsersRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + x-speakeasy-name-override: authorizeBetaUsers + x-speakeasy-group: indexing.permissions + /api/index/v1/adddatasource: + post: + summary: Add or update datasource + description: Add or update a custom datasource and its schema. + tags: + - Datasources + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/CustomDatasourceConfig" + required: true + x-exportParamName: DatasourceConfig + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + x-speakeasy-name-override: add + x-speakeasy-group: indexing.datasources + /api/index/v1/getdatasourceconfig: + post: + summary: Get datasource config + description: Fetches the datasource config for the specified custom datasource. + tags: + - Datasources + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/GetDatasourceConfigRequest" + required: true + x-exportParamName: GetDatasourceConfigRequest + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/CustomDatasourceConfig" + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + x-speakeasy-name-override: retrieveConfig + x-speakeasy-group: indexing.datasources + /api/index/v1/rotatetoken: + post: + summary: Rotate token + description: Rotates the secret value inside the Indexing API token and returns the new raw secret. All other properties of the token are unchanged. In order to rotate the secret value, include the token as the bearer token in the `/rotatetoken` request. Please refer to [Token rotation](https://developers.glean.com/indexing/authentication/token-rotation) documentation for more information. + tags: + - Authentication + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/RotateTokenResponse" + "400": + description: Bad Request + "401": + description: Not Authorized + x-speakeasy-name-override: rotateToken + x-speakeasy-group: indexing.authentication + /api/index/v1/indexemployee: + post: + summary: Index employee + description: Adds an employee or replaces the existing information about an employee. + tags: + - People + requestBody: + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/IndexEmployeeRequest" + required: true + x-exportParamName: IndexEmployeeRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + x-speakeasy-name-override: index + x-speakeasy-group: indexing.people + /api/index/v1/bulkindexemployees: + post: + summary: Bulk index employees + description: Replaces all the currently indexed employees using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints. + tags: + - People + requestBody: + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/BulkIndexEmployeesRequest" + required: true + x-exportParamName: BulkIndexEmployeesRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + x-glean-deprecated: + id: ce596f49-55c4-465e-bf3c-5a3a33906e1f + introduced: "2026-02-03" + message: Endpoint is deprecated + removal: "2026-10-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-02-03, removal scheduled for 2026-10-15: Endpoint is deprecated" + deprecated: true + x-speakeasy-name-override: bulkIndex + x-speakeasy-group: indexing.people + /api/index/v1/indexemployeelist: {} + /api/index/v1/processallemployeesandteams: + post: + summary: Schedules the processing of uploaded employees and teams + description: | + Schedules the immediate processing of employees and teams uploaded through the indexing API. By default all uploaded people data will be processed asynchronously but this API can be used to schedule its processing on demand. + tags: + - People + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "429": + description: Too Many Requests + x-speakeasy-name-override: processAllEmployeesAndTeams + x-speakeasy-group: indexing.people + /api/index/v1/deleteemployee: + post: + summary: Delete employee + description: Delete an employee. Silently succeeds if employee is not present. + tags: + - People + requestBody: + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/DeleteEmployeeRequest" + required: true + x-exportParamName: DeleteEmployeeRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + x-speakeasy-name-override: delete + x-speakeasy-group: indexing.people + /api/index/v1/indexteam: + post: + summary: Index team + description: Adds a team or updates information about a team + tags: + - People + requestBody: + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/IndexTeamRequest" + required: true + x-exportParamName: IndexTeamRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + x-speakeasy-name-override: indexTeam + x-speakeasy-group: indexing.people + /api/index/v1/deleteteam: + post: + summary: Delete team + description: Delete a team based on provided id. + tags: + - People + requestBody: + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/DeleteTeamRequest" + required: true + x-exportParamName: DeleteTeamRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + x-speakeasy-name-override: deleteTeam + x-speakeasy-group: indexing.people + /api/index/v1/bulkindexteams: + post: + summary: Bulk index teams + description: Replaces all the currently indexed teams using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints. + tags: + - People + requestBody: + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/BulkIndexTeamsRequest" + required: true + x-exportParamName: BulkIndexTeamsRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + x-speakeasy-name-override: bulkIndexTeams + x-speakeasy-group: indexing.people + /api/index/v1/bulkindexshortcuts: + post: + summary: Bulk index external shortcuts + description: Replaces all the currently indexed shortcuts using paginated batch API calls. Note that this endpoint is used for indexing shortcuts not hosted by Glean. If you want to upload shortcuts that would be hosted by Glean, please use the `/uploadshortcuts` endpoint. For information on what you can do with Golinks, which are Glean-hosted shortcuts, please refer to [this](https://docs.glean.com/user-guide/knowledge/go-links/how-go-links-work) page. + tags: + - Shortcuts + requestBody: + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/BulkIndexShortcutsRequest" + required: true + x-exportParamName: BulkIndexShortcutsRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + x-speakeasy-name-override: bulkIndex + x-speakeasy-group: indexing.shortcuts + /api/index/v1/uploadshortcuts: + post: + summary: Upload shortcuts + description: Creates glean shortcuts for uploaded shortcuts info. Glean would host the shortcuts, and they can be managed in the knowledge tab once uploaded. + tags: + - Shortcuts + requestBody: + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/UploadShortcutsRequest" + required: true + x-exportParamName: UploadShortcutsRequest + responses: + "200": + description: OK + "400": + description: Bad Request + "401": + description: Not Authorized + "409": + description: Conflict + x-speakeasy-name-override: upload + x-speakeasy-group: indexing.shortcuts + /api/index/v1/debug/{datasource}/document/events: + post: + x-beta: true + summary: | + Beta: Get document lifecycle events + description: | + 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. + tags: + - Troubleshooting + parameters: + - name: datasource + in: path + description: The datasource to which the document belongs + required: true + schema: + type: string + requestBody: + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/DebugDocumentLifecycleRequest" + required: true + x-exportParamName: DebugDocumentLifecycleRequest + responses: + "200": + description: OK + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/DebugDocumentLifecycleResponse" + "400": + description: Bad Request + "401": + description: Not Authorized + "429": + description: Too Many Requests + /rest/api/index/document/{docId}/custom-metadata/{groupName}: + servers: + - url: https://{instance}-be.glean.com + variables: + instance: + default: instance-name + description: The instance name (typically the email domain without the TLD) that determines the deployment backend. + parameters: + - name: docId + in: path + description: Unique Glean identifier of the document + required: true schema: - $ref: '#/components/schemas/GetUserCountResponse' - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - deprecated: true - x-glean-deprecated: - id: 4f5df873-385e-4539-8183-cb764b0f06b9 - introduced: "2026-02-03" - message: Endpoint is deprecated - removal: "2026-10-15" - x-speakeasy-deprecation-message: "Deprecated on 2026-02-03, removal scheduled for 2026-10-15: Endpoint is deprecated" - x-speakeasy-name-override: count - x-speakeasy-group: indexing.people - /api/index/v1/betausers: - post: - summary: Beta users - description: Allow the datasource be visible to the specified beta users. The default behaviour is datasource being visible to all users if it is enabled and not visible to any user if it is not enabled. - tags: - - Permissions - security: - - APIToken: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/GreenlistUsersRequest' - required: true - x-exportParamName: GreenlistUsersRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - x-speakeasy-name-override: authorizeBetaUsers - x-speakeasy-group: indexing.permissions - /api/index/v1/adddatasource: - post: - summary: Add or update datasource - description: Add or update a custom datasource and its schema. - tags: - - Datasources - security: - - APIToken: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/CustomDatasourceConfig' - required: true - x-exportParamName: DatasourceConfig - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - x-speakeasy-name-override: add - x-speakeasy-group: indexing.datasources - /api/index/v1/getdatasourceconfig: - post: - summary: Get datasource config - description: Fetches the datasource config for the specified custom datasource. - tags: - - Datasources - security: - - APIToken: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/GetDatasourceConfigRequest' - required: true - x-exportParamName: GetDatasourceConfigRequest - responses: - "200": - description: OK - content: - application/json: + type: string + - name: groupName + in: path + description: Name of the metadata group as specified while adding schema + required: true schema: - $ref: '#/components/schemas/CustomDatasourceConfig' - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - x-speakeasy-name-override: retrieveConfig - x-speakeasy-group: indexing.datasources - /api/index/v1/rotatetoken: - post: - summary: Rotate token - description: Rotates the secret value inside the Indexing API token and returns the new raw secret. All other properties of the token are unchanged. In order to rotate the secret value, include the token as the bearer token in the `/rotatetoken` request. Please refer to [Token rotation](https://developers.glean.com/indexing/authentication/token-rotation) documentation for more information. - tags: - - Authentication - security: - - APIToken: [] - responses: - "200": - description: OK - content: - application/json: + type: string + put: + summary: Add or update custom metadata + description: Associates custom metadata with a specific document. Custom metadata enables you to enrich documents with additional structured information that can be used for search, filtering, and faceting. + tags: + - Custom Metadata + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/CustomMetadataPutRequest" + required: true + x-exportParamName: CustomMetadataPutRequest + responses: + "200": + $ref: "#/components/responses/SuccessResponse" + "400": + $ref: "#/components/responses/BadRequestError" + "401": + $ref: "#/components/responses/UnauthorizedError" + "404": + $ref: "#/components/responses/NotFoundError" + "429": + $ref: "#/components/responses/TooManyRequestsError" + "500": + $ref: "#/components/responses/InternalServerError" + x-speakeasy-name-override: upsert + x-speakeasy-group: indexing.customMetadata + delete: + summary: Remove custom metadata + description: Removes all custom metadata for the specified metadata group from a document. + tags: + - Custom Metadata + responses: + "200": + $ref: "#/components/responses/SuccessResponse" + "400": + $ref: "#/components/responses/BadRequestError" + "401": + $ref: "#/components/responses/UnauthorizedError" + "404": + $ref: "#/components/responses/NotFoundError" + "429": + $ref: "#/components/responses/TooManyRequestsError" + "500": + $ref: "#/components/responses/InternalServerError" + x-speakeasy-name-override: delete + x-speakeasy-group: indexing.customMetadata + /rest/api/index/custom-metadata/schema/{groupName}: + servers: + - url: https://{instance}-be.glean.com + variables: + instance: + default: instance-name + description: The instance name (typically the email domain without the TLD) that determines the deployment backend. + parameters: + - name: groupName + in: path + description: Name of the metadata group schema + required: true schema: - $ref: '#/components/schemas/RotateTokenResponse' - "400": - description: Bad Request - "401": - description: Not Authorized - x-speakeasy-name-override: rotateToken - x-speakeasy-group: indexing.authentication - /api/index/v1/indexemployee: - post: - summary: Index employee - description: Adds an employee or replaces the existing information about an employee. - tags: - - People - security: - - APIToken: [] - requestBody: - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/IndexEmployeeRequest' - required: true - x-exportParamName: IndexEmployeeRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - x-speakeasy-name-override: index - x-speakeasy-group: indexing.people - /api/index/v1/bulkindexemployees: - post: - summary: Bulk index employees - description: Replaces all the currently indexed employees using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints. - tags: - - People - security: - - APIToken: [] - requestBody: - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/BulkIndexEmployeesRequest' - required: true - x-exportParamName: BulkIndexEmployeesRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - deprecated: true - x-glean-deprecated: - id: ce596f49-55c4-465e-bf3c-5a3a33906e1f - introduced: "2026-02-03" - message: Endpoint is deprecated - removal: "2026-10-15" - x-speakeasy-deprecation-message: "Deprecated on 2026-02-03, removal scheduled for 2026-10-15: Endpoint is deprecated" - x-speakeasy-name-override: bulkIndex - x-speakeasy-group: indexing.people - /api/index/v1/indexemployeelist: {} - /api/index/v1/processallemployeesandteams: - post: - summary: Schedules the processing of uploaded employees and teams - description: | - Schedules the immediate processing of employees and teams uploaded through the indexing API. By default all uploaded people data will be processed asynchronously but this API can be used to schedule its processing on demand. - tags: - - People - security: - - APIToken: [] - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "429": - description: Too Many Requests - x-speakeasy-name-override: processAllEmployeesAndTeams - x-speakeasy-group: indexing.people - /api/index/v1/deleteemployee: - post: - summary: Delete employee - description: Delete an employee. Silently succeeds if employee is not present. - tags: - - People - security: - - APIToken: [] - requestBody: - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/DeleteEmployeeRequest' - required: true - x-exportParamName: DeleteEmployeeRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - x-speakeasy-name-override: delete - x-speakeasy-group: indexing.people - /api/index/v1/indexteam: - post: - summary: Index team - description: Adds a team or updates information about a team - tags: - - People - security: - - APIToken: [] - requestBody: - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/IndexTeamRequest' - required: true - x-exportParamName: IndexTeamRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - x-speakeasy-name-override: indexTeam - x-speakeasy-group: indexing.people - /api/index/v1/deleteteam: - post: - summary: Delete team - description: Delete a team based on provided id. - tags: - - People - security: - - APIToken: [] - requestBody: - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/DeleteTeamRequest' - required: true - x-exportParamName: DeleteTeamRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - x-speakeasy-name-override: deleteTeam - x-speakeasy-group: indexing.people - /api/index/v1/bulkindexteams: - post: - summary: Bulk index teams - description: Replaces all the currently indexed teams using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints. - tags: - - People - security: - - APIToken: [] - requestBody: - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/BulkIndexTeamsRequest' - required: true - x-exportParamName: BulkIndexTeamsRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - x-speakeasy-name-override: bulkIndexTeams - x-speakeasy-group: indexing.people - /api/index/v1/bulkindexshortcuts: - post: - summary: Bulk index external shortcuts - description: Replaces all the currently indexed shortcuts using paginated batch API calls. Note that this endpoint is used for indexing shortcuts not hosted by Glean. If you want to upload shortcuts that would be hosted by Glean, please use the `/uploadshortcuts` endpoint. For information on what you can do with Golinks, which are Glean-hosted shortcuts, please refer to [this](https://docs.glean.com/user-guide/knowledge/go-links/how-go-links-work) page. - tags: - - Shortcuts - security: - - APIToken: [] - requestBody: - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/BulkIndexShortcutsRequest' - required: true - x-exportParamName: BulkIndexShortcutsRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - x-speakeasy-name-override: bulkIndex - x-speakeasy-group: indexing.shortcuts - /api/index/v1/uploadshortcuts: - post: - summary: Upload shortcuts - description: Creates glean shortcuts for uploaded shortcuts info. Glean would host the shortcuts, and they can be managed in the knowledge tab once uploaded. - tags: - - Shortcuts - security: - - APIToken: [] - requestBody: - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/UploadShortcutsRequest' - required: true - x-exportParamName: UploadShortcutsRequest - responses: - "200": - description: OK - "400": - description: Bad Request - "401": - description: Not Authorized - "409": - description: Conflict - x-speakeasy-name-override: upload - x-speakeasy-group: indexing.shortcuts - /rest/api/v1/governance/data/policies/{id}: - get: - operationId: getpolicy - summary: Gets specified policy - description: Fetches the specified policy version, or the latest if no version is provided. - tags: - - Governance - security: - - APIToken: [] - parameters: - - name: id - in: path - description: The id of the policy to fetch. - required: true - schema: + type: string + get: + summary: Retrieve metadata schema + description: Retrieves the current schema definition for a metadata group. + tags: + - Custom Metadata + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/CustomMetadataSchema" + "401": + $ref: "#/components/responses/UnauthorizedError" + "404": + $ref: "#/components/responses/NotFoundError" + "429": + $ref: "#/components/responses/TooManyRequestsError" + "500": + $ref: "#/components/responses/InternalServerError" + x-speakeasy-name-override: getSchema + x-speakeasy-group: indexing.customMetadata + put: + summary: Create or update metadata schema + description: Defines or updates the schema for a metadata group. Schemas should be defined before indexing metadata. + tags: + - Custom Metadata + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/CustomMetadataSchema" + required: true + x-exportParamName: CustomMetadataSchema + responses: + "200": + $ref: "#/components/responses/SuccessResponse" + "400": + $ref: "#/components/responses/BadRequestError" + "401": + $ref: "#/components/responses/UnauthorizedError" + "409": + description: Conflict - Schema already exists with incompatible changes + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorInfoResponse" + "429": + $ref: "#/components/responses/TooManyRequestsError" + "500": + $ref: "#/components/responses/InternalServerError" + x-speakeasy-name-override: upsertSchema + x-speakeasy-group: indexing.customMetadata + delete: + summary: Remove metadata schema + description: Deletes the schema definition for a metadata group. This does not delete existing metadata values on documents. + tags: + - Custom Metadata + responses: + "200": + $ref: "#/components/responses/SuccessResponse" + "400": + $ref: "#/components/responses/BadRequestError" + "401": + $ref: "#/components/responses/UnauthorizedError" + "404": + $ref: "#/components/responses/NotFoundError" + "429": + $ref: "#/components/responses/TooManyRequestsError" + "500": + $ref: "#/components/responses/InternalServerError" + x-speakeasy-name-override: deleteSchema + x-speakeasy-group: indexing.customMetadata + /rest/api/v1/governance/data/policies/{id}: + get: + description: Fetches the specified policy version, or the latest if no version is provided. + summary: Gets specified policy + operationId: getpolicy + x-visibility: Public + tags: + - Governance + parameters: + - name: id + in: path + description: The id of the policy to fetch. + required: true + schema: + type: string + - name: version + in: query + description: The version of the policy to fetch. Each time a policy is updated, the older version is still stored. If this is left empty, the latest policy is fetched. + required: false + schema: + type: integer + format: int64 + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/GetDlpReportResponse" + "403": + description: Permissions error + "500": + description: Internal error + x-speakeasy-group: client.governance.data.policies + x-speakeasy-name-override: retrieve + post: + description: Updates an existing policy. + summary: Updates an existing policy + operationId: updatepolicy + tags: + - Governance + parameters: + - name: id + in: path + description: The id of the policy to fetch. + required: true + schema: + type: string + requestBody: + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/UpdateDlpReportRequest" + required: true + responses: + "200": + description: OK + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/UpdateDlpReportResponse" + "403": + description: Permissions error + "500": + description: Internal error + x-speakeasy-group: client.governance.data.policies + x-speakeasy-name-override: update + /rest/api/v1/governance/data/policies: + get: + description: Lists policies with filtering. + summary: Lists policies + operationId: listpolicies + x-visibility: Public + tags: + - Governance + parameters: + - name: autoHide + in: query + description: Filter to return reports with a given value of auto-hide. + required: false + schema: + type: boolean + - name: frequency + in: query + description: Filter to return reports with a given frequency. + required: false + schema: + type: string + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/ListDlpReportsResponse" + "403": + description: Permissions error + "500": + description: Internal error + x-speakeasy-group: client.governance.data.policies + x-speakeasy-name-override: list + post: + description: Creates a new policy with specified specifications and returns its id. + summary: Creates new policy + operationId: createpolicy + x-visibility: Public + tags: + - Governance + requestBody: + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/CreateDlpReportRequest" + required: true + responses: + "200": + description: OK + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/CreateDlpReportResponse" + "403": + description: Permissions error + "500": + description: Internal error + x-speakeasy-group: client.governance.data.policies + x-speakeasy-name-override: create + /rest/api/v1/governance/data/policies/{id}/download: + get: + description: Downloads CSV violations report for a specific policy id. This does not support continuous policies. + summary: Downloads violations CSV for policy + operationId: downloadpolicycsv + x-visibility: Public + tags: + - Governance + parameters: + - name: id + in: path + description: The id of the policy to download violations for. + required: true + schema: + type: string + responses: + "200": + description: Downloads csv of batch policy violations. + content: + text/csv; charset=UTF-8: + schema: + description: CSV of all the violations found for this policy. + type: string + "400": + description: Bad request error (e.g., continuous policies are not supported). + "403": + description: Permissions error + "500": + description: Internal error + x-speakeasy-group: client.governance.data.policies + x-speakeasy-name-override: download + /rest/api/v1/governance/data/reports: + post: + description: Creates a new one-time report and executes its batch job. + summary: Creates new one-time report + operationId: createreport + x-visibility: Public + tags: + - Governance + requestBody: + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/UpdateDlpConfigRequest" + required: true + responses: + "200": + description: OK + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/UpdateDlpConfigResponse" + "403": + description: Permissions error + "500": + description: Internal error + x-speakeasy-group: client.governance.data.reports + x-speakeasy-name-override: create + /rest/api/v1/governance/data/reports/{id}/download: + get: + description: Downloads CSV violations report for a specific report id. + summary: Downloads violations CSV for report + operationId: downloadreportcsv + x-visibility: Public + tags: + - Governance + parameters: + - name: id + in: path + description: The id of the report to download violations for. + required: true + schema: + type: string + responses: + "200": + description: Downloads csv of one-time report violations. + content: + text/csv; charset=UTF-8: + schema: + description: CSV of all the violations found for this report. + type: string + "403": + description: Permissions error + "500": + description: Internal error + x-speakeasy-group: client.governance.data.reports + x-speakeasy-name-override: download + /rest/api/v1/governance/data/reports/{id}/status: + get: + description: Fetches the status of the run corresponding to the report-id. + summary: Fetches report run status + operationId: getreportstatus + x-visibility: Public + tags: + - Governance + parameters: + - name: id + in: path + description: The id of the report to get run status for. + required: true + schema: + type: string + responses: + "200": + description: Fetches status of report run. + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/ReportStatusResponse" + "403": + description: Permissions error + "500": + description: Internal error + x-speakeasy-group: client.governance.data.reports + x-speakeasy-name-override: status + /rest/api/v1/governance/documents/visibilityoverrides: + get: + description: Fetches the visibility override status of the documents passed. + summary: Fetches documents visibility + operationId: getdocvisibility + x-visibility: Public + tags: + - Governance + parameters: + - name: docIds + in: query + description: List of doc-ids which will have their hide status fetched. + schema: + type: array + items: + type: string + responses: + "200": + description: The visibility status of documents + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/GetDocumentVisibilityOverridesResponse" + "403": + description: Permissions error + "500": + description: Internal error + x-speakeasy-group: client.governance.documents.visibilityoverrides + x-speakeasy-name-override: list + post: + description: Sets the visibility-override state of the documents specified, effectively hiding or un-hiding documents. + summary: Hide or unhide docs + operationId: setdocvisibility + x-visibility: Public + tags: + - Governance + requestBody: + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/UpdateDocumentVisibilityOverridesRequest" + required: true + responses: + "200": + description: OK + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/UpdateDocumentVisibilityOverridesResponse" + "403": + description: Permissions error + "500": + description: Internal error + x-speakeasy-group: client.governance.documents.visibilityoverrides + x-speakeasy-name-override: create + /rest/api/v1/governance/data/findings/exports: + post: + description: Creates a new DLP findings export job. + summary: Creates findings export + operationId: createfindingsexport + x-visibility: Public + tags: + - Governance + requestBody: + content: + application/json; charset=UTF-8: + schema: + $ref: "#/components/schemas/DlpExportFindingsRequest" + required: true + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/ExportInfo" + "403": + description: Permissions error + "500": + description: Internal error + get: + description: Lists all DLP findings exports. + summary: Lists findings exports + operationId: listfindingsexports + x-visibility: Public + tags: + - Governance + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/ListDlpFindingsExportsResponse" + "403": + description: Permissions error + "500": + description: Internal error + /rest/api/v1/governance/data/findings/exports/{id}: + get: + description: Downloads a DLP findings export as a CSV file. + summary: Downloads findings export + operationId: downloadfindingsexport + x-visibility: Public + tags: + - Governance + parameters: + - name: id + in: path + description: The ID of the export to download. + required: true + schema: + type: string + responses: + "200": + description: Downloads CSV of exported findings. + content: + text/csv; charset=UTF-8: + schema: + description: CSV of all the exported findings. + type: string + "403": + description: Permissions error + "500": + description: Internal error + delete: + description: Deletes a DLP findings export. + summary: Deletes findings export + operationId: deletefindingsexport + x-visibility: Public + tags: + - Governance + parameters: + - name: id + in: path + description: The ID of the export to delete. + required: true + schema: + type: integer + format: int64 + responses: + "200": + description: OK + "403": + description: Permissions error + "500": + description: Internal error + /rest/api/v1/configure/datasources/{datasourceId}/instances/{instanceId}: + get: + description: | + Gets the greenlisted configuration values for a datasource instance. Returns only configuration keys that are exposed via the public API greenlist. + summary: Get datasource instance configuration + operationId: getDatasourceInstanceConfiguration + x-visibility: Preview + tags: + - Datasources + parameters: + - $ref: "#/components/parameters/datasourceId" + - $ref: "#/components/parameters/instanceId" + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/DatasourceConfigurationResponse" + "400": + description: Invalid request + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "401": + description: Not authorized + "403": + description: Forbidden + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "404": + description: Datasource instance not found + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + patch: + description: | + 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. + summary: Update datasource instance configuration + operationId: updateDatasourceInstanceConfiguration + x-visibility: Preview + tags: + - Datasources + parameters: + - $ref: "#/components/parameters/datasourceId" + - $ref: "#/components/parameters/instanceId" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UpdateDatasourceConfigurationRequest" + required: true + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/DatasourceConfigurationResponse" + "400": + description: Invalid request + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "401": + description: Not authorized + "403": + description: Forbidden + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "404": + description: Datasource instance not found + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + /rest/api/v1/datasource/{datasourceInstanceId}/credentialstatus: + get: + description: | + Returns the current credential status for a datasource instance. Access is limited to callers with the ADMIN scope; the handler enforces this check. + summary: Get datasource instance credential status + operationId: getDatasourceCredentialStatus + x-visibility: Preview + tags: + - Datasources + parameters: + - $ref: "#/components/parameters/datasourceInstanceId" + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/DatasourceCredentialStatusResponse" + "400": + description: Invalid request + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "401": + description: Not authorized + "403": + description: Forbidden + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "404": + description: Datasource instance not found + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + /rest/api/v1/datasource/{datasourceInstanceId}/credentials: + post: + description: | + 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}. + summary: Rotate datasource instance credentials + operationId: rotateDatasourceCredentials + x-visibility: Preview + tags: + - Datasources + parameters: + - $ref: "#/components/parameters/datasourceInstanceId" + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/RotateDatasourceCredentialsRequest" + required: true + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/DatasourceCredentialStatusResponse" + "400": + description: Invalid request + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "401": + description: Not authorized + "403": + description: Forbidden + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "404": + description: Datasource instance not found + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + /rest/api/v1/chat#stream: + post: + tags: + - Chat + summary: Chat + description: Have a conversation with Glean AI. + operationId: chatStream + x-visibility: Public + x-codegen-request-body-name: payload + parameters: + - $ref: '#/components/parameters/timezoneOffset' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ChatRequest' + examples: + defaultExample: + value: + messages: + - author: USER + messageType: CONTENT + fragments: + - text: What are the company holidays this year? + gptAgentExample: + value: + agentConfig: + agent: GPT + messages: + - author: USER + 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: + '200': + description: OK + content: + text/plain: + schema: + $ref: '#/components/schemas/ChatRequestStream' + examples: + defaultExample: + value: + messages: + - author: GLEAN_AI + messageType: CONTENT + hasMoreFragments: false + agentConfig: + agent: DEFAULT + mode: DEFAULT + fragments: + - text: There are no holidays! + streamingExample: + value: + messages: + - author: GLEAN_AI + messageType: CONTENT + agentConfig: + agent: DEFAULT + mode: DEFAULT + hasMoreFragments: true + fragments: null + - author: GLEAN_AI + messageType: CONTENT + agentConfig: + agent: DEFAULT + mode: DEFAULT + hasMoreFragments: true + fragments: null + - author: GLEAN_AI + messageType: CONTENT + agentConfig: + agent: DEFAULT + mode: DEFAULT + hasMoreFragments: true + fragments: + - text: e are + - author: GLEAN_AI + messageType: CONTENT + agentConfig: + agent: DEFAULT + mode: DEFAULT + hasMoreFragments: true + fragments: + - text: no hol + - author: GLEAN_AI + messageType: CONTENT + agentConfig: + agent: DEFAULT + mode: DEFAULT + hasMoreFragments: false + fragments: + - text: idays! + updateResponse: + value: + messages: + - author: GLEAN_AI + messageType: UPDATE + agentConfig: + agent: DEFAULT + mode: DEFAULT + fragments: + - text: '**Reading:**' + - structuredResults: + - document: + id: '123' + title: Company Handbook + citationResponse: + value: + messages: + - author: GLEAN_AI + messageType: CONTENT + agentConfig: + agent: DEFAULT + mode: DEFAULT + citations: + - sourceDocument: + id: '123' + title: Company Handbook + referenceRanges: + - textRange: + startIndex: 0 + endIndex: 12 + type: CITATION + '400': + description: Invalid request + '401': + description: Not Authorized + '408': + description: Request Timeout + '429': + description: Too Many Requests + x-speakeasy-group: client.chat + x-speakeasy-name-override: createStream + x-speakeasy-usage-example: true +components: + securitySchemes: + APIToken: + scheme: bearer + type: http + schemas: + ActivityEventParams: + properties: + bodyContent: + description: The HTML content of the page body. + type: string + datasourceInstance: + type: string + description: The full datasource instance name inferred from the URL of the event + datasource: + type: string + description: The datasource without the instance inferred from the URL of the event + instanceOnlyName: + 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 + query: + description: The user's search query associated with a SEARCH. + type: string + referrer: + description: The referring URL of the VIEW or SEARCH. + type: string + title: + description: The page title associated with the URL of the event + type: string + 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 + 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 + description: The type of activity this represents. + x-enumDescriptions: + VIEW: Represents a visit to the given `url`. + EDIT: Represents an edit of the document represented by the `url`. + SEARCH: Represents a search performed at the given `url`. + COMMENT: Represents a comment on the document represented by the `url`. + 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. + x-speakeasy-enum-descriptions: + VIEW: Represents a visit to the given `url`. + EDIT: Represents an edit of the document represented by the `url`. + SEARCH: Represents a search performed at the given `url`. + COMMENT: Represents a comment on the document represented by the `url`. + 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 + params: + $ref: "#/components/schemas/ActivityEventParams" + timestamp: + type: string + description: The ISO 8601 timestamp when the activity began. + format: date-time + url: + description: The URL of the activity. + type: string + Activity: + required: + - events + properties: + events: + type: array + items: + $ref: "#/components/schemas/ActivityEvent" + example: + events: + - url: https://example.com/ + action: HISTORICAL_VIEW + timestamp: "2000-01-23T04:56:07.000Z" + - url: https://example.com/search?q=query + action: SEARCH + timestamp: "2000-01-23T04:56:07.000Z" + params: + query: query + - url: https://example.com/ + action: VIEW + timestamp: "2000-01-23T04:56:07.000Z" + params: + duration: 20 + referrer: https://example.com/document + SessionInfo: + properties: + sessionTrackingToken: + type: string + description: A unique token for this session. A new session (and token) is created when the user issues a request from a new tab or when our server hasn't seen activity for more than 10 minutes from a tab. + tabId: + type: string + description: A unique id for all requests a user makes from a given tab, no matter how far apart. A new tab id is only generated when a user issues a request from a new tab. + lastSeen: + type: string + format: date-time + description: The last time the server saw this token. + lastQuery: + type: string + description: The last query seen by the server. + 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 + origID: + description: An opaque user ID for the authenticated user (ignores actas). + type: string + FeedbackChatExchange: + properties: + timestamp: + type: integer + format: int64 + description: Unix timestamp in millis for the chat request. + agent: + type: string + description: Either DEFAULT (company knowledge) or GPT (world knowledge). + userQuery: + type: string + description: Initial query entered by the user. + searchQuery: + type: string + 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 + response: + type: string + ManualFeedbackInfo: + properties: + email: + type: string + description: The email address of the user who submitted the Feedback.event.MANUAL_FEEDBACK event. + deprecated: true + source: + type: string + description: The source associated with the Feedback.event.MANUAL_FEEDBACK event. + enum: + - AUTOCOMPLETE + - CALENDAR + - CHAT + - CHAT_GENERAL + - CONCEPT_CARD + - DESKTOP_APP + - DISAMBIGUATION_CARD + - EXPERT_DETECTION + - FEED + - GENERATED_Q_AND_A + - INLINE_MENU + - NATIVE_RESULT + - PRISM + - Q_AND_A + - RELATED_QUESTIONS + - REPORT_ISSUE + - SCIOBOT + - SEARCH + - SIDEBAR + - SUMMARY + - TASKS + - TASK_EXECUTION + 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: + - AGENT_CANVAS_FAILED + - AGENT_CLARIFYING_QUESTIONS + - AGENT_INTERMEDIATE_STEPS_FAILED + - AGENT_TOOL_CALL_FAILED + - INACCURATE_RESPONSE + - INCOMPLETE_OR_NO_ANSWER + - INCORRECT_CITATION + - MISSING_CITATION + - OTHER + - OUTDATED_RESPONSE + - RESULT_MISSING + - RESULT_SHOULD_NOT_APPEAR + - RESULTS_HELPFUL + - RESULTS_POOR_ORDER + - TOO_MUCH_ONE_KIND + imageUrls: + type: array + items: + type: string + description: URLs of images uploaded by user when providing feedback + query: + type: string + description: The query associated with the Feedback.event.MANUAL_FEEDBACK event. + obscuredQuery: + type: string + description: The query associated with the Feedback.event.MANUAL_FEEDBACK event, but obscured such that the vowels are replaced with special characters. For search feedback events only. + activeTab: + type: string + description: Which tabs the user had chosen at the time of the Feedback.event.MANUAL_FEEDBACK event. For search feedback events only. + comments: + type: string + description: The comments users can optionally add to the Feedback.event.MANUAL_FEEDBACK events. + searchResults: + type: array + items: + type: string + description: The array of search result Glean Document IDs, ordered by top to bottom result. + previousMessages: + type: array + items: + type: string + description: The array of previous messages in a chat session, ordered by oldest to newest. + chatTranscript: + type: array + items: + $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 + rating: + type: integer + description: A rating associated with the user feedback. The value will be between one and the maximum given by ratingScale, inclusive. + ratingKey: + type: string + description: A description of the rating that contextualizes how it appeared to the user, e.g. "satisfied". + ratingScale: + type: integer + description: The scale of comparison for a rating associated with the feedback. Rating values start from one and go up to the maximum specified by ratingScale. For example, a five-option satisfaction rating will have a ratingScale of 5 and a thumbs-up/thumbs-down rating will have a ratingScale of 2. + SideBySideImplementation: + properties: + implementationId: + type: string + description: Unique identifier for this implementation variant. + implementationName: + type: string + 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 + 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 + description: Time taken to generate the response in milliseconds. + tokenCount: + type: integer + description: Number of tokens in the response. + modelUsed: + type: string + description: The specific model version used. + ManualFeedbackSideBySideInfo: + properties: + email: + type: string + 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 + 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" + evaluationSessionId: + type: string + description: Unique identifier for this evaluation session to group related feedback events. + implementationId: + type: string + 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 + comments: + type: string + description: Specific feedback comments for this implementation. + SeenFeedbackInfo: + properties: + isExplicit: + type: boolean + description: The confidence of the user seeing the object is high because they explicitly interacted with it e.g. answer impression in SERP with additional user interaction. + UserViewInfo: + properties: + docId: + type: string + description: Unique Glean Document ID of the associated document. + docTitle: + type: string + description: Title of associated document. + docUrl: + type: string + description: URL of associated document. + WorkflowFeedbackInfo: + properties: + source: + type: string + enum: + - ZERO_STATE + - LIBRARY + - 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 + - ARTIFACTS + - AUTOCOMPLETE + - COLLECTIONS + - FEED + - SEARCH + - CHAT + - NTP + - WORKFLOWS + - SUMMARY + - GENERAL + - PRISM + - PROMPTS + trackingTokens: + type: array + description: A list of server-generated trackingTokens to which this event applies. + items: + type: string + 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. + 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. + 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 + - COPY_LINK + - CREATE + - DISMISS + - DOWNVOTE + - EMAIL + - EXECUTE + - FILTER + - FIRST_TOKEN + - FOCUS_IN + - LAST_TOKEN + - MANUAL_FEEDBACK + - MANUAL_FEEDBACK_SIDE_BY_SIDE + - FEEDBACK_TIME_SAVED + - MARK_AS_READ + - MESSAGE + - MIDDLE_CLICK + - PAGE_BLUR + - PAGE_FOCUS + - PAGE_LEAVE + - PREVIEW + - RELATED_CLICK + - RIGHT_CLICK + - SECTION_CLICK + - SEEN + - SELECT + - SHARE + - SHOW_MORE + - UPVOTE + - VIEW + - VISIBLE + position: + type: integer + description: Position of the element in the case that the client controls order (such as feed and autocomplete). + payload: + 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" + timestamp: + type: string + description: The ISO 8601 timestamp when the event occured. + format: date-time + 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 + 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. + items: + type: string + type: array + uiElement: + type: string + description: The UI element associated with the event, if any. + manualFeedbackInfo: + $ref: "#/components/schemas/ManualFeedbackInfo" + manualFeedbackSideBySideInfo: + $ref: "#/components/schemas/ManualFeedbackSideBySideInfo" + seenFeedbackInfo: + $ref: "#/components/schemas/SeenFeedbackInfo" + userViewInfo: + $ref: "#/components/schemas/UserViewInfo" + 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. + 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. + ConnectorType: type: string - - name: version - in: query - description: The version of the policy to fetch. Each time a policy is updated, the older version is still stored. If this is left empty, the latest policy is fetched. - required: false - schema: - type: integer - format: int64 - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/GetDlpReportResponse' - "403": - description: Permissions error - "500": - description: Internal error - x-visibility: Public - x-speakeasy-group: client.governance.data.policies - x-speakeasy-name-override: retrieve - post: - operationId: updatepolicy - summary: Updates an existing policy - description: Updates an existing policy. - tags: - - Governance - security: - - APIToken: [] - parameters: - - name: id - in: path - description: The id of the policy to fetch. - required: true - schema: + description: The source from which document content was pulled, e.g. an API crawl or browser history + enum: + - API_CRAWL + - BROWSER_CRAWL + - BROWSER_HISTORY + - BUILTIN + - FEDERATED_SEARCH + - PUSH_API + - WEB_CRAWL + - NATIVE_HISTORY + DocumentContent: + properties: + fullTextList: + type: array + items: + type: string + description: The plaintext content of the document. + Document: + properties: + id: + type: string + description: The Glean Document ID. + datasource: + type: string + description: The app or other repository type from which the document was extracted + 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" + containerDocument: + $ref: "#/components/schemas/Document" + parentDocument: + $ref: "#/components/schemas/Document" + title: + type: string + description: The title of the document. + url: + type: string + description: A permalink for the document. + metadata: + $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" + SearchProviderInfo: + properties: + name: + type: string + description: Name of the search provider. + logoUrl: + type: string + description: URL to the provider's logo. + searchLinkUrlTemplate: + type: string + description: URL template that can be used to perform the suggested search by replacing the {query} placeholder with the query suggestion. + example: + name: Google + logo: https://app.glean.com/images/feather/globe.svg + searchLinkUrlTemplate: https://www.google.com/search?q={query}&hl=en + ResultTab: + properties: + id: + type: string + description: The unique ID of the tab. Can be passed in a search request to get results for that tab. + count: + type: integer + description: The number of results in this tab for the current query. + datasource: + type: string + description: The datasource associated with the tab, if any. + datasourceInstance: + type: string + description: The datasource instance associated with the tab, if any. + FacetFilterValue: + properties: + value: + type: string + example: Spreadsheet + relationType: + type: string + enum: + - EQUALS + - ID_EQUALS + - LT + - GT + - NOT_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. + x-speakeasy-enum-descriptions: + 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 + isNegated: + type: boolean + deprecated: true + description: DEPRECATED - please use relationType instead + x-glean-deprecated: + id: 75a48c79-b36a-4171-a0a0-4af7189da66e + introduced: "2026-02-05" + message: Use relationType instead + removal: "2026-10-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use relationType instead" + FacetFilter: + properties: + fieldName: + type: string + example: owner + values: + type: array + items: + $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: + fieldName: type + values: + - value: Spreadsheet + relationType: EQUALS + - value: Presentation + relationType: EQUALS + FacetFilterSet: + properties: + filters: + type: array + items: + $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: + facet: + type: string + description: The facet whose buckets should be filtered. + prefix: + type: string + description: The per-term prefix that facet buckets should be filtered on. + AuthToken: + required: + - accessToken + - datasource + properties: + accessToken: + type: string + datasource: + type: string + scope: + type: string + 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 + expiration: + description: Unix timestamp when this token expires (in seconds since epoch UTC). + type: integer + format: int64 + example: + accessToken: 123abc + datasource: gmail + scope: email profile https://www.googleapis.com/auth/gmail.readonly + 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 + required: + - id + properties: + id: + type: string + x-discriminator: true + description: The ID of the document. + - type: object + required: + - contentId + - ugcType + properties: + ugcType: + type: string + enum: + - ANNOUNCEMENTS + - ANSWERS + - COLLECTIONS + - SHORTCUTS + - CHATS + 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. + docType: + type: string + description: The specific type of the user generated content type. + - type: object + required: + - ugcType + - ugcId + properties: + ugcType: + type: string + enum: + - ANNOUNCEMENTS + - ANSWERS + - ARTIFACTS + - COLLECTIONS + - SHORTCUTS + - CHATS + 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. + docType: + type: string + description: The specific type of the user generated content type. + 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" + SearchRequestOptions: + required: + - facetBucketSize + properties: + datasourceFilter: + type: string + description: Filter results to a single datasource name (e.g. gmail, slack). All results are returned if missing. + datasourcesFilter: + type: array + items: + type: string + description: Filter results to one or more datasources (e.g. gmail, slack). All results are returned if missing. + queryOverridesFacetFilters: + type: boolean + description: If true, the operators in the query are taken to override any operators in facetFilters in the case of conflict. This is used to correctly set rewrittenFacetFilters and rewrittenQuery. + facetFilters: + type: array + items: + $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" + 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" + facetBucketSize: + type: integer + description: The maximum number of FacetBuckets to return in each FacetResult. + defaultFacets: + type: array + items: + type: string + 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" + 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 + 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. + 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. + 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. + enum: + - ALL_RESULT_COUNTS + - FACET_RESULTS + - QUERY_METADATA + - RESULTS + - SPELLCHECK_METADATA + 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. + disableSpellcheck: + type: boolean + description: Whether or not to disable spellcheck. + disableQueryAutocorrect: + type: boolean + description: Disables automatic adjustment of the input query for spelling corrections or other reasons. + returnLlmContentOverSnippets: + 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" + description: A list of filters which restrict the search results to only the specified content. + exclusions: + $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. + example: + datasourceFilter: JIRA + datasourcesFilter: + - JIRA + queryOverridesFacetFilters: true + facetFilters: + - fieldName: fieldName + values: + - fieldValues + - fieldValues + - fieldName: fieldName + values: + - fieldValues + - fieldValues + TextRange: + required: + - startIndex + description: A subsection of a given string to which some special formatting should be applied. + properties: + startIndex: + type: integer + description: The inclusive start index of the range. + endIndex: + type: integer + description: The exclusive end index of the range. + type: + type: string + enum: + - BOLD + - CITATION + - HIGHLIGHT + - LINK + url: + 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" + description: A document corresponding to the range, if applicable. For example, the cited document for a CITATION range. + SearchRequestInputDetails: + properties: + hasCopyPaste: + type: boolean + description: Whether the associated query was at least partially copy-pasted. If subsequent requests are issued after a copy-pasted query is constructed (e.g. with facet modifications), this bit should continue to be set for those requests. + example: + hasCopyPaste: true + QuerySuggestion: + required: + - query + properties: + missingTerm: + type: string + description: A query term missing from the original query on which this suggestion is based. + query: + type: string + description: The query being suggested (e.g. enforcing the missing term from the original query). + searchProviderInfo: + $ref: "#/components/schemas/SearchProviderInfo" + description: Information about the search provider that generated this suggestion. + label: + type: string + description: A user-facing description to display for the suggestion. + datasource: + type: string + description: The datasource associated with the suggestion. + resultTab: + $ref: "#/components/schemas/ResultTab" + description: The result tab associated with the suggestion. + requestOptions: + $ref: "#/components/schemas/SearchRequestOptions" + ranges: + type: array + items: + $ref: "#/components/schemas/TextRange" + description: The bolded ranges within the query of the QuerySuggestion. + inputDetails: + $ref: "#/components/schemas/SearchRequestInputDetails" + example: + query: app:github type:pull author:mortimer + label: Mortimer's PRs + datasource: github + Person: + required: + - name + - obfuscatedId + properties: + name: + type: string + description: The display name. + obfuscatedId: + type: string + description: An opaque identifier that can be used to request metadata for a Person. + relatedDocuments: + type: array + items: + $ref: "#/components/schemas/RelatedDocuments" + description: A list of documents related to this person. + metadata: + $ref: "#/components/schemas/PersonMetadata" + example: + name: George Clooney + obfuscatedId: abc123 + Company: + required: + - name + properties: + name: + type: string + description: User-friendly display name. + profileUrl: + type: string + description: Link to internal company company profile. + websiteUrls: + type: array + description: Link to company's associated websites. + items: + type: string + 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). + location: + type: string + description: User facing string representing the company's location. + example: New York City + phone: + type: string + description: Phone number as a number string. + fax: + type: string + description: Fax number as a number string. + industry: + type: string + description: User facing string representing the company's industry. + example: Finances + annualRevenue: + type: number + format: double + description: Average company's annual revenue for reference. + numberOfEmployees: + type: integer + format: int64 + description: Average company's number of employees for reference. + stockSymbol: + type: string + description: Company's stock symbol if company is public. + foundedDate: + type: string + format: date + description: The date when the company was founded. + about: + type: string + description: User facing description of company. + example: Financial, software, data, and media company headquartered in Midtown Manhattan, New York City + DocumentCounts: + type: object + description: A map of {string, int} pairs representing counts of each document type associated with this customer. + additionalProperties: + type: integer + CustomDataValue: + properties: + displayLabel: + type: string + stringValue: + type: string + stringListValue: + type: array + description: list of strings for multi-value properties + items: + type: string + numberValue: + type: number + booleanValue: + type: boolean + CustomData: + type: object + description: Custom fields specific to individual datasources + additionalProperties: + $ref: "#/components/schemas/CustomDataValue" + CustomerMetadata: + properties: + datasourceId: + type: string + description: The user visible id of the salesforce customer account. + 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 + company: + $ref: "#/components/schemas/Company" + documentCounts: + $ref: "#/components/schemas/DocumentCounts" + poc: + type: array + description: A list of POC for company. + items: + $ref: "#/components/schemas/Person" + metadata: + $ref: "#/components/schemas/CustomerMetadata" + mergedCustomers: + type: array + description: A list of Customers. + items: + $ref: "#/components/schemas/Customer" + startDate: + type: string + format: date + description: The date when the interaction with customer started. + contractAnnualRevenue: + type: number + format: double + description: Average contract annual revenue with that customer. + notes: + type: string + description: User facing (potentially generated) notes about company. + example: CIO is interested in trying out the product. + RelatedObject: + required: + - id + 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. + RelatedObjectEdge: + properties: + objects: + type: array + items: + $ref: "#/components/schemas/RelatedObject" + RelatedObjects: + properties: + relatedObjects: + type: object + description: A list of objects related to a source object. + additionalProperties: + $ref: "#/components/schemas/RelatedObjectEdge" + ScopeType: + type: string + description: Describes the scope for a ReadPermission, WritePermission, or GrantPermission object + enum: + - GLOBAL + - OWN + WritePermission: + description: Describes the write permissions levels that a user has for a specific feature + properties: + scopeType: + $ref: "#/components/schemas/ScopeType" + create: + type: boolean + description: True if user has create permission for this feature and scope + update: + type: boolean + description: True if user has update permission for this feature and scope + delete: + type: boolean + description: True if user has delete permission for this feature and scope + ObjectPermissions: + properties: + write: + $ref: "#/components/schemas/WritePermission" + PermissionedObject: + properties: + permissions: + $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" + 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 + customRelationshipStr: + type: string + description: Displayed name for the relationship if relationship is set to `OTHER`. + joinDate: + type: string + format: date-time + description: The team member's start date + TeamEmail: + type: object + description: Information about a team's email + properties: + email: + type: string + format: email + description: An email address + type: + type: string + description: An enum of `PRIMARY`, `SECONDARY`, `ONCALL`, `OTHER` + default: OTHER + required: + - email + - type + CustomFieldValueStr: + properties: + strText: + type: string + description: Text field for string value. + CustomFieldValueHyperlink: + properties: + urlAnchor: + type: string + description: Anchor text for hyperlink. + urlLink: + type: string + description: Link for this URL. + CustomFieldValuePerson: + properties: + person: + $ref: "#/components/schemas/Person" + CustomFieldValue: + oneOf: + - $ref: "#/components/schemas/CustomFieldValueStr" + - $ref: "#/components/schemas/CustomFieldValueHyperlink" + - $ref: "#/components/schemas/CustomFieldValuePerson" + CustomFieldData: + required: + - label + - values + - displayable + properties: + label: + type: string + description: A user-facing label for this field. + values: + type: array + items: + $ref: "#/components/schemas/CustomFieldValue" + displayable: + type: boolean + description: Determines whether the client should display this custom field + default: true + DatasourceProfile: + required: + - datasource + - handle + properties: + datasource: + type: string + example: github + description: The datasource the profile is of. + handle: + type: string + description: The display name of the entity in the given datasource. + url: + type: string + description: URL to view the entity's profile. + nativeAppUrl: + type: string + description: A deep link, if available, into the datasource's native application for the entity's platform (i.e. slack://...). + 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) + Team: + allOf: + - $ref: "#/components/schemas/RelatedObjects" + - $ref: "#/components/schemas/PermissionedObject" + - type: object + required: + - id + - name + properties: + id: + type: string + description: Unique identifier + name: + type: string + description: Team name + description: + type: string + description: A description of the team + businessUnit: + type: string + description: Typically the highest level organizational unit; generally applies to bigger companies with multiple distinct businesses. + department: + type: string + description: An organizational unit where everyone has a similar task, e.g. `Engineering`. + photoUrl: + type: string + format: url + description: A link to the team's photo. + bannerUrl: + type: string + format: url + description: A link to the team's banner photo. + externalLink: + type: string + format: uri + 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" + 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" + customFields: + type: array + description: Customizable fields for additional team information. + items: + $ref: "#/components/schemas/CustomFieldData" + datasourceProfiles: + type: array + description: The datasource profiles of the team + items: + $ref: "#/components/schemas/DatasourceProfile" + datasource: + type: string + description: the data source of the team, e.g. GDRIVE + createdFrom: + type: string + description: For teams created from docs, the doc title. Otherwise empty. + lastUpdatedAt: + type: string + format: date-time + 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 + canBeDeleted: + type: boolean + description: can this team be deleted. Some manually ingested teams like GCS_CSV or PUSH_API cannot + default: true + loggingId: + type: string + description: The logging id of the team used in scrubbed logs, client analytics, and metrics. + CustomEntityMetadata: + properties: + customData: + $ref: "#/components/schemas/CustomData" + GroupType: + type: string + description: The type of user group + enum: + - DEPARTMENT + - ALL + - TEAM + - JOB_TITLE + - ROLE_TYPE + - LOCATION + - REGION + - EXTERNAL_GROUP + Group: + required: + - type + - id + properties: + type: + $ref: "#/components/schemas/GroupType" + id: + type: string + description: A unique identifier for the group. May be the same as name. + name: + type: string + description: Name of the group. + datasourceInstance: + type: string + description: Datasource instance if the group belongs to one e.g. external groups. + provisioningId: + type: string + description: identifier for greenlist provisioning, aka sciokey + UserRole: + type: string + description: A user's role with respect to a specific document. + enum: + - OWNER + - VIEWER + - ANSWER_MODERATOR + - EDITOR + - VERIFIER + UserRoleSpecification: + required: + - role + properties: + sourceDocumentSpec: + $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" + group: + $ref: "#/components/schemas/Group" + role: + $ref: "#/components/schemas/UserRole" + CustomEntity: + allOf: + - $ref: "#/components/schemas/PermissionedObject" + - type: object + properties: + id: + type: string + description: Unique identifier. + title: + type: string + description: Title or name of the custom entity. + datasource: + type: string + description: The datasource the custom entity is from. + objectType: + type: string + description: The type of the entity. Interpretation is specific to each datasource + metadata: + $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" + AnswerId: + properties: + id: + type: integer + description: The opaque ID of the Answer. + example: 3 + AnswerDocId: + properties: + docId: + type: string + description: Glean Document ID of the Answer. The Glean Document ID is supported for cases where the Answer ID isn't available. If both are available, using the Answer ID is preferred. + example: ANSWERS_answer_3 + AnswerMutableProperties: + properties: + question: + type: string + example: Why is the sky blue? + questionVariations: + type: array + description: Additional ways of phrasing this question. + items: + type: string + bodyText: + type: string + description: The plain text answer to the question. + 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. + boardId: + type: integer + description: The parent board ID of this Answer, or 0 if it's a floating Answer. Adding Answers to Answer Boards is no longer permitted. + deprecated: true + x-glean-deprecated: + id: 3729bc64-8859-4159-b93c-ce2d5f0e7304 + introduced: "2026-02-05" + message: Answer Boards no longer supported + removal: "2026-10-15" + 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" + addedRoles: + type: array + description: A list of user roles for the answer added by the owner. + items: + $ref: "#/components/schemas/UserRoleSpecification" + removedRoles: + type: array + description: A list of user roles for the answer removed by the owner. + items: + $ref: "#/components/schemas/UserRoleSpecification" + roles: + type: array + description: A list of roles for this answer explicitly granted by an owner, editor, or admin. + items: + $ref: "#/components/schemas/UserRoleSpecification" + sourceDocumentSpec: + $ref: "#/components/schemas/DocumentSpec" + sourceType: + type: string + enum: + - DOCUMENT + - ASSISTANT + UgcTrackingSignals: + type: object + properties: + trackingToken: + type: string + description: An opaque token that represents this particular UGC. To be used for `/feedback` reporting. + StructuredText: + allOf: + - $ref: "#/components/schemas/StructuredTextMutableProperties" + - type: object + properties: + structuredList: + type: array + items: + $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" + 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" + 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 + properties: + assignee: + $ref: "#/components/schemas/Person" + requestor: + $ref: "#/components/schemas/Person" + remindAt: + type: integer + description: Unix timestamp for when the reminder should trigger (in seconds since epoch UTC). + createdAt: + type: integer + description: Unix timestamp for when the reminder was first created (in seconds since epoch UTC). + 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"). + TimePoint: + properties: + epochSeconds: + type: integer + description: Epoch seconds. Has precedence over daysFromNow. + daysFromNow: + type: integer + description: Number of days in the past, relative to the current date. + Period: + properties: + minDaysFromNow: + type: integer + description: DEPRECATED - The number of days from now in the past to define upper boundary of time period. + deprecated: true + maxDaysFromNow: + type: integer + 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" + end: + $ref: "#/components/schemas/TimePoint" + CountInfo: + required: + - count + properties: + count: + type: integer + description: The counter value + 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 + properties: + lastVerifier: + $ref: "#/components/schemas/Person" + lastVerificationTs: + type: integer + description: The unix timestamp of the verification (in seconds since epoch UTC). + expirationTs: + type: integer + description: The unix timestamp of the verification expiration if applicable (in seconds since epoch UTC). + document: + $ref: "#/components/schemas/Document" + reminders: + type: array + items: + $ref: "#/components/schemas/Reminder" + description: Info about all outstanding verification reminders for the document if exists. + lastReminder: + $ref: "#/components/schemas/Reminder" + visitorCount: + type: array + items: + $ref: "#/components/schemas/CountInfo" + description: Number of visitors to the document during included time periods. + candidateVerifiers: + type: array + items: + $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 + properties: + state: + type: string + enum: + - UNVERIFIED + - VERIFIED + - DEPRECATED + description: The verification state for the document. + metadata: + $ref: "#/components/schemas/VerificationMetadata" + CollectionBaseMutableProperties: + required: + - name + properties: + name: + type: string + description: The unique name of the Collection. + description: + type: string + 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" + removedRoles: + type: array + description: A list of removed user roles for the Collection. + items: + $ref: "#/components/schemas/UserRoleSpecification" + audienceFilters: + type: array + items: + $ref: "#/components/schemas/FacetFilter" + description: Filters which restrict who should see this Collection. Values are taken from the corresponding filters in people search. + Thumbnail: + properties: + photoId: + type: string + description: Photo id if the thumbnail is from splash. + url: + type: string + description: Thumbnail URL. This can be user provided image and/or from downloaded images hosted by Glean. + CollectionMutableProperties: + allOf: + - $ref: "#/components/schemas/CollectionBaseMutableProperties" + - type: object + required: + - name + properties: + icon: + type: string + description: The emoji icon of this Collection. + adminLocked: + type: boolean + description: Indicates whether edits are allowed for everyone or only admins. + parentId: + type: integer + description: The parent of this Collection, or 0 if it's a top-level Collection. + thumbnail: + $ref: "#/components/schemas/Thumbnail" + allowedDatasource: + type: string + description: The datasource type this Collection can hold. + CollectionItemMutableProperties: + properties: + name: + type: string + description: The optional name of the Collection item. + description: + type: string + description: A helpful description of why this CollectionItem is in the Collection that it's in. + icon: + type: string + description: The emoji icon for this CollectionItem. Only used for Text type items. + UserGeneratedContentId: + properties: + id: + type: integer + description: The opaque id of the user generated content. + ShortcutMutableProperties: + properties: + inputAlias: + type: string + description: Link text following go/ prefix as entered by the user. + destinationUrl: + type: string + description: Destination URL for the shortcut. + destinationDocumentId: + type: string + description: Glean Document ID for the URL, if known. + description: + type: string + description: A short, plain text blurb to help people understand the intent of the shortcut. + unlisted: + type: boolean + description: Whether this shortcut is unlisted or not. Unlisted shortcuts are visible to author + admins only. + urlTemplate: + type: string + 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" + removedRoles: + type: array + description: A list of user roles removed for the Shortcut. + items: + $ref: "#/components/schemas/UserRoleSpecification" + ShortcutMetadata: + properties: + createdBy: + $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" + updateTime: + type: string + format: date-time + description: The time the shortcut was updated in ISO format (ISO 8601). + destinationDocument: + $ref: "#/components/schemas/Document" + description: Document that corresponds to the destination URL, if applicable. + intermediateUrl: + type: string + description: The URL from which the user is then redirected to the destination URL. Full replacement for https://go/. + viewPrefix: + type: string + description: The part of the shortcut preceding the input alias when used for showing shortcuts to users. Should end with "/". e.g. "go/" for native shortcuts. + isExternal: + type: boolean + description: Indicates whether a shortcut is native or external. + editUrl: + type: string + 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" + - type: object + required: + - inputAlias + properties: + alias: + type: string + description: canonical link text following go/ prefix where hyphen/underscore is removed. + title: + type: string + description: Title for the Go Link + roles: + type: array + description: A list of user roles for the Go Link. + items: + $ref: "#/components/schemas/UserRoleSpecification" + Collection: + allOf: + - $ref: "#/components/schemas/CollectionMutableProperties" + - $ref: "#/components/schemas/PermissionedObject" + - $ref: "#/components/schemas/UgcTrackingSignals" + - type: object + required: + - id + - description + properties: + id: + type: integer + description: The unique ID of the Collection. + createTime: + type: string + format: date-time + updateTime: + type: string + format: date-time + creator: + $ref: "#/components/schemas/Person" + updatedBy: + $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. + childCount: + type: integer + description: The number of children Collections. Separated from the actual children so we can grab the count without children. + items: + type: array + items: + $ref: "#/components/schemas/CollectionItem" + description: The items in this Collection. + pinMetadata: + $ref: "#/components/schemas/CollectionPinnedMetadata" + description: Metadata having what categories this Collection is pinned to and the eligible categories to pin to + shortcuts: + type: array + items: + type: string + description: The names of the shortcuts (Go Links) that point to this Collection. + children: + type: array + items: + $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" + CollectionItem: + allOf: + - $ref: "#/components/schemas/CollectionItemMutableProperties" + - type: object + required: + - collectionId + - itemType + properties: + collectionId: + type: integer + description: The Collection ID of the Collection that this CollectionItem belongs in. + documentId: + type: string + description: If this CollectionItem is indexed, the Glean Document ID of that document. + url: + type: string + description: The URL of this CollectionItem. + itemId: + type: string + description: Unique identifier for the item within the Collection it belongs to. + createdBy: + $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" + description: The Document this CollectionItem corresponds to (omitted if item is a non-indexed URL). + 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" + description: The Collection this CollectionItem corresponds to (only included if item type is COLLECTION). + itemType: + type: string + enum: + - DOCUMENT + - TEXT + - URL + - COLLECTION + CollectionPinnableCategories: + type: string + description: Categories a Collection can be pinned to. + enum: + - COMPANY_RESOURCE + - DEPARTMENT_RESOURCE + - TEAM_RESOURCE + CollectionPinnableTargets: + type: string + description: What targets can a Collection be pinned to. + enum: + - RESOURCE_CARD + - TEAM_PROFILE_PAGE + CollectionPinTarget: + required: + - category + properties: + category: + $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: + required: + - id + - target + properties: + id: + type: integer + description: The ID of the Collection. + target: + $ref: "#/components/schemas/CollectionPinTarget" + CollectionPinnedMetadata: + properties: + existingPins: + type: array + items: + $ref: "#/components/schemas/CollectionPinTarget" + description: List of targets this Collection is pinned to. + eligiblePins: + type: array + items: + $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" + - type: object + required: + - id + properties: + combinedAnswerText: + $ref: "#/components/schemas/StructuredText" + likes: + $ref: "#/components/schemas/AnswerLikes" + author: + $ref: "#/components/schemas/Person" + createTime: + type: string + format: date-time + description: The time the answer was created in ISO format (ISO 8601). + updateTime: + type: string + format: date-time + description: The time the answer was last updated in ISO format (ISO 8601). + updatedBy: + $ref: "#/components/schemas/Person" + verification: + $ref: "#/components/schemas/Verification" + collections: + type: array + description: The collections to which the answer belongs. + items: + $ref: "#/components/schemas/Collection" + documentCategory: + type: string + description: The document's document_category(.proto). + sourceDocument: + $ref: "#/components/schemas/Document" + 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 + description: Unique identifier for this actionRun recommendation event. + actionInstanceId: + type: string + description: The ID of the action instance that will be invoked. + actionId: + type: string + description: The ID of the associated action. + parameters: + type: object + description: Map of assistant predicted parameters and their corresponding values. + additionalProperties: + type: string + recommendationText: + type: string + description: Text to be displayed to the user when recommending the action instance. + actionLabel: + type: string + description: The label to be used when displaying a button to execute this action instance. + userConfirmationRequired: + type: boolean + description: Whether user confirmation is needed before executing this action instance. + GeneratedQna: + properties: + question: + type: string + description: Search query rephrased into a question. + answer: + type: string + description: Answer generated for the given query or the generated question. + followUpPrompts: + type: array + items: + 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" + ranges: + type: array + items: + $ref: "#/components/schemas/TextRange" + description: Answer subsections to mark with special formatting (citations, bolding etc) + status: + type: string + enum: + - COMPUTING + - DISABLED + - FAILED + - NO_ANSWER + - SKIPPED + - STREAMING + - SUCCEEDED + - TIMEOUT + description: Status of backend generating the answer + cursor: + type: string + description: An opaque cursor representing the search request + trackingToken: + 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" + - type: object + properties: + document: + $ref: "#/components/schemas/Document" + title: + type: string + url: + type: string + nativeAppUrl: + type: string + description: A deep link, if available, into the datasource's native application for the user's platform (e.g. slack://...). + snippets: + type: array + items: + $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 + relatedResults: + type: array + items: + $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" + allClusteredResults: + type: array + description: A list of results that should be displayed as associated with this result. + items: + $ref: "#/components/schemas/ClusterGroup" + 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" + 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" + clusterType: + $ref: "#/components/schemas/ClusterTypeEnum" + mustIncludeSuggestions: + $ref: "#/components/schemas/QuerySuggestionList" + querySuggestion: + $ref: "#/components/schemas/QuerySuggestion" + prominence: + $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" + example: + snippets: + - snippet: snippet + mimeType: mimeType + metadata: + container: container + createTime: "2000-01-23T04:56:07.000Z" + datasource: datasource + author: + name: name + documentId: documentId + updateTime: "2000-01-23T04:56:07.000Z" + mimeType: mimeType + objectType: objectType + title: title + url: https://example.com/foo/bar + nativeAppUrl: slack://foo/bar + mustIncludeSuggestions: + - missingTerm: container + query: container + ExtractedQnA: + properties: + heading: + type: string + description: Heading text that was matched to produce this result. + question: + type: string + description: Question text that was matched to produce this result. + questionResult: + $ref: "#/components/schemas/SearchResult" + CalendarAttendee: + required: + - person + properties: + isOrganizer: + type: boolean + description: Whether or not this attendee is an organizer. + isInGroup: + 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" + groupAttendees: + type: array + description: If this attendee is a group, represents the list of individual attendees in the group. + items: + $ref: "#/components/schemas/CalendarAttendee" + responseStatus: + type: string + enum: + - ACCEPTED + - DECLINED + - NO_RESPONSE + - TENTATIVE + CalendarAttendees: + properties: + people: + type: array + items: + $ref: "#/components/schemas/CalendarAttendee" + description: Full details of some of the attendees of this event + isLimit: + type: boolean + description: Whether the total count of the people returned is at the retrieval limit. + total: + type: integer + description: Total number of attendees in this event. + numAccepted: + type: integer + description: Total number of attendees who have accepted this event. + numDeclined: + type: integer + description: Total number of attendees who have declined this event. + numNoResponse: + type: integer + description: Total number of attendees who have not responded to this event. + numTentative: + type: integer + description: Total number of attendees who have responded tentatively (i.e. responded maybe) to this event. + Meeting: + properties: + id: + type: string + title: + type: string + description: + type: string + url: + type: string + startTime: + type: string + format: date-time + endTime: + type: string + format: date-time + attendees: + $ref: "#/components/schemas/CalendarAttendees" + description: The attendee list, including their response status + isCancelled: + type: boolean + description: Whether the meeting has been cancelled + location: + type: string + description: The location/venue of the meeting + responseStatus: + type: string + description: The current user's response status (accepted, declined, tentativelyAccepted, none) + conferenceUri: + type: string + description: The meeting join link (Teams, Zoom, etc.) + conferenceProvider: + type: string + description: The conference provider (e.g., "Microsoft Teams", "Zoom") + AppResult: + required: + - datasource + properties: + datasource: + type: string + description: The app or other repository type this represents + 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). + mimeType: + type: string + description: Mimetype is used to differentiate between sub applications from a datasource (e.g. Sheets, Docs from Gdrive) + iconUrl: + type: string + description: If there is available icon URL. + CodeLine: + properties: + lineNumber: + type: integer + content: + type: string + ranges: + type: array + items: + $ref: "#/components/schemas/TextRange" + description: Index ranges depicting matched sections of the line + Code: + properties: + repoName: + type: string + fileName: + type: string + fileUrl: + type: string + lines: + type: array + items: + $ref: "#/components/schemas/CodeLine" + isLastMatch: + type: boolean + description: Last file match for a repo + example: + repoName: scio + fileName: README.md + matches: + - lineNumber: 1 + content: Welcome to the beginning + ranges: [] + - lineNumber: 2 + content: Second line of the file + ranges: [] + - lineNumber: 3 + content: hello world hello world + ranges: + - startindex: 0 + endIndex: 5 + - startIndex: 12 + endIndex: 17 + QuerySuggestionList: + properties: + suggestions: + type: array + items: + $ref: "#/components/schemas/QuerySuggestion" + person: + $ref: "#/components/schemas/Person" + IconConfig: + description: Defines how to render an icon + properties: + generatedBackgroundColorKey: + type: string + backgroundColor: + type: string + color: + type: string + key: + type: string + iconType: + enum: + - COLLECTION + - CUSTOM + - DATASOURCE + - DATASOURCE_INSTANCE + - FAVICON + - FILE_TYPE + - GENERATED_BACKGROUND + - GLYPH + - MIME_TYPE + - NO_ICON + - PERSON + - REACTIONS + - URL + masked: + type: boolean + description: Whether the icon should be masked based on current theme. + name: + type: string + description: The name of the icon if applicable, e.g. the glyph name for `IconType.GLYPH` icons. + url: + type: string + description: The URL to an image to be displayed if applicable, e.g. the URL for `iconType.URL` icons. + 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 + description: The opaque id of the Chat. + createTime: + type: integer + description: Server Unix timestamp of the creation time (in seconds since epoch UTC). + createdBy: + $ref: "#/components/schemas/Person" + description: The user who created this Chat. + updateTime: + type: integer + description: Server Unix timestamp of the update time (in seconds since epoch UTC). + name: + type: string + description: The name of the Chat. + applicationId: + type: string + description: The ID of the AI App that this Chat is associated to. + applicationName: + type: string + description: The display name of the AI App that this Chat is associated to. + icon: + $ref: "#/components/schemas/IconConfig" + RelatedDocuments: + properties: + relation: + type: string + description: How this document relates to the including entity. + enum: + - ATTACHMENT + - CANONICAL + - CASE + - contact + - CONTACT + - CONVERSATION_MESSAGES + - EXPERT + - FROM + - HIGHLIGHT + - opportunity + - OPPORTUNITY + - RECENT + - SOURCE + - TICKET + - TRANSCRIPT + - WITH + x-enum-varnames: + - ATTACHMENT + - CANONICAL + - CASE + - CONTACT_LOWERCASE + - CONTACT + - CONVERSATION_MESSAGES + - EXPERT + - FROM + - HIGHLIGHT + - OPPORTUNITY_LOWERCASE + - OPPORTUNITY + - RECENT + - SOURCE + - TICKET + - TRANSCRIPT + - WITH + x-enumDescriptions: + CANONICAL: Canonical documents for the entity, such as overview docs, architecture docs elastic. + x-speakeasy-enum-descriptions: + CANONICAL: Canonical documents for the entity, such as overview docs, architecture docs elastic. + associatedEntityId: + 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" + documents: + type: array + items: + $ref: "#/components/schemas/Document" + description: A truncated list of documents with this relation. TO BE DEPRECATED. + deprecated: true + x-glean-deprecated: + id: 68de0429-b0cc-4b40-8061-f848788079a2 + introduced: "2026-02-05" + message: Field is deprecated + removal: "2026-10-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Field is deprecated" + results: + type: array + items: + $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: + question: + type: string + description: The text of the related question + answer: + type: string + description: The answer for the related question + ranges: + type: array + items: + $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 + Disambiguation: + type: object + description: A disambiguation between multiple entities with the same name + properties: + name: + type: string + description: Name of the ambiguous entity + id: + type: string + description: The unique id of the entity in the knowledge graph + type: + $ref: "#/components/schemas/EntityType" + SearchResultSnippet: + properties: + mimeType: + type: string + description: The mime type of the snippets, currently either text/plain or text/html. + text: + type: string + description: A matching snippet from the document with no highlights. + snippetTextOrdering: + type: integer + description: Used for sorting based off the snippet's location within all_snippetable_text + ranges: + type: array + items: + $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. + x-glean-deprecated: + id: e55ddf30-7c47-43a5-b775-d78f8b29411a + introduced: "2026-02-05" + message: Use 'text' field instead + removal: "2026-10-15" + x-includeEmpty: true + x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use 'text' field instead" + example: + 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" + person: + $ref: "#/components/schemas/Person" + customer: + $ref: "#/components/schemas/Customer" + team: + $ref: "#/components/schemas/Team" + customEntity: + $ref: "#/components/schemas/CustomEntity" + answer: + $ref: "#/components/schemas/Answer" + generatedQna: + $ref: "#/components/schemas/GeneratedQna" + extractedQnA: + $ref: "#/components/schemas/ExtractedQnA" + meeting: + $ref: "#/components/schemas/Meeting" + app: + $ref: "#/components/schemas/AppResult" + collection: + $ref: "#/components/schemas/Collection" + code: + $ref: "#/components/schemas/Code" + shortcut: + $ref: "#/components/schemas/Shortcut" + querySuggestions: + $ref: "#/components/schemas/QuerySuggestionList" + chat: + $ref: "#/components/schemas/ChatMetadata" + relatedDocuments: + type: array + items: + $ref: "#/components/schemas/RelatedDocuments" + description: A list of documents related to this structured result. + relatedQuestion: + $ref: "#/components/schemas/RelatedQuestion" + disambiguation: + $ref: "#/components/schemas/Disambiguation" + snippets: + description: Any snippets associated to the populated object. + type: array + items: + $ref: "#/components/schemas/SearchResultSnippet" + 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 + 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. + 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. + enum: + - HERO + - PROMOTED + - STANDARD + source: + type: string + description: Source context for this result. Possible values depend on the result type. + enum: + - EXPERT_DETECTION + - ENTITY_NLQ + - CALENDAR_EVENT + - AGENT + Result: + properties: + structuredResults: + type: array + description: An array of entities in the work graph retrieved via a data request. + items: + $ref: "#/components/schemas/StructuredResult" + 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 + - TITLE + - CONTENT + - NONE + - THREAD_REPLY + - THREAD_ROOT + - PREFIX + - SUFFIX + - AUTHOR_PREFIX + - AUTHOR_SUFFIX + 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" + clusterType: + $ref: "#/components/schemas/ClusterTypeEnum" + visibleCountHint: + type: integer + description: The default number of results to display before truncating and showing a "see more" link + SearchResultProminenceEnum: + type: string + 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. + 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. + enum: + - HERO + - PROMOTED + - STANDARD + PinDocumentMutableProperties: + properties: + queries: + type: array + description: The query strings for which the pinned result will show. + items: + type: string + 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" + PinDocument: + allOf: + - $ref: "#/components/schemas/PinDocumentMutableProperties" + - type: object + required: + - documentId + properties: + id: + type: string + description: The opaque id of the pin. + documentId: + type: string + 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" + attribution: + $ref: "#/components/schemas/Person" + updatedBy: + $ref: "#/components/schemas/Person" + createTime: + type: string + format: date-time + updateTime: + type: string + format: date-time + 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 + description: Unique identifier + name: + type: string + description: Team name + externalLink: + type: string + format: uri + 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 + joinDate: + type: string + format: date-time + description: The team member's start date + StructuredLocation: + type: object + description: Detailed location with information about country, state, city etc. + properties: + deskLocation: + type: string + description: Desk number. + timezone: + type: string + description: Location's timezone, e.g. UTC, PST. + address: + type: string + description: Office address or name. + city: + type: string + description: Name of the city. + state: + type: string + description: State code. + region: + type: string + description: Region information, e.g. NORAM, APAC. + zipCode: + type: string + description: ZIP Code for the address. + country: + type: string + description: Country name. + countryCode: + type: string + description: Alpha-2 or Alpha-3 ISO 3166 country code, e.g. US or USA. + SocialNetwork: + required: + - name + - profileUrl + properties: + name: + type: string + description: Possible values are "twitter", "linkedin". + profileName: + type: string + description: Human-readable profile name. + profileUrl: + type: string + format: url + description: Link to profile. + PersonDistance: + required: + - name + - obfuscatedId + - distance + properties: + name: + type: string + description: The display name. + obfuscatedId: + type: string + description: An opaque identifier that can be used to request metadata for a Person. + distance: + type: number + format: float + description: Distance to person, refer to PeopleDistance pipeline on interpretation of the value. + 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: + 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 + inviter: + description: The person that invited this person. + $ref: "#/components/schemas/Person" + inviteTime: + type: string + format: date-time + description: The time this person was invited in ISO format (ISO 8601). + reminderTime: + type: string + format: date-time + description: The time this person was reminded in ISO format (ISO 8601) if a reminder was sent. + InviteInfo: + description: Information regarding the invite status of a person. + properties: + signUpTime: + type: string + format: date-time + description: The time this person signed up in ISO format (ISO 8601). + invites: + type: array + items: + $ref: "#/components/schemas/ChannelInviteInfo" + description: Latest invites received by the user for each channel + inviter: + deprecated: true + description: The person that invited this person. + $ref: "#/components/schemas/Person" + x-glean-deprecated: + id: 1d3cd23f-9085-4378-b466-9bdc2e344a71 + 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" + inviteTime: + deprecated: true + type: string + format: date-time + description: The time this person was invited in ISO format (ISO 8601). + x-glean-deprecated: + id: 2dc3f572-cded-483d-af07-fc9fc7fd0ae4 + 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" + 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. + 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" + ReadPermission: + description: Describes the read permission level that a user has for a specific feature + properties: + scopeType: + $ref: "#/components/schemas/ScopeType" + 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" + 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" + GrantPermission: + description: Describes the grant permission level that a user has for a specific feature + properties: + scopeType: + $ref: "#/components/schemas/ScopeType" + 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" + 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 + description: TODO--deprecate in favor of the read and write properties. True if the user has access to /adminsearch + canAdminClientApiGlobalTokens: + type: boolean + description: TODO--deprecate in favor of the read and write properties. True if the user can administrate client API tokens with global scope + canDlp: + 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" + write: + $ref: "#/components/schemas/WritePermissions" + grant: + $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 + TimeInterval: + required: + - start + - end + properties: + start: + type: string + description: The RFC3339 timestamp formatted start time of this event. + end: + type: string + description: The RFC3339 timestamp formatted end time of this event. + AnonymousEvent: + description: A generic, light-weight calendar event. + type: object + properties: + time: + $ref: "#/components/schemas/TimeInterval" + eventType: + description: The nature of the event, for example "out of office". + type: string + enum: + - DEFAULT + - OUT_OF_OFFICE + Badge: + type: object + description: Displays a user's accomplishment or milestone + properties: + key: + type: string + description: An auto generated unique identifier. + displayName: + type: string + description: The badge name displayed to users + iconConfig: + $ref: "#/components/schemas/IconConfig" + pinned: + type: boolean + description: The badge should be shown on the PersonAttribution + example: + key: deployment_name_new_hire + displayName: New hire + iconConfig: + color: "#343CED" + key: person_icon + iconType: GLYPH + name: user + PersonMetadata: + 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. + 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. + 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 + firstName: + type: string + description: The first name of the person + lastName: + type: string + description: The last name of the person + title: + type: string + description: Job title. + businessUnit: + type: string + description: Typically the highest level organizational unit; generally applies to bigger companies with multiple distinct businesses. + department: + 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" + departmentCount: + type: integer + description: The number of people in this person's department. + email: + type: string + 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 + location: + type: string + description: User facing string representing the person's location. + 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" + 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" + phone: + type: string + description: Phone number as a number string. + timezone: + type: string + description: The timezone of the person. E.g. "Pacific Daylight Time". + timezoneOffset: + type: integer + format: int64 + description: The offset of the person's timezone in seconds from UTC. + timezoneIANA: + type: string + description: The IANA timezone identifier, e.g. "America/Los_Angeles". + photoUrl: + type: string + format: url + description: The URL of the person's avatar. Public, glean-authenticated and Base64 encoded data URLs are all valid (but not third-party-authenticated URLs). + uneditedPhotoUrl: + type: string + format: url + description: The original photo URL of the person's avatar before any edits they made are applied + bannerUrl: + type: string + format: url + description: The URL of the person's banner photo. + reports: + type: array + items: + $ref: "#/components/schemas/Person" + startDate: + type: string + description: The date when the employee started. + format: date + endDate: + type: string + format: date + description: If a former employee, the last date of employment. + bio: + type: string + description: Short biography or mission statement of the employee. + pronoun: + type: string + description: She/her, He/his or other pronoun. + orgSizeCount: + type: integer + description: The total recursive size of the people reporting to this person, or 1 + directReportsCount: + type: integer + description: The total number of people who directly report to this person, or 0 + preferredName: + 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" + datasourceProfile: + type: array + description: List of profiles this user has in different datasources / tools that they use. + items: + $ref: "#/components/schemas/DatasourceProfile" + querySuggestions: + $ref: "#/components/schemas/QuerySuggestionList" + peopleDistance: + type: array + items: + $ref: "#/components/schemas/PersonDistance" + description: List of people and distances to those people from this person. Optionally with metadata. + inviteInfo: + $ref: "#/components/schemas/InviteInfo" + isSignedUp: + type: boolean + description: Whether the user has signed into Glean at least once. + lastExtensionUse: + type: string + format: date-time + description: The last time the user has used the Glean extension in ISO 8601 format. + permissions: + $ref: "#/components/schemas/Permissions" + customFields: + type: array + description: User customizable fields for additional people information. + items: + $ref: "#/components/schemas/CustomFieldData" + loggingId: + type: string + description: The logging id of the person used in scrubbed logs, tracking GA metrics. + startDatePercentile: + type: number + format: float + description: Percentage of the company that started strictly after this person. Between [0,100). + busyEvents: + type: array + items: + $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 + additionalProperties: + type: boolean + description: flag settings to indicate user profile settings for certain items + badges: + type: array + items: + $ref: "#/components/schemas/Badge" + description: The badges that a user has earned over their lifetime. + isOrgRoot: + type: boolean + description: Whether this person is a "root" node in their organization's hierarchy. + example: + department: Movies + email: george@example.com + location: Hollywood, CA + phone: 6505551234 + photoUrl: https://example.com/george.jpg + startDate: "2000-01-23" + title: Actor + DocumentVisibility: + type: string + 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. + SPECIFIC_PEOPLE_AND_GROUPS: Only specific people and/or groups can see the document. + DOMAIN_LINK: Anyone in the domain with the link can see the document. + 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. + 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. + DOMAIN_LINK: Anyone in the domain with the link can see the document. + 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 + Reaction: + properties: + type: + type: string + count: + type: integer + description: The count of the reaction type on the document. + reactors: + type: array + items: + $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" + sharingDocument: + $ref: "#/components/schemas/Document" + DocumentInteractions: + properties: + numComments: + type: integer + description: The count of comments (thread replies in the case of slack). + numReactions: + type: integer + 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 + x-glean-deprecated: + id: cd754845-6eec-480f-b395-c93478aff563 + introduced: "2026-02-05" + message: Use reacts instead + removal: "2026-10-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use reacts instead" + reacts: + type: array + items: + $ref: "#/components/schemas/Reaction" + shares: + type: array + items: + $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" + ViewerInfo: + properties: + role: + type: string + enum: + - ANSWER_MODERATOR + - OWNER + - VIEWER + description: DEPRECATED - use permissions instead. Viewer's role on the specific document. + deprecated: true + x-glean-deprecated: + - id: fbc55efe-3e6c-485c-8b60-bab574c3813b + introduced: "2026-02-05" + kind: property + message: Use permissions instead + removal: "2026-10-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use permissions instead" + lastViewedTime: + type: string + format: date-time + IndexStatus: + properties: + lastCrawledTime: + description: When the document was last crawled + type: string + format: date-time + lastIndexedTime: + description: When the document was last indexed + type: string + format: date-time + DocumentMetadata: + properties: + datasource: + type: string + datasourceInstance: + type: string + description: The datasource instance from which the document was extracted. + objectType: + type: string + description: The type of the result. Interpretation is specific to each datasource. (e.g. for Jira issues, this is the issue type such as Bug or Feature Request). + container: + type: string + description: The name of the container (higher level parent, not direct parent) of the result. Interpretation is specific to each datasource (e.g. Channels for Slack, Project for Jira). cf. parentId + containerId: + type: string + description: The Glean Document ID of the container. Uniquely identifies the container. + superContainerId: + type: string + description: The Glean Document ID of the super container. Super container represents a broader abstraction that contains many containers. For example, whereas container might refer to a folder, super container would refer to a drive. + parentId: + type: string + description: The id of the direct parent of the result. Interpretation is specific to each datasource (e.g. parent issue for Jira). cf. container + mimeType: + type: string + documentId: + type: string + description: The index-wide unique identifier. + loggingId: + type: string + description: A unique identifier used to represent the document in any logging or feedback requests in place of documentId. + documentIdHash: + type: string + description: Hash of the Glean Document ID. + createTime: + type: string + format: date-time + updateTime: + type: string + format: date-time + author: + $ref: "#/components/schemas/Person" + owner: + $ref: "#/components/schemas/Person" + mentionedPeople: + type: array + items: + $ref: "#/components/schemas/Person" + description: A list of people mentioned in the document. + visibility: + $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 + 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). + statusCategory: + type: string + 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" + priority: + type: string + description: The document priority. Interpretation is datasource specific. + assignedTo: + $ref: "#/components/schemas/Person" + updatedBy: + $ref: "#/components/schemas/Person" + labels: + type: array + description: A list of tags for the document. Interpretation is datasource specific. + items: + type: string + collections: + type: array + description: A list of collections that the document belongs to. + items: + $ref: "#/components/schemas/Collection" + 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" + verification: + $ref: "#/components/schemas/Verification" + viewerInfo: + $ref: "#/components/schemas/ViewerInfo" + permissions: + $ref: "#/components/schemas/ObjectPermissions" + visitCount: + $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" + path: + type: string + description: For file datasources like onedrive/github etc this has the path to the file + customData: + $ref: "#/components/schemas/CustomData" + documentCategory: + type: string + description: The document's document_category(.proto). + contactPerson: + $ref: "#/components/schemas/Person" + thumbnail: + $ref: "#/components/schemas/Thumbnail" + description: A thumbnail image representing this document. + 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" + example: + container: container + parentId: JIRA_EN-1337 + createTime: "2000-01-23T04:56:07.000Z" + datasource: datasource + author: + name: name + documentId: documentId + updateTime: "2000-01-23T04:56:07.000Z" + mimeType: mimeType + objectType: Feature Request + components: + - Backend + - Networking + status: + - Done + customData: + someCustomField: someCustomValue + DocumentSection: + type: object + properties: + title: + type: string + description: The title of the document section (e.g. the section header). + url: + type: string + description: The permalink of the document section. + StructuredTextItem: + properties: + link: + type: string + example: https://en.wikipedia.org/wiki/Diffuse_sky_radiation + document: + deprecated: true + description: Deprecated. To be gradually migrated to structuredResult. + $ref: "#/components/schemas/Document" + 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" + AnnouncementMutableProperties: + properties: + startTime: + type: string + format: date-time + description: The date and time at which the announcement becomes active. + endTime: + type: string + format: date-time + description: The date and time at which the announcement expires. + title: + type: string + description: The headline of the announcement. + body: + $ref: "#/components/schemas/StructuredText" + emoji: + type: string + description: An emoji used to indicate the nature of the announcement. + thumbnail: + $ref: "#/components/schemas/Thumbnail" + banner: + $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" + sourceDocumentId: + type: string + description: The Glean Document ID of the source document this Announcement was created from (e.g. Slack thread). + hideAttribution: + type: boolean + description: Whether or not to hide an author attribution. + channel: + type: string + enum: + - MAIN + - SOCIAL_FEED + description: This determines whether this is a Social Feed post or a regular announcement. + postType: + type: string + enum: + - TEXT + - LINK + description: This determines whether this is an external-link post or a regular announcement post. TEXT - Regular announcement that can contain rich text. LINK - Announcement that is linked to an external site. + isPrioritized: + type: boolean + description: Used by the Social Feed to pin posts to the front of the feed. + viewUrl: + type: string + 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" + - type: object + required: + - title + - startTime + - endTime + DraftProperties: + properties: + draftId: + type: integer + description: The opaque id of the associated draft. + example: + draftId: 342 + Announcement: + allOf: + - $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" + createTimestamp: + type: integer + description: Server Unix timestamp of the creation time (in seconds since epoch UTC). + lastUpdateTimestamp: + type: integer + description: Server Unix timestamp of the last update time (in seconds since epoch UTC). + updatedBy: + $ref: "#/components/schemas/Person" + viewerInfo: + type: object + properties: + isDismissed: + type: boolean + description: Whether the viewer has dismissed the announcement. + isRead: + type: boolean + description: Whether the viewer has read the announcement. + sourceDocument: + $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. + UpdateAnnouncementRequest: + allOf: + - $ref: "#/components/schemas/AnnouncementMutableProperties" + - type: object + required: + - id + - title + - startTime + - endTime + properties: + id: + type: integer + description: The opaque id of the announcement. + AddedCollections: + properties: + addedCollections: + type: array + items: + type: integer + description: IDs of Collections to which a document is added. + AnswerCreationData: + allOf: + - $ref: "#/components/schemas/AnswerMutableProperties" + - $ref: "#/components/schemas/AddedCollections" + - type: object + properties: + combinedAnswerText: + $ref: "#/components/schemas/StructuredTextMutableProperties" + CreateAnswerRequest: + required: + - data + properties: + data: + $ref: "#/components/schemas/AnswerCreationData" + DeleteAnswerRequest: + allOf: + - $ref: "#/components/schemas/AnswerId" + - $ref: "#/components/schemas/AnswerDocId" + - type: object + required: + - id + RemovedCollections: + properties: + removedCollections: + type: array + items: + type: integer + 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" + - type: object + required: + - id + properties: + combinedAnswerText: + $ref: "#/components/schemas/StructuredTextMutableProperties" + GetAnswerRequest: + allOf: + - $ref: "#/components/schemas/AnswerId" + - $ref: "#/components/schemas/AnswerDocId" + AnswerResult: + required: + - answer + properties: + answer: + $ref: "#/components/schemas/Answer" + trackingToken: + type: string + description: Use `answer.trackingToken` instead. + deprecated: true + x-glean-deprecated: + id: 62de643b-f182-4d4d-a2fc-5e2cbfee7320 + introduced: "2026-05-07" + 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." + GetAnswerError: + properties: + errorType: + type: string + enum: + - NO_PERMISSION + - INVALID_ID + answerAuthor: + $ref: "#/components/schemas/Person" + GetAnswerResponse: + properties: + answerResult: + $ref: "#/components/schemas/AnswerResult" + error: + $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" + description: List of answers with tracking tokens. + AuthStatus: type: string - requestBody: - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/UpdateDlpReportRequest' - required: true - responses: - "200": - description: OK - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/UpdateDlpReportResponse' - "403": - description: Permissions error - "500": - description: Internal error - x-speakeasy-group: client.governance.data.policies - x-speakeasy-name-override: update - /rest/api/v1/governance/data/policies: - get: - operationId: listpolicies - summary: Lists policies - description: Lists policies with filtering. - tags: - - Governance - security: - - APIToken: [] - parameters: - - name: autoHide - in: query - description: Filter to return reports with a given value of auto-hide. - required: false - schema: - type: boolean - - name: frequency - in: query - description: Filter to return reports with a given frequency. - required: false - schema: + description: The per-user authorization status for a datasource. + enum: + - DISABLED + - AWAITING_AUTH + - AUTHORIZED + - STALE_OAUTH + - SEG_MIGRATION + x-enum-varnames: + - AUTH_STATUS_DISABLED + - AUTH_STATUS_AWAITING_AUTH + - AUTH_STATUS_AUTHORIZED + - 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 + description: | + The instance identifier (e.g. "github", "github_enterprise_0", "slack_0"). Matches the instance names used in datasource configuration. + example: slack_0 + displayName: + type: string + description: Human-readable name of the datasource instance for display. + example: Slack + 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. + CheckDatasourceAuthResponse: + required: + - unauthorizedDatasourceInstances + properties: + unauthorizedDatasourceInstances: + type: array + description: | + Datasource instances that require per-user OAuth authorization. Empty when all datasources are authorized. + items: + $ref: "#/components/schemas/UnauthorizedDatasourceInstance" + CreateAuthTokenResponse: + required: + - token + - expirationTime + 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 + 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)." + enableCompanyTools: + type: boolean + description: "Whether the agent is allowed to search internal company resources (default: true)." + AgentConfig: + description: Describes the agent that executes the request. + properties: + agent: + type: string + 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 + GPT: Communicates directly with the LLM. This will soon be deprecated in favor of the FAST and ADVANCED `agent` values + UNIVERSAL: Uses both company and web knowledge. This will soon be deprecated in favor of the FAST and ADVANCED `agent` values + 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. + 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 + UNIVERSAL: Uses both company and web knowledge. This will soon be deprecated in favor of the FAST and ADVANCED `agent` values + 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 + toolSets: + $ref: "#/components/schemas/ToolSets" + mode: + type: string + description: Top level modes to run GleanChat in. + x-enumDescriptions: + DEFAULT: Used if no mode supplied. + QUICK: Deprecated. + x-speakeasy-enum-descriptions: + DEFAULT: Used if no mode supplied. + QUICK: Deprecated. + enum: + - DEFAULT + - QUICK + useImageGeneration: + type: boolean + description: Whether the agent should create an image. + ChatFileStatus: type: string - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/ListDlpReportsResponse' - "403": - description: Permissions error - "500": - description: Internal error - x-visibility: Public - x-speakeasy-group: client.governance.data.policies - x-speakeasy-name-override: list - post: - operationId: createpolicy - summary: Creates new policy - description: Creates a new policy with specified specifications and returns its id. - tags: - - Governance - security: - - APIToken: [] - requestBody: - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/CreateDlpReportRequest' - required: true - responses: - "200": - description: OK - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/CreateDlpReportResponse' - "403": - description: Permissions error - "500": - description: Internal error - x-visibility: Public - x-speakeasy-group: client.governance.data.policies - x-speakeasy-name-override: create - /rest/api/v1/governance/data/policies/{id}/download: - get: - operationId: downloadpolicycsv - summary: Downloads violations CSV for policy - description: Downloads CSV violations report for a specific policy id. This does not support continuous policies. - tags: - - Governance - security: - - APIToken: [] - parameters: - - name: id - in: path - description: The id of the policy to download violations for. - required: true - schema: + description: Current status of the file. + x-include-enum-class-prefix: true + enum: + - PROCESSING + - PROCESSED + - PARTIALLY_PROCESSED + - FAILED + - DELETED + ChatFileFailureReason: type: string - responses: - "200": - description: Downloads csv of batch policy violations. - content: - text/csv; charset=UTF-8: - schema: - type: string - description: CSV of all the violations found for this policy. - "400": - description: Bad request error (e.g., continuous policies are not supported). - "403": - description: Permissions error - "500": - description: Internal error - x-visibility: Public - x-speakeasy-group: client.governance.data.policies - x-speakeasy-name-override: download - /rest/api/v1/governance/data/reports: - post: - operationId: createreport - summary: Creates new one-time report - description: Creates a new one-time report and executes its batch job. - tags: - - Governance - security: - - APIToken: [] - requestBody: - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/UpdateDlpConfigRequest' - required: true - responses: - "200": - description: OK - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/UpdateDlpConfigResponse' - "403": - description: Permissions error - "500": - description: Internal error - x-visibility: Public - x-speakeasy-group: client.governance.data.reports - x-speakeasy-name-override: create - /rest/api/v1/governance/data/reports/{id}/download: - get: - operationId: downloadreportcsv - summary: Downloads violations CSV for report - description: Downloads CSV violations report for a specific report id. - tags: - - Governance - security: - - APIToken: [] - parameters: - - name: id - in: path - description: The id of the report to download violations for. - required: true - schema: + description: Reason for failed status. + x-include-enum-class-prefix: true + enum: + - PARSE_FAILED + - AV_SCAN_FAILED + - FILE_TOO_SMALL + - FILE_TOO_LARGE + - FILE_EXTENSION_UNSUPPORTED + - FILE_METADATA_VALIDATION_FAIL + - FILE_PROCESSING_TIMED_OUT + - OAUTH_NEEDED + - URL_FETCH_FAILED + - EMPTY_CONTENT + - AUTH_REQUIRED + ChatFileMetadata: + type: object + description: Metadata of a file uploaded by a user for Chat. + properties: + status: + $ref: "#/components/schemas/ChatFileStatus" + uploadTime: + type: integer + format: int64 + description: Upload time, in epoch seconds. + processedSize: + type: integer + format: int64 + description: Size of the processed file in bytes. + failureReason: + $ref: "#/components/schemas/ChatFileFailureReason" + mimeType: + description: MIME type of the file. + type: string + ChatFile: + type: object + description: Structure for file uploaded by a user for Chat. + properties: + id: + type: string + description: Unique identifier of the file. + example: FILE_1234 + url: + type: string + description: Url of the file. + example: www.google.com + name: + type: string + description: Name of the uploaded file. + example: sample.pdf + metadata: + $ref: "#/components/schemas/ChatFileMetadata" + 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" + snippets: + type: array + items: + $ref: "#/components/schemas/SearchResultSnippet" + 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" + sourceFile: + $ref: "#/components/schemas/ChatFile" + sourcePerson: + $ref: "#/components/schemas/Person" + sourceCustomEntity: + $ref: "#/components/schemas/CustomEntity" + referenceRanges: + description: Each reference range and its corresponding snippets + type: array + items: + $ref: "#/components/schemas/ReferenceRange" + displayName: + description: Human understandable name of the tool. Max 50 characters. type: string - responses: - "200": - description: Downloads csv of one-time report violations. - content: - text/csv; charset=UTF-8: - schema: - type: string - description: CSV of all the violations found for this report. - "403": - description: Permissions error - "500": - description: Internal error - x-visibility: Public - x-speakeasy-group: client.governance.data.reports - x-speakeasy-name-override: download - /rest/api/v1/governance/data/reports/{id}/status: - get: - operationId: getreportstatus - summary: Fetches report run status - description: Fetches the status of the run corresponding to the report-id. - tags: - - Governance - security: - - APIToken: [] - parameters: - - name: id - in: path - description: The id of the report to get run status for. - required: true - schema: + logoUrl: type: string - responses: - "200": - description: Fetches status of report run. - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/ReportStatusResponse' - "403": - description: Permissions error - "500": - description: Internal error - x-visibility: Public - x-speakeasy-group: client.governance.data.reports - x-speakeasy-name-override: status - /rest/api/v1/governance/documents/visibilityoverrides: - get: - operationId: getdocvisibility - summary: Fetches documents visibility - description: Fetches the visibility override status of the documents passed. - tags: - - Governance - security: - - APIToken: [] - parameters: - - name: docIds - in: query - description: List of doc-ids which will have their hide status fetched. - schema: - type: array - items: - type: string - responses: - "200": - description: The visibility status of documents - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/GetDocumentVisibilityOverridesResponse' - "403": - description: Permissions error - "500": - description: Internal error - x-visibility: Public - x-speakeasy-group: client.governance.documents.visibilityoverrides - x-speakeasy-name-override: list - post: - operationId: setdocvisibility - summary: Hide or unhide docs - description: Sets the visibility-override state of the documents specified, effectively hiding or un-hiding documents. - tags: - - Governance - security: - - APIToken: [] - requestBody: - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/UpdateDocumentVisibilityOverridesRequest' - required: true - responses: - "200": - description: OK - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/UpdateDocumentVisibilityOverridesResponse' - "403": - description: Permissions error - "500": - description: Internal error - x-visibility: Public - x-speakeasy-group: client.governance.documents.visibilityoverrides - x-speakeasy-name-override: create - /rest/api/v1/governance/data/findings/exports: - post: - operationId: createfindingsexport - summary: Creates findings export - description: Creates a new DLP findings export job. - tags: - - Governance - security: - - APIToken: [] - requestBody: - content: - application/json; charset=UTF-8: - schema: - $ref: '#/components/schemas/DlpExportFindingsRequest' - required: true - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/ExportInfo' - "403": - description: Permissions error - "500": - description: Internal error - x-visibility: Public - get: - operationId: listfindingsexports - summary: Lists findings exports - description: Lists all DLP findings exports. - tags: - - Governance - security: - - APIToken: [] - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/ListDlpFindingsExportsResponse' - "403": - description: Permissions error - "500": - description: Internal error - x-visibility: Public - /rest/api/v1/governance/data/findings/exports/{id}: - get: - operationId: downloadfindingsexport - summary: Downloads findings export - description: Downloads a DLP findings export as a CSV file. - tags: - - Governance - security: - - APIToken: [] - parameters: - - name: id - in: path - description: The ID of the export to download. - required: true - schema: + description: URL used to fetch the logo. + objectName: type: string - responses: - "200": - description: Downloads CSV of exported findings. - content: - text/csv; charset=UTF-8: - schema: - type: string - description: CSV of all the exported findings. - "403": - description: Permissions error - "500": - description: Internal error - x-visibility: Public - delete: - operationId: deletefindingsexport - summary: Deletes findings export - description: Deletes a DLP findings export. - tags: - - Governance - security: - - APIToken: [] - parameters: - - name: id - in: path - description: The ID of the export to delete. - required: true - schema: - type: integer - format: int64 - responses: - "200": - description: OK - "403": - description: Permissions error - "500": - description: Internal error - x-visibility: Public - /rest/api/v1/configure/datasources/{datasourceId}/instances/{instanceId}: - get: - operationId: getDatasourceInstanceConfiguration - summary: Get datasource instance configuration - description: | - Gets the greenlisted configuration values for a datasource instance. Returns only configuration keys that are exposed via the public API greenlist. - tags: - - Datasources - security: - - APIToken: [] - parameters: - - $ref: '#/components/parameters/datasourceId' - - $ref: '#/components/parameters/instanceId' - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/DatasourceConfigurationResponse' - "400": - description: Invalid request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - "401": - description: Not authorized - "403": - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - "404": - description: Datasource instance not found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - x-visibility: Preview - patch: - operationId: updateDatasourceInstanceConfiguration - summary: Update datasource instance configuration - description: | - 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. - tags: - - Datasources - security: - - APIToken: [] - parameters: - - $ref: '#/components/parameters/datasourceId' - - $ref: '#/components/parameters/instanceId' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/UpdateDatasourceConfigurationRequest' - required: true - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/DatasourceConfigurationResponse' - "400": - description: Invalid request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - "401": - description: Not authorized - "403": - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - "404": - description: Datasource instance not found - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - x-visibility: Preview - /rest/api/v1/chat#stream: - post: - tags: - - Chat - summary: Chat - description: Have a conversation with Glean AI. - operationId: chatStream - x-visibility: Public - x-codegen-request-body-name: payload - parameters: - - $ref: '#/components/parameters/timezoneOffset' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ChatRequest' - examples: - defaultExample: + description: Name of the generated object. This will be used to indicate to the end user what the generated object contains. + example: + - HR ticket + - Email + - Chat message + PersonObject: + required: + - name + - obfuscatedId + properties: + name: + type: string + description: The display name. + obfuscatedId: + type: string + description: An opaque identifier that can be used to request metadata for a Person. + AuthConfig: + description: Config for tool's authentication method. + type: object + properties: + isOnPrem: + type: boolean + description: Whether or not this tool is hosted on-premise. + usesCentralAuth: + type: boolean + description: Whether or not this uses central auth. + type: + type: string + enum: + - NONE + - OAUTH_USER + - OAUTH_ADMIN + - API_KEY + - BASIC_AUTH + - DWD + description: | + The type of authentication being used. + Use 'OAUTH_*' when Glean calls an external API (e.g., Jira) on behalf of a user to obtain an OAuth token. + 'OAUTH_ADMIN' utilizes an admin token for external API calls on behalf all users. + 'OAUTH_USER' uses individual user tokens for external API calls. + 'DWD' refers to domain wide delegation. + grantType: + type: string + enum: + - AUTH_CODE + - CLIENT_CREDENTIALS + description: The type of grant type being used. + status: + type: string + description: Auth status of the tool. + enum: + - AWAITING_AUTH + - AUTHORIZED + - AUTH_DISABLED + client_url: + type: string + format: url + description: The URL where users will be directed to start the OAuth flow. + scopes: + type: array + items: + type: string + description: A list of strings denoting the different scopes or access levels required by the tool. + audiences: + type: array + items: + type: string + description: A list of strings denoting the different audience which can access the tool. + authorization_url: + type: string + format: url + description: The OAuth provider's endpoint, where access tokens are requested. + resource: + type: string + format: url + description: 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. + token_endpoint_auth_method: + type: string + enum: + - client_secret_post + - client_secret_basic + - none + description: 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). + lastAuthorizedAt: + type: string + format: date-time + description: The time the tool was last authorized in ISO format (ISO 8601). + 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 + name: + description: Unique identifier for the tool. Name should be understandable by the LLM, and will be used to invoke a tool. + type: string + 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 + logoUrl: + $ref: "#/components/schemas/logoUrl" + 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 + createdBy: + $ref: "#/components/schemas/PersonObject" + lastUpdatedBy: + $ref: "#/components/schemas/PersonObject" + createdAt: + type: string + format: date-time + description: The time the tool was created in ISO format (ISO 8601) + lastUpdatedAt: + type: string + format: date-time + 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 + authType: + type: string + enum: + - NONE + - OAUTH_USER + - OAUTH_ADMIN + - API_KEY + - BASIC_AUTH + - DWD + description: | + The type of authentication being used. + Use 'OAUTH_*' when Glean calls an external API (e.g., Jira) on behalf of a user to obtain an OAuth token. + 'OAUTH_ADMIN' utilizes an admin token for external API calls on behalf all users. + 'OAUTH_USER' uses individual user tokens for external API calls. + 'DWD' refers to domain wide delegation. + auth: + deprecated: true + $ref: "#/components/schemas/AuthConfig" + permissions: + deprecated: true + $ref: "#/components/schemas/ObjectPermissions" + usageInstructions: + description: Usage instructions for the LLM to use this action. + type: string + isSetupFinished: + type: boolean + description: Whether this action has been fully configured and validated. + PossibleValue: + type: object + description: Possible value of a specific parameter + properties: value: - messages: - - author: USER - messageType: CONTENT - fragments: - - text: What are the company holidays this year? - gptAgentExample: + type: string + description: Possible value + label: + type: string + description: User-friendly label associated with the value + WriteActionParameter: + type: object + properties: + type: + type: string + description: The type of the value (e.g., integer, string, boolean, etc.) + enum: + - UNKNOWN + - INTEGER + - STRING + - BOOLEAN + displayName: + type: string + description: Human readable display name for the key. value: - agentConfig: - agent: GPT - messages: - - author: USER - 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: - '200': - description: OK - content: - text/plain: - schema: - $ref: '#/components/schemas/ChatRequestStream' - examples: - defaultExample: - value: - messages: - - author: GLEAN_AI - messageType: CONTENT - hasMoreFragments: false - agentConfig: - agent: DEFAULT - mode: DEFAULT - fragments: - - text: There are no holidays! - streamingExample: - value: - messages: - - author: GLEAN_AI - messageType: CONTENT - agentConfig: - agent: DEFAULT - mode: DEFAULT - hasMoreFragments: true - fragments: null - - author: GLEAN_AI - messageType: CONTENT - agentConfig: - agent: DEFAULT - mode: DEFAULT - hasMoreFragments: true - fragments: null - - author: GLEAN_AI - messageType: CONTENT - agentConfig: - agent: DEFAULT - mode: DEFAULT - hasMoreFragments: true - fragments: - - text: e are - - author: GLEAN_AI - messageType: CONTENT - agentConfig: - agent: DEFAULT - mode: DEFAULT - hasMoreFragments: true - fragments: - - text: no hol - - author: GLEAN_AI - messageType: CONTENT - agentConfig: - agent: DEFAULT - mode: DEFAULT - hasMoreFragments: false - fragments: - - text: idays! - updateResponse: - value: - messages: - - author: GLEAN_AI - messageType: UPDATE - agentConfig: - agent: DEFAULT - mode: DEFAULT - fragments: - - text: '**Reading:**' - - structuredResults: - - document: - id: '123' - title: Company Handbook - citationResponse: - value: - messages: - - author: GLEAN_AI - messageType: CONTENT - agentConfig: - agent: DEFAULT - mode: DEFAULT - citations: - - sourceDocument: - id: '123' - title: Company Handbook - referenceRanges: - - textRange: - startIndex: 0 - endIndex: 12 - type: CITATION - '400': - description: Invalid request - '401': - description: Not Authorized - '408': - description: Request Timeout - '429': - description: Too Many Requests - x-speakeasy-group: client.chat - x-speakeasy-name-override: createStream - x-speakeasy-usage-example: true -components: - securitySchemes: - APIToken: - scheme: bearer - type: http - schemas: - ActivityEventParams: - properties: - bodyContent: - description: The HTML content of the page body. - type: string - datasourceInstance: - type: string - description: The full datasource instance name inferred from the URL of the event - datasource: - type: string - description: The datasource without the instance inferred from the URL of the event - instanceOnlyName: - 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 - query: - description: The user's search query associated with a SEARCH. - type: string - referrer: - description: The referring URL of the VIEW or SEARCH. - type: string - title: - description: The page title associated with the URL of the event - type: string - 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 - 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 - description: The type of activity this represents. - x-enumDescriptions: - VIEW: Represents a visit to the given `url`. - EDIT: Represents an edit of the document represented by the `url`. - SEARCH: Represents a search performed at the given `url`. - COMMENT: Represents a comment on the document represented by the `url`. - 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`. - SEARCH: Represents a search performed at the given `url`. - COMMENT: Represents a comment on the document represented by the `url`. - 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. - params: - $ref: "#/components/schemas/ActivityEventParams" - timestamp: - type: string - description: The ISO 8601 timestamp when the activity began. - format: date-time - url: - description: The URL of the activity. - type: string - Activity: - required: - - events - properties: - events: - type: array - items: - $ref: "#/components/schemas/ActivityEvent" - example: - events: - - url: https://example.com/ - action: HISTORICAL_VIEW - timestamp: "2000-01-23T04:56:07.000Z" - - url: https://example.com/search?q=query - action: SEARCH - timestamp: "2000-01-23T04:56:07.000Z" - params: - query: query - - url: https://example.com/ - action: VIEW - timestamp: "2000-01-23T04:56:07.000Z" - params: - duration: 20 - referrer: https://example.com/document - SessionInfo: - properties: - sessionTrackingToken: - type: string - description: A unique token for this session. A new session (and token) is created when the user issues a request from a new tab or when our server hasn't seen activity for more than 10 minutes from a tab. - tabId: - type: string - description: A unique id for all requests a user makes from a given tab, no matter how far apart. A new tab id is only generated when a user issues a request from a new tab. - lastSeen: - type: string - format: date-time - description: The last time the server saw this token. - lastQuery: - type: string - description: The last query seen by the server. - 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 - origID: - description: An opaque user ID for the authenticated user (ignores actas). - type: string - FeedbackChatExchange: - properties: - timestamp: - type: integer - format: int64 - description: Unix timestamp in millis for the chat request. - agent: - type: string - description: Either DEFAULT (company knowledge) or GPT (world knowledge). - userQuery: - type: string - description: Initial query entered by the user. - searchQuery: - type: string - 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 - response: - type: string - ManualFeedbackInfo: - properties: - email: - type: string - description: The email address of the user who submitted the Feedback.event.MANUAL_FEEDBACK event. - deprecated: true - source: - type: string - description: The source associated with the Feedback.event.MANUAL_FEEDBACK event. - enum: - - AUTOCOMPLETE - - CALENDAR - - CHAT - - CHAT_GENERAL - - CONCEPT_CARD - - DESKTOP_APP - - DISAMBIGUATION_CARD - - EXPERT_DETECTION - - FEED - - GENERATED_Q_AND_A - - INLINE_MENU - - NATIVE_RESULT - - PRISM - - Q_AND_A - - RELATED_QUESTIONS - - REPORT_ISSUE - - SCIOBOT - - SEARCH - - SIDEBAR - - SUMMARY - - TASKS - - TASK_EXECUTION - 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 + description: The value of the field. + isRequired: + type: boolean + description: Is the parameter a required field. + description: + type: string + description: Description of the parameter. + possibleValues: + type: array + items: + $ref: "#/components/schemas/PossibleValue" + description: Possible values that the parameter can take. + ToolInfo: + type: object + properties: + metadata: + $ref: "#/components/schemas/ToolMetadata" + parameters: + type: object + description: Parameters supported by the tool. + additionalProperties: + $ref: "#/components/schemas/WriteActionParameter" + 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" + - type: object + properties: + text: + type: string + querySuggestion: + description: The search queries issued while responding. + $ref: "#/components/schemas/QuerySuggestion" + file: + description: Files referenced in the message fragment. This is used to construct rich-text messages with file references. + $ref: "#/components/schemas/ChatFile" + action: + description: Basic information about an action. This can be used to construct rich-text messages with action references. + $ref: "#/components/schemas/ToolInfo" + citation: + description: Inline citation. + $ref: "#/components/schemas/ChatMessageCitation" + ChatMessage: + description: A message that is rendered as one coherent unit with one given sender. + properties: + 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 + 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." + deprecated: true + x-glean-deprecated: + id: 6446f85e-c90e-4c00-9717-796f9db3dc61 + introduced: "2026-02-06" + message: Use inline citations via ChatMessageFragment.citation and ChatMessageCitation.referenceRanges instead. This field is still populated for backward compatibility. + removal: "2026-10-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-02-06, removal scheduled for 2026-10-15: Use inline citations via ChatMessageFragment.citation and ChatMessageCitation.referenceRanges instead. This field is still populated for backward compatibility." + uploadedFileIds: + type: array + items: + type: string + 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" + ts: + type: string + description: Response timestamp of the message. + messageId: + type: string + description: A unique server-side generated ID used to identify a message, automatically populated for any USER authored messages. + messageTrackingToken: + type: string + description: Opaque tracking token generated server-side. + messageType: + type: string + default: CONTENT + 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. + x-enumDescriptions: + UPDATE: An intermediate state message for progress updates. + CONTENT: A user query or response message. + CONTEXT: A message providing context in addition to the user query. + CONTROL: Control signal for message streaming. + CONTROL_START: Control signal indicating the start of a message stream. + CONTROL_FINISH: Control signal indicating the end of a message stream. + CONTROL_CANCEL: Control signal indicating the message stream was cancelled. + CONTROL_RETRY: Indicates the message streaming needed to be retried. + CONTROL_UNKNOWN: Fallback control signal for unrecognized control types. + DEBUG: A debug message. Strictly used internally. + DEBUG_EXTERNAL: A debug message to be used while debugging Action creation. + ERROR: A message that describes an error while processing the request. + 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. + x-speakeasy-enum-descriptions: + UPDATE: An intermediate state message for progress updates. + CONTENT: A user query or response message. + CONTEXT: A message providing context in addition to the user query. + CONTROL: Control signal for message streaming. + CONTROL_START: Control signal indicating the start of a message stream. + CONTROL_FINISH: Control signal indicating the end of a message stream. + CONTROL_CANCEL: Control signal indicating the message stream was cancelled. + CONTROL_RETRY: Indicates the message streaming needed to be retried. + CONTROL_UNKNOWN: Fallback control signal for unrecognized control types. + DEBUG: A debug message. Strictly used internally. + DEBUG_EXTERNAL: A debug message to be used while debugging Action creation. + ERROR: A message that describes an error while processing the request. + 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 + hasMoreFragments: + deprecated: true + type: boolean + description: Signals there are additional response fragments incoming. + 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" + 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. + chatId: + 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" + description: Describes the agent that will execute the request. + ChatRestrictionFilters: + allOf: + - $ref: "#/components/schemas/RestrictionFilters" + - type: object + properties: + documentSpecs: + type: array + items: + $ref: "#/components/schemas/DocumentSpec" + datasourceInstances: + type: array + items: + type: string + ChatRequest: + allOf: + - $ref: "#/components/schemas/ChatRequestBase" + - type: object + properties: + inclusions: + $ref: "#/components/schemas/ChatRestrictionFilters" + description: A list of filters which only allows chat to access certain content. + exclusions: + $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 + description: Timeout in milliseconds for the request. A `408` error will be returned if handling the request takes longer. + example: 30000 + applicationId: + type: string + description: The ID of the application this request originates from, used to determine the configuration of underlying chat processes. This should correspond to the ID set during admin setup. If not specified, the default chat experience will be used. + agentId: + type: string + description: The ID of the Agent that should process this chat request. Only Agents with trigger set to 'User chat message' are invokable through this API. If not specified, the default chat experience will be used. + stream: + 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" + chatId: + type: string + description: The id of the associated Chat the messages belong to, if one exists. + chat: + $ref: "#/components/schemas/ChatMetadata" + followUpPrompts: + type: array + items: + type: string + description: Follow-up prompts for the user to potentially use + backendTimeMillis: + type: integer + format: int64 + description: Time in milliseconds the backend took to respond to the request. + example: 1100 + chatSessionTrackingToken: + type: string + description: A token that is used to track the session. + 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 + properties: + id: + type: string + description: The id of the Chat to be retrieved. + 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" + properties: + messages: + type: array + items: + $ref: "#/components/schemas/ChatMessage" + description: The chat messages within a Chat. + roles: + type: array + items: + $ref: "#/components/schemas/UserRoleSpecification" + description: A list of roles for this Chat. + ChatResult: + properties: + 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" + ChatMetadataResult: + properties: + chat: + $ref: "#/components/schemas/ChatMetadata" + trackingToken: + type: string + description: An opaque token that represents this particular Chat. To be used for `/feedback` reporting. + ListChatsResponse: + properties: + chatResults: + type: array + items: + $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. + ChatApplicationDetails: {} + GetChatApplicationResponse: + properties: + application: + $ref: "#/components/schemas/ChatApplicationDetails" + UploadChatFilesRequest: + required: + - files + properties: + files: + type: array + items: + type: string + format: binary + description: Raw files to be uploaded for chat in binary format. + UploadChatFilesResponse: + properties: + files: + type: array + items: + $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. + GetChatFilesResponse: + properties: + files: + description: A map of file IDs to ChatFile structs. + type: object + additionalProperties: + $ref: "#/components/schemas/ChatFile" + DeleteChatFilesRequest: + required: + - fileIds + properties: + fileIds: + type: array + items: + type: string + description: IDs of files to delete. + Agent: + title: Agent + type: object + required: + - agent_id + - name + - capabilities + properties: + agent_id: + type: string + title: Agent Id + description: The ID of the agent. + example: mho4lwzylcozgoc2 + name: + type: string + title: Agent Name + description: The name of the agent + example: HR Policy Agent + description: + type: string + title: Description + description: The description of the agent. + example: This agent answers questions about the current company HR policies. + metadata: + type: object + title: Metadata + 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 + title: Messages + description: Whether the agent supports messages as an input. If true, you'll pass `messages` as an input when running the agent. + ap.io.streaming: + type: boolean + title: Streaming + description: Whether the agent supports streaming output. If true, you you can stream agent ouput. All agents currently support streaming. + additionalProperties: true + ErrorResponse: + description: Error response returned for failed requests + type: object + properties: + message: + description: Client-facing error message describing what went wrong + type: string + WorkflowDraftableProperties: + properties: + name: + type: string + description: The name of the workflow. + WorkflowMutableProperties: + type: object + allOf: + - $ref: "#/components/schemas/WorkflowDraftableProperties" + - type: object + EditWorkflowRequest: + allOf: + - $ref: "#/components/schemas/WorkflowMutableProperties" + - type: object + properties: + id: + type: string + 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 + description: The unique identifier of the action. + display_name: + type: string + description: The display name of the action. + type: + type: string + description: The type of tool - RETRIEVAL for read-only operations, ACTION for operations that modify data. + auth_type: + type: string + description: The authentication type required - OAUTH_USER, OAUTH_ADMIN, API_KEY, BASIC_AUTH, DWD (domain-wide delegation), or NONE. + write_action_type: + type: string + description: For write actions only - REDIRECT (client renders URL) or EXECUTION (external server call). + is_setup_finished: + type: boolean + description: Whether this action has been fully configured and validated. + x-includeEmpty: true + data_source: + type: string + description: | + Indicates the kind of knowledge a tool would access or modify. + Company knowledge: + - Glean search, and any native tools that derive from it (e.g., expert search, code search) + - Native federated tools to company data sources (e.g., outlook search) + World knowledge: + - Platform action like bravewebsearch, geminiwebsearch, etc + 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) + AgentSchemas: + properties: + agent_id: + type: string + title: Agent Id + description: The ID of the agent. + example: mho4lwzylcozgoc2 + name: + type: string + title: Agent Name + description: The name of the agent. + example: HR Policy Agent + input_schema: + type: object + title: Input Schema + description: The schema for the agent input. In JSON Schema format. + output_schema: + type: object + title: Output Schema + description: The schema for the agent output. In JSON Schema format. + tools: + type: array + 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 + required: + - agent_id + - input_schema + - output_schema + title: AgentSchemas + description: Defines the structure and properties of an agent. + SearchAgentsRequest: + type: object + properties: + name: + type: string + description: Filters on the name of the agent. The keyword search is case-insensitive. If search string is ommited or empty, acts as no filter. + example: HR Policy Agent + SearchAgentsResponse: + type: object + title: Response Search Agents + properties: + agents: + type: array + items: + $ref: "#/components/schemas/Agent" + ContentType: type: string enum: - - AGENT_CANVAS_FAILED - - AGENT_CLARIFYING_QUESTIONS - - AGENT_INTERMEDIATE_STEPS_FAILED - - AGENT_TOOL_CALL_FAILED - - INACCURATE_RESPONSE - - INCOMPLETE_OR_NO_ANSWER - - INCORRECT_CITATION - - MISSING_CITATION - - OTHER - - OUTDATED_RESPONSE - - RESULT_MISSING - - RESULT_SHOULD_NOT_APPEAR - - RESULTS_HELPFUL - - RESULTS_POOR_ORDER - - TOO_MUCH_ONE_KIND - imageUrls: - type: array - items: - type: string - description: URLs of images uploaded by user when providing feedback - query: - type: string - description: The query associated with the Feedback.event.MANUAL_FEEDBACK event. - obscuredQuery: - type: string - description: The query associated with the Feedback.event.MANUAL_FEEDBACK event, but obscured such that the vowels are replaced with special characters. For search feedback events only. - activeTab: - type: string - description: Which tabs the user had chosen at the time of the Feedback.event.MANUAL_FEEDBACK event. For search feedback events only. - comments: - type: string - description: The comments users can optionally add to the Feedback.event.MANUAL_FEEDBACK events. - searchResults: - type: array - items: - type: string - description: The array of search result Glean Document IDs, ordered by top to bottom result. - previousMessages: - type: array - items: - type: string - description: The array of previous messages in a chat session, ordered by oldest to newest. - chatTranscript: - type: array - items: - $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 - rating: - type: integer - description: A rating associated with the user feedback. The value will be between one and the maximum given by ratingScale, inclusive. - ratingKey: - type: string - description: A description of the rating that contextualizes how it appeared to the user, e.g. "satisfied". - ratingScale: - type: integer - description: The scale of comparison for a rating associated with the feedback. Rating values start from one and go up to the maximum specified by ratingScale. For example, a five-option satisfaction rating will have a ratingScale of 5 and a thumbs-up/thumbs-down rating will have a ratingScale of 2. - SideBySideImplementation: - properties: - implementationId: - type: string - description: Unique identifier for this implementation variant. - implementationName: - type: string - 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 - 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 - description: Time taken to generate the response in milliseconds. - tokenCount: - type: integer - description: Number of tokens in the response. - modelUsed: - type: string - description: The specific model version used. - ManualFeedbackSideBySideInfo: - properties: - email: - type: string - 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 - 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" - evaluationSessionId: - type: string - description: Unique identifier for this evaluation session to group related feedback events. - implementationId: - type: string - 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 - comments: - type: string - description: Specific feedback comments for this implementation. - SeenFeedbackInfo: - properties: - isExplicit: - type: boolean - description: The confidence of the user seeing the object is high because they explicitly interacted with it e.g. answer impression in SERP with additional user interaction. - UserViewInfo: - properties: - docId: - type: string - description: Unique Glean Document ID of the associated document. - docTitle: - type: string - description: Title of associated document. - docUrl: - type: string - description: URL of associated document. - WorkflowFeedbackInfo: - properties: - source: - type: string - enum: - - ZERO_STATE - - LIBRARY - - 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 - - AUTOCOMPLETE - - COLLECTIONS - - FEED - - SEARCH - - CHAT - - NTP - - WORKFLOWS - - SUMMARY - - GENERAL - - PRISM - - PROMPTS - trackingTokens: - type: array - description: A list of server-generated trackingTokens to which this event applies. - items: + - text + Message: + type: object + properties: + role: + type: string + title: Role + description: The role of the message. + example: USER + content: + title: Content + description: The content of the message. + type: array + items: + type: object + properties: + text: + type: string + type: + $ref: "#/components/schemas/ContentType" + required: + - text + - type + title: MessageTextBlock + 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 + title: Agent Id + description: The ID of the agent to run. + input: + type: object + title: Input + description: The input to the agent. Required when the agent uses an input form trigger. + additionalProperties: true + messages: + type: array + items: + $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 + AgentExecutionStatus: + description: The status of the run. One of 'error', 'success'. type: string - 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 - - COPY_LINK - - CREATE - - DISMISS - - DOWNVOTE - - EMAIL - - EXECUTE - - FILTER - - FIRST_TOKEN - - FOCUS_IN - - LAST_TOKEN - - MANUAL_FEEDBACK - - MANUAL_FEEDBACK_SIDE_BY_SIDE - - FEEDBACK_TIME_SAVED - - MARK_AS_READ - - MESSAGE - - MIDDLE_CLICK - - PAGE_BLUR - - PAGE_FOCUS - - PAGE_LEAVE - - PREVIEW - - RELATED_CLICK - - RIGHT_CLICK - - SECTION_CLICK - - SEEN - - SELECT - - SHARE - - SHOW_MORE - - UPVOTE - - VIEW - - VISIBLE - 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. - 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. - position: - type: integer - description: Position of the element in the case that the client controls order (such as feed and autocomplete). - payload: - 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" - timestamp: - type: string - description: The ISO 8601 timestamp when the event occured. - format: date-time - 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: + enum: + - error + - success + title: AgentExecutionStatus + AgentRun: + allOf: + - $ref: "#/components/schemas/AgentRunCreate" + - type: object + properties: + status: + $ref: "#/components/schemas/AgentExecutionStatus" + AgentRunWaitResponse: + type: object + properties: + run: + $ref: "#/components/schemas/AgentRun" + title: Run + description: The run information. + messages: + type: array + items: + $ref: "#/components/schemas/Message" + title: Messages + description: The messages returned by the run. + CollectionItemDescriptor: + allOf: + - $ref: "#/components/schemas/CollectionItemMutableProperties" + properties: + url: + type: string + description: The URL of the item being added. + documentId: + type: string + description: The Glean Document ID of the item being added if it's an indexed document. + newNextItemId: + type: string + description: The (optional) ItemId of the next CollectionItem in sequence. If omitted, will be added to the end of the Collection + itemType: + type: string + enum: + - DOCUMENT + - TEXT + - URL + AddCollectionItemsRequest: + required: + - collectionId + properties: + collectionId: + type: number + description: The ID of the Collection to add items to. + addedCollectionItemDescriptors: + type: array + items: + $ref: "#/components/schemas/CollectionItemDescriptor" + description: The CollectionItemDescriptors of the items being added. + AddCollectionItemsError: + properties: + errorType: + type: string + enum: + - EXISTING_ITEM + - CORRUPT_ITEM + AddCollectionItemsResponse: + properties: + collection: + $ref: "#/components/schemas/Collection" + description: The modified Collection. Only CollectionItemMutableProperties are set for each item. + error: + $ref: "#/components/schemas/AddCollectionItemsError" + CreateCollectionRequest: + allOf: + - $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 + enum: + - NAME_EXISTS + - NOT_FOUND + - COLLECTION_PINNED + - CONCURRENT_HIERARCHY_EDIT + - HEIGHT_VIOLATION + - WIDTH_VIOLATION + - NO_PERMISSIONS + - CORRUPT_ITEM + CreateCollectionResponse: + allOf: + - type: object + anyOf: + - required: + - collection + - required: + - error + properties: + collection: + $ref: "#/components/schemas/Collection" + error: + $ref: "#/components/schemas/CollectionError" + DeleteCollectionRequest: + required: + - ids + properties: + ids: + type: array + items: + type: integer + description: The IDs of the Collections to delete. + allowedDatasource: + type: string + description: The datasource allowed in the Collection to be deleted. + DeleteCollectionItemRequest: + required: + - collectionId + - itemId + properties: + collectionId: + type: number + description: The ID of the Collection to remove an item in. + itemId: + type: string + description: The item ID of the CollectionItem to remove from this Collection. + documentId: + type: string + description: The (optional) Glean Document ID of the CollectionItem to remove from this Collection if this is an indexed document. + DeleteCollectionItemResponse: + properties: + collection: + $ref: "#/components/schemas/Collection" + description: The modified Collection. Only CollectionItemMutableProperties are set for each item. + EditCollectionRequest: + allOf: + - $ref: "#/components/schemas/CollectionMutableProperties" + - type: object + required: + - id + properties: + id: + type: integer + description: The ID of the Collection to modify. + EditCollectionResponse: + allOf: + - $ref: "#/components/schemas/Collection" + - $ref: "#/components/schemas/CollectionError" + - type: object + properties: + collection: + $ref: "#/components/schemas/Collection" + error: + $ref: "#/components/schemas/CollectionError" + EditCollectionItemRequest: + required: + - collectionId + - itemId + allOf: + - $ref: "#/components/schemas/CollectionItemMutableProperties" + - type: object + properties: + collectionId: + type: integer + description: The ID of the Collection to edit CollectionItems in. + itemId: + type: string + description: The ID of the CollectionItem to edit. + EditCollectionItemResponse: + properties: + collection: + $ref: "#/components/schemas/Collection" + description: The modified Collection. Only CollectionItemMutableProperties are set for each item. + GetCollectionRequest: + required: + - id + properties: + id: + type: integer + description: The ID of the Collection to be retrieved. + withItems: + type: boolean + description: Whether or not to include the Collection Items in this Collection. Only request if absolutely required, as this is expensive. + withHierarchy: + type: boolean + description: Whether or not to include the top level Collection in this Collection's hierarchy. + allowedDatasource: + type: string + description: The datasource allowed in the Collection returned. + GetCollectionResponse: + properties: + collection: + $ref: "#/components/schemas/Collection" + rootCollection: + $ref: "#/components/schemas/Collection" + error: + $ref: "#/components/schemas/CollectionError" + trackingToken: + type: string + description: Use `collection.trackingToken` instead. + deprecated: true + x-glean-deprecated: + id: 2d6ca3a7-4763-4137-9ebd-740568fe8300 + introduced: "2026-05-07" + message: Use `collection.trackingToken` instead. + removal: "2027-01-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-05-07, removal scheduled for 2027-01-15: Use `collection.trackingToken` instead." + ListCollectionsRequest: + properties: + includeAudience: + type: boolean + description: Whether to include the audience filters with the listed Collections. + includeRoles: + type: boolean + description: Whether to include the editor roles with the listed Collections. + allowedDatasource: + type: string + description: |- + 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" + description: List of all Collections, no Collection items are fetched. + GetDocPermissionsRequest: + type: object + properties: + documentId: + type: string + description: The Glean Document ID to retrieve permissions for. + GetDocPermissionsResponse: + type: object + properties: + allowedUserEmails: + type: array + items: + 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" + 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 + enum: + - LAST_VIEWED_AT + - VISITORS_COUNT + - RECENT_SHARES + - DOCUMENT_CONTENT + - CUSTOM_METADATA + DocumentOrError: + x-omit-error-on-success: true + oneOf: + - $ref: "#/components/schemas/Document" + - type: object + required: + - error + properties: + error: + type: string + description: The text for error, reason. + x-is-error-field: true + GetDocumentsResponse: + properties: + documents: + type: object + additionalProperties: + $ref: "#/components/schemas/DocumentOrError" + description: The document details or the error if document is not found. + GetDocumentsByFacetsRequest: + required: + - filterSets + properties: + datasourcesFilter: + type: array + items: + type: string + description: Filter results to one or more datasources (e.g. gmail, slack). All results are returned if missing. + filterSets: + type: array + items: + $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. + GetDocumentsByFacetsResponse: + properties: + documents: + type: array + items: + $ref: "#/components/schemas/Document" + description: The document details, ordered by score. + hasMoreResults: + type: boolean + description: Whether more results are available. Use cursor to retrieve them. + cursor: + type: string + description: Cursor that indicates the start of the next page of results. To be passed in "more" requests for this query. + InsightsOverviewRequest: + properties: + departments: + type: array + items: + type: string + description: Departments for which Insights are requested. + managerEmails: + type: array + items: + type: string + description: Manager emails whose teams should be filtered for. Empty array means no filtering. + dayRange: + $ref: "#/components/schemas/Period" + description: Time period for which Insights are requested. + InsightsAssistantRequest: + properties: + departments: + type: array + items: + type: string + description: Departments for which Insights are requested. + managerEmails: + type: array + items: + type: string + description: Manager emails whose teams should be filtered for. Empty array means no filtering. + dayRange: + $ref: "#/components/schemas/Period" + description: Time period for which Insights are requested. + AgentsInsightsV2Request: + properties: + agentIds: + type: array + items: + type: string + description: IDs of the Agents for which Insights should be returned. An empty array signifies all. + departments: + type: array + items: + type: string + description: Departments for which Insights are requested. + managerEmails: + type: array + items: + type: string + description: Manager emails whose teams should be filtered for. Empty array means no filtering. + dayRange: + $ref: "#/components/schemas/Period" + description: Time period for which Insights are requested. + McpInsightsRequest: + properties: + departments: + type: array + items: + type: string + description: Departments for which Insights are requested. + managerIds: + type: array + items: + type: string + description: Manager user IDs whose teams should be filtered for. Empty array means no filtering. + managerEmails: + type: array + items: + type: string + description: Manager emails whose teams should be filtered for. Empty array means no filtering. + dayRange: + $ref: "#/components/schemas/Period" + description: Time period for which Insights are requested. + McpBreakdownInsightsRequest: + properties: + departments: + type: array + items: + type: string + description: Departments for which Insights are requested. + managerIds: + type: array + items: + type: string + description: Manager user IDs whose teams should be filtered for. Empty array means no filtering. + managerEmails: + type: array + items: + type: string + description: Manager emails whose teams should be filtered for. Empty array means no filtering. + dayRange: + $ref: "#/components/schemas/Period" + description: Time period for which Insights are requested. + breakdownType: + type: string + enum: + - USERS + - HOST_APPLICATIONS + - TOOLS + - SERVERS + description: Type of breakdown to return. + hostApplications: + type: array + items: + type: string + description: Host applications to filter by. Empty array means all host applications. + tools: + type: array + items: + type: string + description: MCP tools to filter by. Empty array means all tools. + servers: + type: array + items: + type: string + description: MCP servers to filter by. Empty array means all servers. + InsightsRequest: + properties: + overviewRequest: + $ref: "#/components/schemas/InsightsOverviewRequest" + x-visibility: Public + description: If specified, will return data for the Overview section of the Insights Dashboard. + assistantRequest: + $ref: "#/components/schemas/InsightsAssistantRequest" + x-visibility: Public + description: If specified, will return data for the Assistant section of the Insights Dashboard. + agentsRequest: + $ref: "#/components/schemas/AgentsInsightsV2Request" + x-visibility: Public + description: If specified, will return data for the Agents section of the Insights Dashboard. + mcpRequest: + $ref: "#/components/schemas/McpInsightsRequest" + description: If specified, will return data for the MCP section of the Insights Dashboard. + mcpBreakdownRequest: + $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" + activity: + type: string + enum: + - ALL + - SEARCH + description: Activity e.g. search, home page visit or all. + lastActivityTimestamp: + type: integer + description: Unix timestamp of the last activity (in seconds since epoch UTC). + activityCount: + $ref: "#/components/schemas/CountInfo" + activeDayCount: + $ref: "#/components/schemas/CountInfo" + GleanAssistInsightsResponse: + properties: + lastLogTimestamp: + type: integer + description: Unix timestamp of the last activity processed to make the response (in seconds since epoch UTC). + activityInsights: + type: array + items: + $ref: "#/components/schemas/UserActivityInsight" + description: Insights for all active users with respect to set of actions. + totalActiveUsers: + type: integer + description: Total number of active users in the requested period. + datasourceInstances: + type: array + items: + type: string + description: List of datasource instances for which glean assist is enabled. + departments: + type: array + items: + type: string + description: List of departments applicable for users tab. + CurrentActiveUsers: + properties: + monthlyActiveUsers: + type: integer + description: Number of current Monthly Active Users. + weeklyActiveUsers: + type: integer + description: Number of current Weekly Active Users. + InsightsSearchSummary: + allOf: + - $ref: "#/components/schemas/CurrentActiveUsers" + - type: object + properties: + numSearches: + type: integer + description: Total number of searches by users over the specified time period. + numSearchUsers: + type: integer + description: Total number of distinct users who searched over the specified time period. + InsightsChatSummary: + allOf: + - $ref: "#/components/schemas/CurrentActiveUsers" + - type: object + properties: + numChats: + type: integer + description: Total number of chats by users over the specified time period. + numChatUsers: + type: integer + description: Total number of distinct users who used Chat over the specified time period. + InsightsDepartmentsSummary: + allOf: + - $ref: "#/components/schemas/CurrentActiveUsers" + - type: object + properties: + departments: + type: array + items: + type: string + description: Department name(s). + employeeCount: + type: integer + description: Number of current employees in the specified departments, according to the Org Chart. + totalSignups: + type: integer + description: Number of current signed up employees in the specified departments, according to the Org Chart. + searchSummary: + $ref: "#/components/schemas/InsightsSearchSummary" + chatSummary: + $ref: "#/components/schemas/InsightsChatSummary" + searchActiveUsers: + $ref: "#/components/schemas/CurrentActiveUsers" + description: Search-specific active user counts for the specified departments. + assistantActiveUsers: + $ref: "#/components/schemas/CurrentActiveUsers" + description: Assistant-specific active user counts for the specified departments. + agentsActiveUsers: + $ref: "#/components/schemas/CurrentActiveUsers" + description: Agents-specific active user counts for the specified departments. + mcpActiveUsers: + $ref: "#/components/schemas/CurrentActiveUsers" + description: MCP active user counts for the specified departments. + extensionSummary: + $ref: "#/components/schemas/CurrentActiveUsers" + ugcSummary: + $ref: "#/components/schemas/CurrentActiveUsers" + LabeledCountInfo: + required: + - label + properties: + label: + type: string + description: Label for the included count information. + countInfo: + type: array + items: + $ref: "#/components/schemas/CountInfo" + description: List of data points for counts for a given date period. + PerUserInsight: + properties: + person: + $ref: "#/components/schemas/Person" + numSearches: + type: integer + description: Total number of searches by this user over the specified time period. + numChats: + type: integer + description: Total number of chats by this user over the specified time period. + numActiveSessions: + type: integer + description: Total number of active sessions by this user in a Glean client over the specified time period. + numGleanbotUsefulResponses: + type: integer + description: Total number of Gleanbot responses marked useful by this user over the specified time period. + numDaysActive: + type: integer + description: Total number of days this user was an Active User over the specified time period. + numSummarizations: + type: integer + description: Total number of summarized items by this user over the specified time period. + numAiAnswers: + type: integer + description: Total number of AI Answers interacted with by this user over the specified time period. + numAgentRuns: + type: integer + description: Total number of agent runs for this user over the specified time period. + numMcpCalls: + type: integer + description: Total number of MCP calls for this user over the specified time period. + InsightsOverviewResponse: + allOf: + - $ref: "#/components/schemas/InsightsDepartmentsSummary" + - type: object + properties: + lastUpdatedTs: + type: integer + description: Unix timestamp of the last update for the insights data in the response. + searchSessionSatisfaction: + type: number + format: float + description: Search session satisfaction rate, over the specified time period in the specified departments. + deprecated: true + x-glean-deprecated: + id: 2652ea73-3e33-4409-ba8c-bda7b60a2c24 + introduced: "2026-05-13" + message: This property is no longer supported. Please contact Support for alternatives. + 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" + weeklyActiveUserTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + dailyActiveUserTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + searchMonthlyActiveUserTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + searchWeeklyActiveUserTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + searchDailyActiveUserTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + assistantMonthlyActiveUserTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + assistantWeeklyActiveUserTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + assistantDailyActiveUserTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + agentsMonthlyActiveUserTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + agentsWeeklyActiveUserTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + agentsDailyActiveUserTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + mcpMonthlyActiveUserTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + mcpWeeklyActiveUserTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + mcpDailyActiveUserTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + searchesTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + assistantInteractionsTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + agentRunsTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + mcpCallsTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + searchDatasourceCounts: + type: object + additionalProperties: + type: integer + description: Counts of search result clicks, by datasource, over the specified time period in the specified departments. + chatDatasourceCounts: + type: object + additionalProperties: + type: integer + description: Counts of cited documents in chat, by datasource, over the specified time period in the specified departments. + perUserInsights: + type: array + items: + $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" + numChatMessages: + type: integer + description: Total number of chat messages sent by this user over the specified time period. + numSummarizations: + type: integer + description: Total number of summarized items by this user over the specified time period. + numAiAnswers: + type: integer + description: Total number of AI Answers interacted with by this user over the specified time period. + numGleanbotInteractions: + type: integer + description: Total number of Gleanbot responses marked useful by this user over the specified time period. + numDaysActive: + type: integer + description: Total number of days this user was active on the Assistant over the specified time period. + AssistantInsightsResponse: + allOf: + - $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" + weeklyActiveUserTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + dailyActiveUserTimeseries: + $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" + summarizationsTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + aiAnswersTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + gleanbotInteractionsTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + perUserInsights: + type: array + items: + $ref: "#/components/schemas/PerUserAssistantInsight" + upvotesTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + downvotesTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + PerAgentInsight: + properties: + agentId: + type: string + description: Agent ID + agentName: + type: string + description: Agent name + icon: + $ref: "#/components/schemas/IconConfig" + description: Agent icon configuration + isDeleted: + type: boolean + description: Indicates whether the agent has been deleted + userCount: + type: integer + description: Total number of users for this agent over the specified time period. + runCount: + type: integer + description: Total number of runs for this agent over the specified time period. + upvoteCount: + type: integer + description: Total number of upvotes for this agent over the specified time period. + downvoteCount: + type: integer + description: Total number of downvotes for this agent over the specified time period. + owner: + $ref: "#/components/schemas/Person" + description: | + The creator/owner of the agent. Absent if agent is deleted or owner is unknown. + AgentUseCaseInsight: + properties: + useCase: + type: string + description: Use case name + runCount: + type: integer + description: Total number of runs for this use case over the specified time period. + trend: + type: number + format: float + description: Percentage change in runs compared to the previous equivalent time period. + topDepartments: + type: string + description: Comma-separated list of the top departments using this use case. + topAgentId: + type: string + description: ID of the most-used agent for this use case. + topAgentName: + type: string + description: Name of the most-used agent for this use case. + topAgentIcon: + $ref: "#/components/schemas/IconConfig" + description: Icon of the most-used agent for this use case. + topAgentIsDeleted: + type: boolean + description: Indicates whether the top agent has been deleted. + AgentsUsageByDepartmentInsight: + properties: + department: + type: string + description: Name of the department + agentAdoptionRate: + type: number + format: float + description: Percentage of employees in the department who have used agents at least once over the specified time period. + userCount: + type: integer + description: Total number of users in this department who have used any agent over the specified time period. + runCount: + type: integer + description: Total number of runs in this department over the specified time period. + agentId: + type: string + description: ID of the agent to be shown in the agent column in this department over the specified time period. + agentName: + 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" + description: Agent icon configuration + isDeleted: + type: boolean + description: Indicates whether the agent has been deleted + AgentUsersInsight: + properties: + person: + $ref: "#/components/schemas/Person" + departmentName: + type: string + description: Department name + agentsUsedCount: + type: integer + description: Total number of agents used by this user over the specified time period. + averageRunsPerDayCount: + type: number + format: float + description: Average number of runs per day for this user over the specified time period. + agentsCreatedCount: + type: integer + description: Total number of agents created by this user over the specified time period. + runCount: + type: integer + description: Total number of agent runs for this user over the specified time period. + AgentsTimeSavedInsight: + properties: + agentId: + type: string + description: Agent ID + agentName: + type: string + description: Agent name + icon: + $ref: "#/components/schemas/IconConfig" + description: Agent icon configuration + isDeleted: + type: boolean + description: Indicates whether the agent has been deleted + runCount: + type: integer + description: Total number of runs for this agent over the specified time period. + minsPerRun: + type: number + format: float + description: Average minutes saved per run for this agent over the specified time period. + feedbackUserCount: + type: integer + 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" + - type: object + properties: + monthlyActiveUserTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + weeklyActiveUserTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + dailyActiveUserTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + sharedAgentsCount: + type: integer + description: Total number of shared agents. + topAgentsInsights: + type: array + items: + $ref: "#/components/schemas/PerAgentInsight" + topUseCasesInsights: + type: array + items: + $ref: "#/components/schemas/AgentUseCaseInsight" + agentsUsageByDepartmentInsights: + type: array + items: + $ref: "#/components/schemas/AgentsUsageByDepartmentInsight" + agentUsersInsights: + type: array + items: + $ref: "#/components/schemas/AgentUsersInsight" + agentsTimeSavedInsights: + type: array + items: + $ref: "#/components/schemas/AgentsTimeSavedInsight" + description: Insights for agents time saved over the specified time period. + dailyAgentRunsTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + successfulRunsTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + failedRunsTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + pausedRunsTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + upvotesTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + downvotesTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + McpInsightsResponse: + allOf: + - $ref: "#/components/schemas/CurrentActiveUsers" + - type: object + properties: + dailyActiveUsers: + type: integer + description: Number of current Daily Active Users. + monthlyActiveUserTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + weeklyActiveUserTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + dailyActiveUserTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + overallDailyActiveUserTimeseries: + $ref: "#/components/schemas/LabeledCountInfo" + topHostApplicationsActiveUserTimeseries: + type: array + items: + $ref: "#/components/schemas/LabeledCountInfo" + McpUserBreakdown: + properties: + person: + $ref: "#/components/schemas/Person" + totalCalls: + type: integer + description: Total number of MCP calls made by this user in the specified time period. + hostApplications: + type: array + items: + type: string + description: Host applications used by this user in the specified time period. + tools: + type: array + items: + type: string + description: MCP tools used by this user in the specified time period. + servers: + type: array + items: + type: string + description: MCP servers used by this user in the specified time period. + McpHostApplicationBreakdown: + properties: + hostApplication: + type: string + description: Host application name. + totalCalls: + type: integer + description: Total number of MCP calls made from this host application in the specified time period. + activeUsers: + type: integer + description: Total number of active users from this host application in the specified time period. + McpToolBreakdown: + properties: + tool: + type: string + description: MCP tool name. + totalCalls: + type: integer + description: Total number of MCP calls for this tool in the specified time period. + activeUsers: + type: integer + description: Total number of active users for this tool in the specified time period. + hostApplications: + type: array + items: + type: string + description: Host applications using this tool in the specified time period. + McpServerBreakdown: + properties: + server: + type: string + description: MCP server name. + totalCalls: + type: integer + description: Total number of MCP calls for this server in the specified time period. + activeUsers: + type: integer + description: Total number of active users for this server in the specified time period. + hostApplications: + type: array + items: + type: string + description: Host applications using this server in the specified time period. + McpBreakdownInsightsResponse: + properties: + usersBreakdown: + type: array + items: + $ref: "#/components/schemas/McpUserBreakdown" + hostApplicationsBreakdown: + type: array + items: + $ref: "#/components/schemas/McpHostApplicationBreakdown" + toolsBreakdown: + type: array + items: + $ref: "#/components/schemas/McpToolBreakdown" + serversBreakdown: + type: array + items: + $ref: "#/components/schemas/McpServerBreakdown" + InsightsResponse: + properties: + gleanAssist: + deprecated: true + $ref: "#/components/schemas/GleanAssistInsightsResponse" + x-glean-deprecated: + id: 15850758-4d95-4d98-8d57-39c50663a796 + introduced: "2026-02-05" + message: Field is deprecated + 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" + assistantResponse: + $ref: "#/components/schemas/AssistantInsightsResponse" + agentsResponse: + $ref: "#/components/schemas/AgentsInsightsV2Response" + mcpResponse: + $ref: "#/components/schemas/McpInsightsResponse" + mcpBreakdownResponse: + $ref: "#/components/schemas/McpBreakdownInsightsResponse" + MessagesRequest: + required: + - id + - idType + - datasource + properties: + idType: + type: string + enum: + - CHANNEL_NAME + - THREAD_ID + - CONVERSATION_ID + description: Type of the id in the incoming request. + id: + type: string + description: ID corresponding to the requested idType. Note that channel and threads are represented by the underlying datasource's ID and conversations are represented by their document's ID. + workspaceId: + type: string + description: Id for the for the workspace in case of multiple workspaces. + direction: + type: string + enum: + - OLDER + - NEWER + description: The direction of the results asked with respect to the reference timestamp. Missing field defaults to OLDER. Only applicable when using a message_id. + timestampMillis: + type: integer + format: int64 + description: Timestamp in millis of the reference message. Only applicable when using a message_id. + includeRootMessage: + type: boolean + description: Whether to include root message in response. + datasource: + type: string + enum: + - SLACK + - SLACKENTGRID + - MICROSOFTTEAMS + - GCHAT + - FACEBOOKWORKPLACE + description: The type of the data source. + 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. + InvalidOperatorValueError: + properties: + key: + description: The operator key that has an invalid value. + type: string + value: + description: The invalid operator value. + type: string + ErrorMessage: + properties: + source: + description: The datasource this message relates to. + type: string + errorMessage: + type: string + ErrorInfo: + properties: + badGmailToken: + type: boolean + description: Indicates the gmail results could not be fetched due to bad token. + badOutlookToken: + type: boolean + 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" + errorMessages: + type: array + items: + $ref: "#/components/schemas/ErrorMessage" + federatedSearchRateLimitError: + type: boolean + description: Indicates the federated search results could not be fetched due to rate limiting. + x-speakeasy-name-override: GleanDataError + ResultsResponse: + properties: + trackingToken: + 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" + results: + type: array + items: + $ref: "#/components/schemas/SearchResult" + structuredResults: + type: array + items: + $ref: "#/components/schemas/StructuredResult" + generatedQnaResult: + $ref: "#/components/schemas/GeneratedQna" + errorInfo: + $ref: "#/components/schemas/ErrorInfo" + requestID: + type: string + description: A platform-generated request ID to correlate backend logs. + backendTimeMillis: + type: integer + format: int64 + description: Time in milliseconds the backend took to respond to the request. + example: 1100 + BackendExperimentsContext: + properties: + experimentIds: + type: array + items: + type: integer + format: int64 + description: List of experiment ids for the corresponding request. + SearchWarning: + required: + - warningType + properties: + warningType: + type: string + enum: + - LONG_QUERY + - QUOTED_PUNCTUATION + - PUNCTUATION_ONLY + - COPYPASTED_QUOTES + - INVALID_OPERATOR + - MAYBE_INVALID_FACET_QUERY + - TOO_MANY_DATASOURCE_GROUPS + description: The type of the warning. + lastUsedTerm: + type: string + description: The last term we considered in the user's long query. + quotesIgnoredQuery: + type: string + description: The query after ignoring/removing quotes. + ignoredTerms: + type: array + 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. + SearchResponseMetadata: + properties: + rewrittenQuery: + type: string + description: A cleaned up or updated version of the query to be displayed in the query box. Useful for mapping visual facets to search operators. + searchedQuery: + type: string + description: The actual query used to perform search and return results. + searchedQueryWithoutNegation: + type: string + description: The query used to perform search and return results, with negated terms and facets removed. + x-includeEmpty: true + searchedQueryRanges: + type: array + items: + $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" + description: An alternative query to the one provided that may give better results, e.g. a spelling suggestion. + additionalQuerySuggestions: + $ref: "#/components/schemas/QuerySuggestionList" + description: Other alternative queries that may provide better or more specific results than the original query. + negatedTerms: + type: array + items: + type: string + description: A list of terms that were negated when processing the query. + modifiedQueryWasUsed: + type: boolean + description: A different query was performed than the one requested. + originalQueryHadNoResults: + 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" + triggeredExpertDetection: + type: boolean + description: Whether the query triggered expert detection results in the People tab. + isNoQuotesSuggestion: + type: boolean + description: Whether the query was modified to remove quotes + FacetValue: + properties: + stringValue: + type: string + example: engineering + description: The value that should be set in the FacetFilter when applying this filter to a search request. + integerValue: + type: integer + example: 5 + displayLabel: + type: string + example: engineering + description: An optional user-friendly label to display in place of the facet value. + iconConfig: + $ref: "#/components/schemas/IconConfig" + FacetBucket: + properties: + count: + type: integer + description: Estimated number of results in this facet. + 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. + percentage: + type: integer + description: Estimated percentage of results in this facet. + example: 5 + value: + $ref: "#/components/schemas/FacetValue" + FacetResult: + properties: + sourceName: + type: string + description: The source of this facet (e.g. container_name, type, last_updated_at). + example: container_name + operatorName: + type: string + description: How to display this facet. Currently supportes 'SelectSingle' and 'SelectMultiple'. + example: SelectMultiple + buckets: + type: array + description: A list of unique buckets that exist within this result set. + items: + $ref: "#/components/schemas/FacetBucket" + 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. + example: false + groupName: + type: string + description: For most facets this will be the empty string, meaning the facet is high-level and applies to all documents for the datasource. When non-empty, this is used to group facets together (i.e. group facets for each doctype for a certain datasource) + example: Service Cloud + ResultsDescription: + properties: + text: + 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" + description: The config for the icon that's displayed with this description + SearchResponse: + allOf: + - $ref: "#/components/schemas/ResultsResponse" + - $ref: "#/components/schemas/BackendExperimentsContext" + - type: object + properties: + metadata: + $ref: "#/components/schemas/SearchResponseMetadata" + facetResults: + type: array + items: + $ref: "#/components/schemas/FacetResult" + resultTabs: + type: array + items: + $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 + items: + type: string + description: The unique IDs of the result tabs to which this response belongs. + resultsDescription: + $ref: "#/components/schemas/ResultsDescription" + rewrittenFacetFilters: + type: array + items: + $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 + description: Cursor that indicates the start of the next page of results. To be passed in "more" requests for this query. + hasMoreResults: + type: boolean + description: Whether more results are available. Use cursor to retrieve them. + example: + trackingToken: trackingToken + suggestedSpellCorrectedQuery: suggestedSpellCorrectedQuery + hasMoreResults: true + errorInfo: + errorMessages: + - source: gmail + errorMessage: invalid token + - source: slack + errorMessage: expired token + requestID: 5e345ae500ff0befa2b9d1a3ba0001737e7363696f312d323535323137000171756572792d656e64706f696e743a323032303031333074313830343032000100 + results: + - snippets: + - snippet: snippet + mimeType: mimeType + metadata: + container: container + createTime: "2000-01-23T04:56:07.000Z" + datasource: datasource + author: + name: name + documentId: documentId + updateTime: "2000-01-23T04:56:07.000Z" + mimeType: mimeType + objectType: objectType + title: title + url: https://www.example.com/ + - snippets: + - snippet: snippet + mimeType: mimeType + metadata: + container: container + createTime: "2000-01-23T04:56:07.000Z" + datasource: datasource + author: + name: name + documentId: documentId + updateTime: "2000-01-23T04:56:07.000Z" + mimeType: mimeType + objectType: objectType + title: title + url: https://www.example.com/ + facetResults: + - buckets: + - percentage: 5 + count: 1 + value: + stringValue: stringValue + integerValue: 5 + - percentage: 5 + count: 1 + value: + stringValue: stringValue + integerValue: 5 + sourceName: sourceName + operatorName: operatorName + objectType: objectType + - buckets: + - percentage: 5 + count: 1 + value: + stringValue: stringValue + integerValue: 5 + - percentage: 5 + count: 1 + value: + stringValue: stringValue + integerValue: 5 + sourceName: sourceName + operatorName: operatorName + objectType: objectType + rewrittenQuery: rewrittenQuery + rewrittenFacetFilters: + - fieldName: fieldName + values: + - fieldValues + - fieldValues + - fieldName: fieldName + values: + - 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" + rootMessage: + $ref: "#/components/schemas/SearchResult" + EditPinRequest: + allOf: + - $ref: "#/components/schemas/PinDocumentMutableProperties" + - type: object + properties: + id: + type: string + description: The opaque id of the pin to be edited. + GetPinRequest: + properties: + id: + type: string + description: The opaque id of the pin to be fetched. + GetPinResponse: + properties: + pin: + $ref: "#/components/schemas/PinDocument" + ListPinsResponse: + required: + - pins + properties: + pins: + type: array + items: + $ref: "#/components/schemas/PinDocument" + description: List of pinned documents. + PinRequest: + allOf: + - $ref: "#/components/schemas/PinDocumentMutableProperties" + - type: object + properties: + documentId: + type: string + description: The document to be pinned. + Unpin: + properties: + id: + type: string + description: The opaque id of the pin to be unpinned. + ResultsRequest: + properties: + timestamp: + type: string + description: The ISO 8601 timestamp associated with the client request. + format: date-time + 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" + sourceDocument: + $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. + 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" + - type: object + properties: + query: + type: string + description: The search terms. + example: vacation policy + cursor: + type: string + description: Pagination cursor. A previously received opaque token representing the position in the overall results at which to start. + resultTabIds: + type: array + items: + 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" + requestOptions: + $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. + example: 5000 + disableSpellcheck: + type: boolean + description: Whether or not to disable spellcheck. + example: + 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 + AutocompleteRequest: + type: object + properties: + trackingToken: + type: string + sessionInfo: + $ref: "#/components/schemas/SessionInfo" + query: + type: string + description: Partially typed query. + example: San Fra + datasourcesFilter: + type: array + items: + type: string + description: Filter results to only those relevant to one or more datasources (e.g. jira, gdrive). Results are unfiltered if missing. + datasource: + type: string + 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: + - ADDITIONAL_DOCUMENT + - APP + - BROWSER_HISTORY + - DATASOURCE + - DOCUMENT + - ENTITY + - GOLINK + - HISTORY + - CHAT_HISTORY + - NEW_CHAT + - OPERATOR + - OPERATOR_VALUE + - QUICKLINK + - SUGGESTION + resultSize: + type: integer + description: | + Maximum number of results to be returned. If no value is provided, the backend will cap at 200. + example: 10 + authTokens: + type: array + description: Auth tokens which may be used for federated results. + items: + $ref: "#/components/schemas/AuthToken" + example: + trackingToken: trackingToken + query: what is a que + datasource: GDRIVE + resultSize: 10 + OperatorScope: + properties: + datasource: + type: string + docType: + type: string + OperatorMetadata: + required: + - name + properties: + name: + type: string + isCustom: + type: boolean + description: Whether this operator is supported by default or something that was created within a workplace app (e.g. custom jira field). + operatorType: + type: string + enum: + - TEXT + - DOUBLE + - DATE + - USER + helpText: + type: string + scopes: + type: array + items: + $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. + example: + name: Last Updated + operatorType: DATE + scopes: + - datasource: GDRIVE + 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 + description: Full action name. Used in autocomplete. + shortName: + type: string + description: Shortened name. Used in app cards. + url: + type: string + description: The URL of the action. + 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: + - APP_CARD + - AUTOCOMPLETE_EXACT_MATCH + - AUTOCOMPLETE_FUZZY_MATCH + - AUTOCOMPLETE_ZERO_QUERY + - NEW_TAB_PAGE + AutocompleteResult: + required: + - result + - result_type + properties: + result: + type: string + keywords: + type: array + items: + type: string + description: A list of all possible keywords for given result. + resultType: + type: string + enum: + - ADDITIONAL_DOCUMENT + - APP + - BROWSER_HISTORY + - DATASOURCE + - DOCUMENT + - ENTITY + - GOLINK + - HISTORY + - CHAT_HISTORY + - NEW_CHAT + - OPERATOR + - OPERATOR_VALUE + - QUICKLINK + - SUGGESTION + score: + type: number + description: Higher indicates a more confident match. + operatorMetadata: + $ref: "#/components/schemas/OperatorMetadata" + quicklink: + $ref: "#/components/schemas/Quicklink" + document: + $ref: "#/components/schemas/Document" + url: + type: string + 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" + description: Subsections of the result string to which some special formatting should be applied (eg. bold) + example: + result: sample result + resultType: DOCUMENT + score: 4.56 + url: https://www.example.com/ + trackingToken: abcd + metadata: + - datasource: confluence + - objectType: page + AutocompleteResultGroup: + description: A subsection of the results list from which distinct sections should be created. + properties: + startIndex: + type: integer + description: The inclusive start index of the range. + endIndex: + type: integer + description: The exclusive end index of the range. + title: + type: string + description: The title of the result group to be displayed. Empty means no title. + AutocompleteResponse: + allOf: + - $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" + results: + type: array + items: + $ref: "#/components/schemas/AutocompleteResult" + groups: + type: array + items: + $ref: "#/components/schemas/AutocompleteResultGroup" + description: Subsections of the results list from which distinct sections should be created. + errorInfo: + $ref: "#/components/schemas/ErrorInfo" + backendTimeMillis: + type: integer + format: int64 + description: Time in milliseconds the backend took to respond to the request. + example: 1100 + example: + trackingToken: trackingToken + ChatZeroStateSuggestionOptions: + properties: + applicationId: + 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 + description: Number of results asked in response. If a result is a collection, counts as one. + 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. + categoryToResultSize: + type: object + additionalProperties: + type: object + properties: + resultSize: + type: integer + description: Mapping from category to number of results asked for the category. + datasourceFilter: + type: array + items: + type: string + description: Datasources for which content should be included. Empty is for all. + chatZeroStateSuggestionOptions: + $ref: "#/components/schemas/ChatZeroStateSuggestionOptions" + FeedRequest: + required: + - refreshType + properties: + categories: + type: array + items: + type: string + enum: + - DOCUMENT_SUGGESTION + - DOCUMENT_SUGGESTION_SCENARIO + - TRENDING_DOCUMENT + - VERIFICATION_REMINDER + - EVENT + - ANNOUNCEMENT + - MENTION + - DATASOURCE_AFFINITY + - RECENT + - COMPANY_RESOURCE + - EXPERIMENTAL + - PEOPLE_CELEBRATIONS + - DISPLAYABLE_LIST + - SOCIAL_LINK + - EXTERNAL_TASKS + - WORKFLOW_COLLECTIONS + - ZERO_STATE_CHAT_SUGGESTION + - ZERO_STATE_CHAT_TOOL_SUGGESTION + - ZERO_STATE_WORKFLOW_CREATED_BY_ME + - ZERO_STATE_WORKFLOW_FAVORITES + - ZERO_STATE_WORKFLOW_POPULAR + - ZERO_STATE_WORKFLOW_RECENT + - ZERO_STATE_WORKFLOW_SUGGESTION + - PERSONALIZED_CHAT_SUGGESTION + - DAILY_DIGEST + - TASK + - PLAN_MY_DAY + - END_MY_DAY + - STARTER_KIT + - MID_DAY_CATCH_UP + - QUERY_SUGGESTION + - COWORK_CUJ_PROMO + - WEEKLY_MEETINGS + - FOLLOW_UP + - MILESTONE_TIMELINE_CHECK + - PROJECT_DISCUSSION_DIGEST + - PROJECT_FOCUS_BLOCK + - PROJECT_NEXT_STEP + - DEMO_CARD + - OOO_PLANNER + - OOO_CATCH_UP + description: Categories of content requested. An allowlist gives flexibility to request content separately or together. + requestOptions: + $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" + DisplayableListFormat: + properties: + format: + type: string + enum: + - LIST + 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 + ConferenceData: + required: + - provider + - uri + properties: + provider: + type: string + enum: + - ZOOM + - HANGOUTS + uri: + type: string + description: A permalink for the conference. + source: + type: string + enum: + - NATIVE_CONFERENCE + - LOCATION + - DESCRIPTION + EventClassificationName: + description: The name for a generated classification of an event. type: string enum: - - COMPANY - - 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. - items: - type: string - type: array - uiElement: - type: string - description: The UI element associated with the event, if any. - manualFeedbackInfo: - $ref: "#/components/schemas/ManualFeedbackInfo" - manualFeedbackSideBySideInfo: - $ref: "#/components/schemas/ManualFeedbackSideBySideInfo" - seenFeedbackInfo: - $ref: "#/components/schemas/SeenFeedbackInfo" - userViewInfo: - $ref: "#/components/schemas/UserViewInfo" - 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. - 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. - 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 - - BROWSER_HISTORY - - BUILTIN - - FEDERATED_SEARCH - - PUSH_API - - WEB_CRAWL - - NATIVE_HISTORY - DocumentContent: - properties: - fullTextList: - type: array - items: + - External Event + EventStrategyName: type: string - description: The plaintext content of the document. - Document: - properties: - id: - type: string - description: The Glean Document ID. - datasource: - type: string - description: The app or other repository type from which the document was extracted - 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" - containerDocument: - $ref: "#/components/schemas/Document" - parentDocument: - $ref: "#/components/schemas/Document" - title: - type: string - description: The title of the document. - url: - type: string - description: A permalink for the document. - metadata: - $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" - SearchProviderInfo: - properties: - name: - type: string - description: Name of the search provider. - logoUrl: - type: string - description: URL to the provider's logo. - searchLinkUrlTemplate: - type: string - description: URL template that can be used to perform the suggested search by replacing the {query} placeholder with the query suggestion. - example: - name: Google - logo: https://app.glean.com/images/feather/globe.svg - searchLinkUrlTemplate: https://www.google.com/search?q={query}&hl=en - ResultTab: - properties: - id: - type: string - description: The unique ID of the tab. Can be passed in a search request to get results for that tab. - count: - type: integer - description: The number of results in this tab for the current query. - datasource: - type: string - description: The datasource associated with the tab, if any. - datasourceInstance: - type: string - description: The datasource instance associated with the tab, if any. - FacetFilterValue: - properties: - value: - type: string - example: Spreadsheet - relationType: - type: string - enum: - - EQUALS - - ID_EQUALS - - LT - - GT - - NOT_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. - 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. - isNegated: - type: boolean - deprecated: true - description: DEPRECATED - please use relationType instead - x-glean-deprecated: - id: 75a48c79-b36a-4171-a0a0-4af7189da66e - introduced: "2026-02-05" - message: Use relationType instead - removal: "2026-10-15" - x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use relationType instead" - FacetFilter: - properties: - fieldName: - type: string - example: owner - values: - type: array - items: - $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: - fieldName: type - values: - - value: Spreadsheet - relationType: EQUALS - - value: Presentation - relationType: EQUALS - FacetFilterSet: - properties: - filters: - type: array - items: - $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: - facet: - type: string - description: The facet whose buckets should be filtered. - prefix: - type: string - description: The per-term prefix that facet buckets should be filtered on. - AuthToken: - required: - - accessToken - - datasource - properties: - accessToken: - type: string - datasource: - type: string - scope: - type: string - 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 - expiration: - description: Unix timestamp when this token expires (in seconds since epoch UTC). - type: integer - format: int64 - example: - accessToken: 123abc - datasource: gmail - scope: email profile https://www.googleapis.com/auth/gmail.readonly - 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 - required: - - id - properties: - id: - type: string - x-discriminator: true - description: The ID of the document. - - type: object - required: - - contentId - - ugcType - properties: - ugcType: - type: string - enum: - - ANNOUNCEMENTS - - ANSWERS - - COLLECTIONS - - SHORTCUTS - - CHATS - 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. - docType: - type: string - description: The specific type of the user generated content type. - - type: object - required: - - ugcType - - ugcId - properties: - ugcType: - type: string - enum: - - ANNOUNCEMENTS - - ANSWERS - - ARTIFACTS - - COLLECTIONS - - SHORTCUTS - - CHATS - 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. - docType: - type: string - description: The specific type of the user generated content type. - 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" - SearchRequestOptions: - required: - - facetBucketSize - properties: - datasourceFilter: - type: string - description: Filter results to a single datasource name (e.g. gmail, slack). All results are returned if missing. - datasourcesFilter: - type: array - items: - type: string - description: Filter results to one or more datasources (e.g. gmail, slack). All results are returned if missing. - queryOverridesFacetFilters: - type: boolean - description: If true, the operators in the query are taken to override any operators in facetFilters in the case of conflict. This is used to correctly set rewrittenFacetFilters and rewrittenQuery. - facetFilters: - type: array - items: - $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" - 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" - facetBucketSize: - type: integer - description: The maximum number of FacetBuckets to return in each FacetResult. - defaultFacets: - type: array - items: - type: string - 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" - 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: + description: The name of method used to surface relevant data for a given calendar event. + enum: + - customerCard + - news + - call + - email + - meetingNotes + - linkedIn + - relevantDocuments + - chatFollowUps + - conversations + EventClassification: + description: A generated classification of a given event. + properties: + name: + $ref: "#/components/schemas/EventClassificationName" + strategies: + type: array + items: + $ref: "#/components/schemas/EventStrategyName" + StructuredLink: + description: The display configuration for a link. + properties: + name: + type: string + description: The display name for the link + url: + type: string + description: The URL for the link. + iconConfig: + $ref: "#/components/schemas/IconConfig" + 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 + text: + description: The content that has been generated. + type: string + 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" + documents: + type: array + items: + $ref: "#/components/schemas/Document" + person: + $ref: "#/components/schemas/Person" + customer: + $ref: "#/components/schemas/Customer" + externalLinks: + description: A list of links to external sources outside of Glean. + type: array + items: + $ref: "#/components/schemas/StructuredLink" + content: + type: array + items: + $ref: "#/components/schemas/GeneratedAttachmentContent" + CalendarEvent: + required: + - id + - url + allOf: + - $ref: "#/components/schemas/AnonymousEvent" + - type: object + properties: + id: + type: string + description: The calendar event id + url: + type: string + description: A permalink for this calendar event + attendees: + $ref: "#/components/schemas/CalendarAttendees" + location: + type: string + description: The location that this event is taking place at. + conferenceData: + $ref: "#/components/schemas/ConferenceData" + description: + type: string + description: The HTML description of the event. + datasource: + type: string + description: The app or other repository type from which the event was extracted + hasTranscript: + type: boolean + description: The event has a transcript associated with it enabling features like summarization + transcriptUrl: + type: string + description: A link to the transcript of the event + classifications: + type: array + items: + $ref: "#/components/schemas/EventClassification" + generatedAttachments: + type: array + items: + $ref: "#/components/schemas/GeneratedAttachment" + SectionType: type: string - description: Hints for the response content. + description: Type of the section. This defines how the section should be interpreted and rendered in the digest. 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. - 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. - enum: - - ALL_RESULT_COUNTS - - FACET_RESULTS - - QUERY_METADATA - - RESULTS - - SPELLCHECK_METADATA + 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. 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. - 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. - disableSpellcheck: - type: boolean - description: Whether or not to disable spellcheck. - disableQueryAutocorrect: - type: boolean - description: Disables automatic adjustment of the input query for spelling corrections or other reasons. - returnLlmContentOverSnippets: - 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" - description: A list of filters which restrict the search results to only the specified content. - exclusions: - $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. - example: - datasourceFilter: JIRA - datasourcesFilter: - - JIRA - queryOverridesFacetFilters: true - facetFilters: - - fieldName: fieldName - values: - - fieldValues - - fieldValues - - fieldName: fieldName - values: - - fieldValues - - fieldValues - TextRange: - required: - - startIndex - description: A subsection of a given string to which some special formatting should be applied. - properties: - startIndex: - type: integer - description: The inclusive start index of the range. - endIndex: - type: integer - description: The exclusive end index of the range. - type: - type: string - enum: - - BOLD - - CITATION - - HIGHLIGHT - - LINK - url: - 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" - description: A document corresponding to the range, if applicable. For example, the cited document for a CITATION range. - SearchRequestInputDetails: - properties: - hasCopyPaste: - type: boolean - description: Whether the associated query was at least partially copy-pasted. If subsequent requests are issued after a copy-pasted query is constructed (e.g. with facet modifications), this bit should continue to be set for those requests. - example: - hasCopyPaste: true - QuerySuggestion: - required: - - query - properties: - missingTerm: - type: string - description: A query term missing from the original query on which this suggestion is based. - query: - type: string - description: The query being suggested (e.g. enforcing the missing term from the original query). - searchProviderInfo: - $ref: "#/components/schemas/SearchProviderInfo" - description: Information about the search provider that generated this suggestion. - label: - type: string - description: A user-facing description to display for the suggestion. - datasource: - type: string - description: The datasource associated with the suggestion. - resultTab: - $ref: "#/components/schemas/ResultTab" - description: The result tab associated with the suggestion. - requestOptions: - $ref: "#/components/schemas/SearchRequestOptions" - ranges: - type: array - items: - $ref: "#/components/schemas/TextRange" - description: The bolded ranges within the query of the QuerySuggestion. - inputDetails: - $ref: "#/components/schemas/SearchRequestInputDetails" - example: - query: app:github type:pull author:mortimer - label: Mortimer's PRs - datasource: github - Person: - required: - - name - - obfuscatedId - properties: - name: - type: string - description: The display name. - obfuscatedId: - type: string - description: An opaque identifier that can be used to request metadata for a Person. - relatedDocuments: - type: array - items: - $ref: "#/components/schemas/RelatedDocuments" - description: A list of documents related to this person. - metadata: - $ref: "#/components/schemas/PersonMetadata" - example: - name: George Clooney - obfuscatedId: abc123 - Company: - required: - - name - properties: - name: - type: string - description: User-friendly display name. - profileUrl: - type: string - description: Link to internal company company profile. - websiteUrls: - type: array - description: Link to company's associated websites. - items: - type: string - 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). - location: - type: string - description: User facing string representing the company's location. - example: New York City - phone: - type: string - description: Phone number as a number string. - fax: - type: string - description: Fax number as a number string. - industry: - type: string - description: User facing string representing the company's industry. - example: Finances - annualRevenue: - type: number - format: double - description: Average company's annual revenue for reference. - numberOfEmployees: - type: integer - format: int64 - description: Average company's number of employees for reference. - stockSymbol: - type: string - description: Company's stock symbol if company is public. - foundedDate: - type: string - format: date - description: The date when the company was founded. - about: - type: string - description: User facing description of company. - example: Financial, software, data, and media company headquartered in Midtown Manhattan, New York City - DocumentCounts: - type: object - description: A map of {string, int} pairs representing counts of each document type associated with this customer. - additionalProperties: - type: integer - CustomDataValue: - properties: - displayLabel: - type: string - stringValue: - type: string - stringListValue: - type: array - description: list of strings for multi-value properties - items: - type: string - numberValue: - type: number - booleanValue: - type: boolean - CustomData: - type: object - description: Custom fields specific to individual datasources - additionalProperties: - $ref: "#/components/schemas/CustomDataValue" - CustomerMetadata: - properties: - datasourceId: - type: string - description: The user visible id of the salesforce customer account. - 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 - company: - $ref: "#/components/schemas/Company" - documentCounts: - $ref: "#/components/schemas/DocumentCounts" - poc: - type: array - description: A list of POC for company. - items: - $ref: "#/components/schemas/Person" - metadata: - $ref: "#/components/schemas/CustomerMetadata" - mergedCustomers: - type: array - description: A list of Customers. - items: - $ref: "#/components/schemas/Customer" - startDate: - type: string - format: date - description: The date when the interaction with customer started. - contractAnnualRevenue: - type: number - format: double - description: Average contract annual revenue with that customer. - notes: - type: string - description: User facing (potentially generated) notes about company. - example: CIO is interested in trying out the product. - RelatedObject: - required: - - id - 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. - RelatedObjectEdge: - properties: - objects: - type: array - items: - $ref: "#/components/schemas/RelatedObject" - RelatedObjects: - properties: - relatedObjects: - type: object - description: A list of objects related to a source object. - additionalProperties: - $ref: "#/components/schemas/RelatedObjectEdge" - ScopeType: - type: string - description: Describes the scope for a ReadPermission, WritePermission, or GrantPermission object - enum: - - GLOBAL - - OWN - WritePermission: - description: Describes the write permissions levels that a user has for a specific feature - properties: - scopeType: - $ref: "#/components/schemas/ScopeType" - create: - type: boolean - description: True if user has create permission for this feature and scope - update: - type: boolean - description: True if user has update permission for this feature and scope - delete: - type: boolean - description: True if user has delete permission for this feature and scope - ObjectPermissions: - properties: - write: - $ref: "#/components/schemas/WritePermission" - PermissionedObject: - properties: - permissions: - $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" - 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 - customRelationshipStr: - type: string - description: Displayed name for the relationship if relationship is set to `OTHER`. - joinDate: - type: string - format: date-time - description: The team member's start date - TeamEmail: - properties: - email: - type: string - format: email - description: An email address - type: - type: string - default: OTHER - description: An enum of `PRIMARY`, `SECONDARY`, `ONCALL`, `OTHER` - type: object - required: - - email - - type - description: Information about a team's email - CustomFieldValueStr: - properties: - strText: - type: string - description: Text field for string value. - CustomFieldValueHyperlink: - properties: - urlAnchor: - type: string - description: Anchor text for hyperlink. - urlLink: - type: string - description: Link for this URL. - CustomFieldValuePerson: - properties: - person: - $ref: "#/components/schemas/Person" - CustomFieldValue: - oneOf: - - $ref: "#/components/schemas/CustomFieldValueStr" - - $ref: "#/components/schemas/CustomFieldValueHyperlink" - - $ref: "#/components/schemas/CustomFieldValuePerson" - CustomFieldData: - required: - - label - - values - - displayable - properties: - label: - type: string - description: A user-facing label for this field. - values: - type: array - items: - $ref: "#/components/schemas/CustomFieldValue" - displayable: - type: boolean - description: Determines whether the client should display this custom field - default: true - DatasourceProfile: - required: - - datasource - - handle - properties: - datasource: - type: string - example: github - description: The datasource the profile is of. - handle: - type: string - description: The display name of the entity in the given datasource. - url: - type: string - description: URL to view the entity's profile. - nativeAppUrl: - type: string - description: A deep link, if available, into the datasource's native application for the entity's platform (i.e. slack://...). - 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) - Team: - allOf: - - $ref: "#/components/schemas/RelatedObjects" - - $ref: "#/components/schemas/PermissionedObject" - - type: object - required: - - id - - name - properties: - id: - type: string - description: Unique identifier - name: - type: string - description: Team name - description: - type: string - description: A description of the team - businessUnit: - type: string - description: Typically the highest level organizational unit; generally applies to bigger companies with multiple distinct businesses. - department: - type: string - description: An organizational unit where everyone has a similar task, e.g. `Engineering`. - photoUrl: - type: string - format: url - description: A link to the team's photo. - bannerUrl: - type: string - format: url - description: A link to the team's banner photo. - externalLink: - type: string - format: uri - 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" - 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" - customFields: - type: array - description: Customizable fields for additional team information. - items: - $ref: "#/components/schemas/CustomFieldData" - datasourceProfiles: - type: array - description: The datasource profiles of the team - items: - $ref: "#/components/schemas/DatasourceProfile" - datasource: - type: string - description: the data source of the team, e.g. GDRIVE - createdFrom: - type: string - description: For teams created from docs, the doc title. Otherwise empty. - lastUpdatedAt: - type: string - format: date-time - 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 - canBeDeleted: - type: boolean - description: can this team be deleted. Some manually ingested teams like GCS_CSV or PUSH_API cannot - default: true - loggingId: - type: string - description: The logging id of the team used in scrubbed logs, client analytics, and metrics. - CustomEntityMetadata: - properties: - customData: - $ref: "#/components/schemas/CustomData" - GroupType: - type: string - description: The type of user group - enum: - - DEPARTMENT - - ALL - - TEAM - - JOB_TITLE - - ROLE_TYPE - - LOCATION - - REGION - - EXTERNAL_GROUP - Group: - required: - - type - - id - properties: - type: - $ref: "#/components/schemas/GroupType" - id: - type: string - description: A unique identifier for the group. May be the same as name. - name: - type: string - description: Name of the group. - datasourceInstance: - type: string - description: Datasource instance if the group belongs to one e.g. external groups. - provisioningId: - type: string - description: identifier for greenlist provisioning, aka sciokey - UserRole: - type: string - description: A user's role with respect to a specific document. - enum: - - OWNER - - VIEWER - - ANSWER_MODERATOR - - EDITOR - - VERIFIER - UserRoleSpecification: - required: - - role - properties: - sourceDocumentSpec: - $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" - group: - $ref: "#/components/schemas/Group" - role: - $ref: "#/components/schemas/UserRole" - CustomEntity: - allOf: - - $ref: "#/components/schemas/PermissionedObject" - - type: object - properties: - id: - type: string - description: Unique identifier. - title: - type: string - description: Title or name of the custom entity. - datasource: - type: string - description: The datasource the custom entity is from. - objectType: - type: string - description: The type of the entity. Interpretation is specific to each datasource - metadata: - $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" - AnswerId: - properties: - id: - type: integer - description: The opaque ID of the Answer. - example: 3 - AnswerDocId: - properties: - docId: - type: string - description: Glean Document ID of the Answer. The Glean Document ID is supported for cases where the Answer ID isn't available. If both are available, using the Answer ID is preferred. - example: ANSWERS_answer_3 - AnswerMutableProperties: - properties: - question: - type: string - example: Why is the sky blue? - questionVariations: - type: array - description: Additional ways of phrasing this question. - items: - type: string - bodyText: - type: string - description: The plain text answer to the question. - 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. - boardId: - type: integer - description: The parent board ID of this Answer, or 0 if it's a floating Answer. Adding Answers to Answer Boards is no longer permitted. - deprecated: true - x-glean-deprecated: - id: 3729bc64-8859-4159-b93c-ce2d5f0e7304 - introduced: "2026-02-05" - message: Answer Boards no longer supported - removal: "2026-10-15" - 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" - addedRoles: - type: array - description: A list of user roles for the answer added by the owner. - items: - $ref: "#/components/schemas/UserRoleSpecification" - removedRoles: - type: array - description: A list of user roles for the answer removed by the owner. - items: - $ref: "#/components/schemas/UserRoleSpecification" - roles: - type: array - description: A list of roles for this answer explicitly granted by an owner, editor, or admin. - items: - $ref: "#/components/schemas/UserRoleSpecification" - sourceDocumentSpec: - $ref: "#/components/schemas/DocumentSpec" - sourceType: - type: string - enum: - - DOCUMENT - - ASSISTANT - StructuredText: - allOf: - - $ref: "#/components/schemas/StructuredTextMutableProperties" - - type: object - properties: - structuredList: - type: array - items: - $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" - 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" - 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 - properties: - assignee: - $ref: "#/components/schemas/Person" - requestor: - $ref: "#/components/schemas/Person" - remindAt: - type: integer - description: Unix timestamp for when the reminder should trigger (in seconds since epoch UTC). - createdAt: - type: integer - description: Unix timestamp for when the reminder was first created (in seconds since epoch UTC). - 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"). - TimePoint: - properties: - epochSeconds: - type: integer - description: Epoch seconds. Has precedence over daysFromNow. - daysFromNow: - type: integer - description: Number of days in the past, relative to the current date. - Period: - properties: - minDaysFromNow: - type: integer - description: DEPRECATED - The number of days from now in the past to define upper boundary of time period. - deprecated: true - maxDaysFromNow: - type: integer - 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" - end: - $ref: "#/components/schemas/TimePoint" - CountInfo: - required: - - count - properties: - count: - type: integer - description: The counter value - 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 - properties: - lastVerifier: - $ref: "#/components/schemas/Person" - lastVerificationTs: - type: integer - description: The unix timestamp of the verification (in seconds since epoch UTC). - expirationTs: - type: integer - description: The unix timestamp of the verification expiration if applicable (in seconds since epoch UTC). - document: - $ref: "#/components/schemas/Document" - reminders: - type: array - items: - $ref: "#/components/schemas/Reminder" - description: Info about all outstanding verification reminders for the document if exists. - lastReminder: - $ref: "#/components/schemas/Reminder" - visitorCount: - type: array - items: - $ref: "#/components/schemas/CountInfo" - description: Number of visitors to the document during included time periods. - candidateVerifiers: - type: array - items: - $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 - properties: - state: - type: string - enum: - - UNVERIFIED - - VERIFIED - - DEPRECATED - description: The verification state for the document. - metadata: - $ref: "#/components/schemas/VerificationMetadata" - CollectionBaseMutableProperties: - required: - - name - properties: - name: - type: string - description: The unique name of the Collection. - description: - type: string - 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" - removedRoles: - type: array - description: A list of removed user roles for the Collection. - items: - $ref: "#/components/schemas/UserRoleSpecification" - audienceFilters: - type: array - items: - $ref: "#/components/schemas/FacetFilter" - description: Filters which restrict who should see this Collection. Values are taken from the corresponding filters in people search. - Thumbnail: - properties: - photoId: - type: string - description: Photo id if the thumbnail is from splash. - url: - type: string - description: Thumbnail URL. This can be user provided image and/or from downloaded images hosted by Glean. - CollectionMutableProperties: - allOf: - - $ref: "#/components/schemas/CollectionBaseMutableProperties" - - type: object - required: - - name - properties: - icon: - type: string - description: The emoji icon of this Collection. - adminLocked: - type: boolean - description: Indicates whether edits are allowed for everyone or only admins. - parentId: - type: integer - description: The parent of this Collection, or 0 if it's a top-level Collection. - thumbnail: - $ref: "#/components/schemas/Thumbnail" - allowedDatasource: - type: string - description: The datasource type this Collection can hold. - CollectionItemMutableProperties: - properties: - name: - type: string - description: The optional name of the Collection item. - description: - type: string - description: A helpful description of why this CollectionItem is in the Collection that it's in. - icon: - type: string - description: The emoji icon for this CollectionItem. Only used for Text type items. - UserGeneratedContentId: - properties: - id: - type: integer - description: The opaque id of the user generated content. - ShortcutMutableProperties: - properties: - inputAlias: - type: string - description: Link text following go/ prefix as entered by the user. - destinationUrl: - type: string - description: Destination URL for the shortcut. - destinationDocumentId: - type: string - description: Glean Document ID for the URL, if known. - description: - type: string - description: A short, plain text blurb to help people understand the intent of the shortcut. - unlisted: - type: boolean - description: Whether this shortcut is unlisted or not. Unlisted shortcuts are visible to author + admins only. - urlTemplate: - type: string - 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" - removedRoles: - type: array - description: A list of user roles removed for the Shortcut. - items: - $ref: "#/components/schemas/UserRoleSpecification" - ShortcutMetadata: - properties: - createdBy: - $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" - updateTime: - type: string - format: date-time - description: The time the shortcut was updated in ISO format (ISO 8601). - destinationDocument: - $ref: "#/components/schemas/Document" - description: Document that corresponds to the destination URL, if applicable. - intermediateUrl: - type: string - description: The URL from which the user is then redirected to the destination URL. Full replacement for https://go/. - viewPrefix: - type: string - description: The part of the shortcut preceding the input alias when used for showing shortcuts to users. Should end with "/". e.g. "go/" for native shortcuts. - isExternal: - type: boolean - description: Indicates whether a shortcut is native or external. - editUrl: - type: string - 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" - - type: object - required: - - inputAlias - properties: - alias: - type: string - description: canonical link text following go/ prefix where hyphen/underscore is removed. - title: - type: string - description: Title for the Go Link - roles: - type: array - description: A list of user roles for the Go Link. - items: - $ref: "#/components/schemas/UserRoleSpecification" - Collection: - allOf: - - $ref: "#/components/schemas/CollectionMutableProperties" - - $ref: "#/components/schemas/PermissionedObject" - - type: object - required: - - id - - description - properties: - id: - type: integer - description: The unique ID of the Collection. - createTime: - type: string - format: date-time - updateTime: - type: string - format: date-time - creator: - $ref: "#/components/schemas/Person" - updatedBy: - $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. - childCount: - type: integer - description: The number of children Collections. Separated from the actual children so we can grab the count without children. - items: - type: array - items: - $ref: "#/components/schemas/CollectionItem" - description: The items in this Collection. - pinMetadata: - $ref: "#/components/schemas/CollectionPinnedMetadata" - description: Metadata having what categories this Collection is pinned to and the eligible categories to pin to - shortcuts: - type: array - items: - type: string - description: The names of the shortcuts (Go Links) that point to this Collection. - children: - type: array - items: - $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" - CollectionItem: - allOf: - - $ref: "#/components/schemas/CollectionItemMutableProperties" - - type: object - required: - - collectionId - - itemType - properties: - collectionId: - type: integer - description: The Collection ID of the Collection that this CollectionItem belongs in. - documentId: - type: string - description: If this CollectionItem is indexed, the Glean Document ID of that document. - url: - type: string - description: The URL of this CollectionItem. - itemId: - type: string - description: Unique identifier for the item within the Collection it belongs to. - createdBy: - $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" - description: The Document this CollectionItem corresponds to (omitted if item is a non-indexed URL). - 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" - description: The Collection this CollectionItem corresponds to (only included if item type is COLLECTION). - itemType: - type: string - enum: - - DOCUMENT - - TEXT - - URL - - COLLECTION - CollectionPinnableCategories: - type: string - description: Categories a Collection can be pinned to. - enum: - - COMPANY_RESOURCE - - DEPARTMENT_RESOURCE - - TEAM_RESOURCE - CollectionPinnableTargets: - type: string - description: What targets can a Collection be pinned to. - enum: - - RESOURCE_CARD - - TEAM_PROFILE_PAGE - CollectionPinTarget: - required: - - category - properties: - category: - $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: - required: - - id - - target - properties: - id: - type: integer - description: The ID of the Collection. - target: - $ref: "#/components/schemas/CollectionPinTarget" - CollectionPinnedMetadata: - properties: - existingPins: - type: array - items: - $ref: "#/components/schemas/CollectionPinTarget" - description: List of targets this Collection is pinned to. - eligiblePins: - type: array - items: - $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" - - type: object - required: - - id - properties: - combinedAnswerText: - $ref: "#/components/schemas/StructuredText" - likes: - $ref: "#/components/schemas/AnswerLikes" - author: - $ref: "#/components/schemas/Person" - createTime: - type: string - format: date-time - description: The time the answer was created in ISO format (ISO 8601). - updateTime: - type: string - format: date-time - description: The time the answer was last updated in ISO format (ISO 8601). - updatedBy: - $ref: "#/components/schemas/Person" - verification: - $ref: "#/components/schemas/Verification" - collections: - type: array - description: The collections to which the answer belongs. - items: - $ref: "#/components/schemas/Collection" - documentCategory: - type: string - description: The document's document_category(.proto). - sourceDocument: - $ref: "#/components/schemas/Document" - 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 - description: Unique identifier for this actionRun recommendation event. - actionInstanceId: - type: string - description: The ID of the action instance that will be invoked. - actionId: - type: string - description: The ID of the associated action. - parameters: - type: object - description: Map of assistant predicted parameters and their corresponding values. - additionalProperties: - type: string - recommendationText: - type: string - description: Text to be displayed to the user when recommending the action instance. - actionLabel: - type: string - description: The label to be used when displaying a button to execute this action instance. - userConfirmationRequired: - type: boolean - description: Whether user confirmation is needed before executing this action instance. - GeneratedQna: - properties: - question: - type: string - description: Search query rephrased into a question. - answer: - type: string - description: Answer generated for the given query or the generated question. - followUpPrompts: - type: array - items: - 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" - ranges: - type: array - items: - $ref: "#/components/schemas/TextRange" - description: Answer subsections to mark with special formatting (citations, bolding etc) - status: - type: string - enum: - - COMPUTING - - DISABLED - - FAILED - - NO_ANSWER - - SKIPPED - - STREAMING - - SUCCEEDED - - TIMEOUT - description: Status of backend generating the answer - cursor: - type: string - description: An opaque cursor representing the search request - trackingToken: - 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" - - type: object - properties: - document: - $ref: "#/components/schemas/Document" - title: - type: string - url: - type: string - nativeAppUrl: - type: string - description: A deep link, if available, into the datasource's native application for the user's platform (e.g. slack://...). - snippets: - type: array - items: - $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 - relatedResults: - type: array - items: - $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" - allClusteredResults: - type: array - description: A list of results that should be displayed as associated with this result. - items: - $ref: "#/components/schemas/ClusterGroup" - 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" - 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" - clusterType: - $ref: "#/components/schemas/ClusterTypeEnum" - mustIncludeSuggestions: - $ref: "#/components/schemas/QuerySuggestionList" - querySuggestion: - $ref: "#/components/schemas/QuerySuggestion" - prominence: - $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" - example: - snippets: - - snippet: snippet - mimeType: mimeType - metadata: - container: container - createTime: "2000-01-23T04:56:07.000Z" - datasource: datasource - author: - name: name - documentId: documentId - updateTime: "2000-01-23T04:56:07.000Z" - mimeType: mimeType - objectType: objectType - title: title - url: https://example.com/foo/bar - nativeAppUrl: slack://foo/bar - mustIncludeSuggestions: - - missingTerm: container - query: container - ExtractedQnA: - properties: - heading: - type: string - description: Heading text that was matched to produce this result. - question: - type: string - description: Question text that was matched to produce this result. - questionResult: - $ref: "#/components/schemas/SearchResult" - CalendarAttendee: - required: - - person - properties: - isOrganizer: - type: boolean - description: Whether or not this attendee is an organizer. - isInGroup: - 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" - groupAttendees: - type: array - description: If this attendee is a group, represents the list of individual attendees in the group. - items: - $ref: "#/components/schemas/CalendarAttendee" - responseStatus: - type: string - enum: - - ACCEPTED - - DECLINED - - NO_RESPONSE - - TENTATIVE - CalendarAttendees: - properties: - people: - type: array - items: - $ref: "#/components/schemas/CalendarAttendee" - description: Full details of some of the attendees of this event - isLimit: - type: boolean - description: Whether the total count of the people returned is at the retrieval limit. - total: - type: integer - description: Total number of attendees in this event. - numAccepted: - type: integer - description: Total number of attendees who have accepted this event. - numDeclined: - type: integer - description: Total number of attendees who have declined this event. - numNoResponse: - type: integer - description: Total number of attendees who have not responded to this event. - numTentative: - type: integer - description: Total number of attendees who have responded tentatively (i.e. responded maybe) to this event. - Meeting: - properties: - id: - type: string - title: - type: string - description: - type: string - url: - type: string - startTime: - type: string - format: date-time - endTime: - type: string - format: date-time - attendees: - $ref: "#/components/schemas/CalendarAttendees" - description: The attendee list, including their response status - isCancelled: - type: boolean - description: Whether the meeting has been cancelled - location: - type: string - description: The location/venue of the meeting - responseStatus: - type: string - description: The current user's response status (accepted, declined, tentativelyAccepted, none) - conferenceUri: - type: string - description: The meeting join link (Teams, Zoom, etc.) - conferenceProvider: - type: string - description: The conference provider (e.g., "Microsoft Teams", "Zoom") - AppResult: - required: - - datasource - properties: - datasource: - type: string - description: The app or other repository type this represents - 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). - mimeType: - type: string - description: Mimetype is used to differentiate between sub applications from a datasource (e.g. Sheets, Docs from Gdrive) - iconUrl: - type: string - description: If there is available icon URL. - CodeLine: - properties: - lineNumber: - type: integer - content: - type: string - ranges: - type: array - items: - $ref: "#/components/schemas/TextRange" - description: Index ranges depicting matched sections of the line - Code: - properties: - repoName: - type: string - fileName: - type: string - fileUrl: - type: string - lines: - type: array - items: - $ref: "#/components/schemas/CodeLine" - isLastMatch: - type: boolean - description: Last file match for a repo - example: - repoName: scio - fileName: README.md - matches: - - lineNumber: 1 - content: Welcome to the beginning - ranges: [] - - lineNumber: 2 - content: Second line of the file - ranges: [] - - lineNumber: 3 - content: hello world hello world - ranges: - - startindex: 0 - endIndex: 5 - - startIndex: 12 - endIndex: 17 - QuerySuggestionList: - properties: - suggestions: - type: array - items: - $ref: "#/components/schemas/QuerySuggestion" - person: - $ref: "#/components/schemas/Person" - IconConfig: - description: Defines how to render an icon - properties: - generatedBackgroundColorKey: - type: string - backgroundColor: - type: string - color: - type: string - key: - type: string - iconType: - enum: - - COLLECTION - - CUSTOM - - DATASOURCE - - DATASOURCE_INSTANCE - - FAVICON - - FILE_TYPE - - GENERATED_BACKGROUND - - GLYPH - - MIME_TYPE - - NO_ICON - - PERSON - - REACTIONS - - URL - masked: - type: boolean - description: Whether the icon should be masked based on current theme. - name: - type: string - description: The name of the icon if applicable, e.g. the glyph name for `IconType.GLYPH` icons. - url: - type: string - description: The URL to an image to be displayed if applicable, e.g. the URL for `iconType.URL` icons. - 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 - description: The opaque id of the Chat. - createTime: - type: integer - description: Server Unix timestamp of the creation time (in seconds since epoch UTC). - createdBy: - $ref: "#/components/schemas/Person" - description: The user who created this Chat. - updateTime: - type: integer - description: Server Unix timestamp of the update time (in seconds since epoch UTC). - name: - type: string - description: The name of the Chat. - applicationId: - type: string - description: The ID of the AI App that this Chat is associated to. - applicationName: - type: string - description: The display name of the AI App that this Chat is associated to. - icon: - $ref: "#/components/schemas/IconConfig" - RelatedDocuments: - properties: - relation: - type: string - description: How this document relates to the including entity. - enum: - - ATTACHMENT - - CANONICAL - - CASE - - contact - - CONTACT - - CONVERSATION_MESSAGES - - EXPERT - - FROM - - HIGHLIGHT - - opportunity - - OPPORTUNITY - - RECENT - - SOURCE - - TICKET - - TRANSCRIPT - - WITH - x-enum-varnames: - - ATTACHMENT - - CANONICAL - - CASE - - CONTACT_LOWERCASE - - CONTACT - - CONVERSATION_MESSAGES - - EXPERT - - FROM - - HIGHLIGHT - - OPPORTUNITY_LOWERCASE - - OPPORTUNITY - - RECENT - - SOURCE - - TICKET - - TRANSCRIPT - - WITH - x-enumDescriptions: - CANONICAL: Canonical documents for the entity, such as overview docs, architecture docs elastic. - x-speakeasy-enum-descriptions: - CANONICAL: Canonical documents for the entity, such as overview docs, architecture docs elastic. - associatedEntityId: - 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" - documents: - type: array - items: - $ref: "#/components/schemas/Document" - description: A truncated list of documents with this relation. TO BE DEPRECATED. - deprecated: true - x-glean-deprecated: - id: 68de0429-b0cc-4b40-8061-f848788079a2 - introduced: "2026-02-05" - message: Field is deprecated - removal: "2026-10-15" - x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Field is deprecated" - results: - type: array - items: - $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: - question: - type: string - description: The text of the related question - answer: - type: string - description: The answer for the related question - ranges: - type: array - items: - $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 - Disambiguation: - type: object - description: A disambiguation between multiple entities with the same name - properties: - name: - type: string - description: Name of the ambiguous entity - id: - type: string - description: The unique id of the entity in the knowledge graph - type: - $ref: "#/components/schemas/EntityType" - SearchResultSnippet: - properties: - mimeType: - type: string - description: The mime type of the snippets, currently either text/plain or text/html. - text: - type: string - description: A matching snippet from the document with no highlights. - snippetTextOrdering: - type: integer - description: Used for sorting based off the snippet's location within all_snippetable_text - ranges: - type: array - items: - $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. - x-glean-deprecated: - id: e55ddf30-7c47-43a5-b775-d78f8b29411a - introduced: "2026-02-05" - message: Use 'text' field instead - removal: "2026-10-15" - x-includeEmpty: true - x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use 'text' field instead" - example: - 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" - person: - $ref: "#/components/schemas/Person" - customer: - $ref: "#/components/schemas/Customer" - team: - $ref: "#/components/schemas/Team" - customEntity: - $ref: "#/components/schemas/CustomEntity" - answer: - $ref: "#/components/schemas/Answer" - generatedQna: - $ref: "#/components/schemas/GeneratedQna" - extractedQnA: - $ref: "#/components/schemas/ExtractedQnA" - meeting: - $ref: "#/components/schemas/Meeting" - app: - $ref: "#/components/schemas/AppResult" - collection: - $ref: "#/components/schemas/Collection" - code: - $ref: "#/components/schemas/Code" - shortcut: - $ref: "#/components/schemas/Shortcut" - querySuggestions: - $ref: "#/components/schemas/QuerySuggestionList" - chat: - $ref: "#/components/schemas/ChatMetadata" - relatedDocuments: - type: array - items: - $ref: "#/components/schemas/RelatedDocuments" - description: A list of documents related to this structured result. - relatedQuestion: - $ref: "#/components/schemas/RelatedQuestion" - disambiguation: - $ref: "#/components/schemas/Disambiguation" - snippets: - description: Any snippets associated to the populated object. - type: array - items: - $ref: "#/components/schemas/SearchResultSnippet" - 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 - 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 - Result: - properties: - structuredResults: - type: array - description: An array of entities in the work graph retrieved via a data request. - items: - $ref: "#/components/schemas/StructuredResult" - 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 - - TITLE - - CONTENT - - NONE - - THREAD_REPLY - - THREAD_ROOT - - PREFIX - - SUFFIX - - AUTHOR_PREFIX - - AUTHOR_SUFFIX - 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" - clusterType: - $ref: "#/components/schemas/ClusterTypeEnum" - visibleCountHint: - type: integer - description: The default number of results to display before truncating and showing a "see more" link - SearchResultProminenceEnum: - type: string - 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. - PinDocumentMutableProperties: - properties: - queries: - type: array - description: The query strings for which the pinned result will show. - items: - type: string - 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" - PinDocument: - allOf: - - $ref: "#/components/schemas/PinDocumentMutableProperties" - - type: object - required: - - documentId - properties: - id: - type: string - description: The opaque id of the pin. - documentId: - type: string - 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" - attribution: - $ref: "#/components/schemas/Person" - updatedBy: - $ref: "#/components/schemas/Person" - createTime: - type: string - format: date-time - updateTime: - type: string - format: date-time - 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 - description: Unique identifier - name: - type: string - description: Team name - externalLink: - type: string - format: uri - 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 - joinDate: - type: string - format: date-time - description: The team member's start date - StructuredLocation: - type: object - description: Detailed location with information about country, state, city etc. - properties: - deskLocation: - type: string - description: Desk number. - timezone: - type: string - description: Location's timezone, e.g. UTC, PST. - address: - type: string - description: Office address or name. - city: - type: string - description: Name of the city. - state: - type: string - description: State code. - region: - type: string - description: Region information, e.g. NORAM, APAC. - zipCode: - type: string - description: ZIP Code for the address. - country: - type: string - description: Country name. - countryCode: - type: string - description: Alpha-2 or Alpha-3 ISO 3166 country code, e.g. US or USA. - SocialNetwork: - required: - - name - - profileUrl - properties: - name: - type: string - description: Possible values are "twitter", "linkedin". - profileName: - type: string - description: Human-readable profile name. - profileUrl: - type: string - format: url - description: Link to profile. - PersonDistance: - required: - - name - - obfuscatedId - - distance - properties: - name: - type: string - description: The display name. - obfuscatedId: - type: string - description: An opaque identifier that can be used to request metadata for a Person. - distance: - type: number - format: float - description: Distance to person, refer to PeopleDistance pipeline on interpretation of the value. - 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: - 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 - inviter: - description: The person that invited this person. - $ref: "#/components/schemas/Person" - inviteTime: - type: string - format: date-time - description: The time this person was invited in ISO format (ISO 8601). - reminderTime: - type: string - format: date-time - description: The time this person was reminded in ISO format (ISO 8601) if a reminder was sent. - InviteInfo: - description: Information regarding the invite status of a person. - properties: - signUpTime: - type: string - format: date-time - description: The time this person signed up in ISO format (ISO 8601). - invites: - type: array - items: - $ref: "#/components/schemas/ChannelInviteInfo" - description: Latest invites received by the user for each channel - inviter: - deprecated: true - description: The person that invited this person. - $ref: "#/components/schemas/Person" - x-glean-deprecated: - id: 1d3cd23f-9085-4378-b466-9bdc2e344a71 - 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" - inviteTime: - deprecated: true - type: string - format: date-time - description: The time this person was invited in ISO format (ISO 8601). - x-glean-deprecated: - id: 2dc3f572-cded-483d-af07-fc9fc7fd0ae4 - 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" - 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. - 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" - ReadPermission: - description: Describes the read permission level that a user has for a specific feature - properties: - scopeType: - $ref: "#/components/schemas/ScopeType" - 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" - 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" - GrantPermission: - description: Describes the grant permission level that a user has for a specific feature - properties: - scopeType: - $ref: "#/components/schemas/ScopeType" - 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" - 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 - description: TODO--deprecate in favor of the read and write properties. True if the user has access to /adminsearch - canAdminClientApiGlobalTokens: - type: boolean - description: TODO--deprecate in favor of the read and write properties. True if the user can administrate client API tokens with global scope - canDlp: - 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" - write: - $ref: "#/components/schemas/WritePermissions" - grant: - $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 - TimeInterval: - required: - - start - - end - properties: - start: - type: string - description: The RFC3339 timestamp formatted start time of this event. - end: - type: string - description: The RFC3339 timestamp formatted end time of this event. - AnonymousEvent: - description: A generic, light-weight calendar event. - type: object - properties: - time: - $ref: "#/components/schemas/TimeInterval" - eventType: - description: The nature of the event, for example "out of office". - type: string - enum: - - DEFAULT - - OUT_OF_OFFICE - Badge: - type: object - description: Displays a user's accomplishment or milestone - properties: - key: - type: string - description: An auto generated unique identifier. - displayName: - type: string - description: The badge name displayed to users - iconConfig: - $ref: "#/components/schemas/IconConfig" - pinned: - type: boolean - description: The badge should be shown on the PersonAttribution - example: - key: deployment_name_new_hire - displayName: New hire - iconConfig: - color: "#343CED" - key: person_icon - iconType: GLYPH - name: user - PersonMetadata: - 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-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. - 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. - firstName: - type: string - description: The first name of the person - lastName: - type: string - description: The last name of the person - title: - type: string - description: Job title. - businessUnit: - type: string - description: Typically the highest level organizational unit; generally applies to bigger companies with multiple distinct businesses. - department: - 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" - departmentCount: - type: integer - description: The number of people in this person's department. - email: - type: string - 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 - location: - type: string - description: User facing string representing the person's location. - 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" - 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" - phone: - type: string - description: Phone number as a number string. - timezone: - type: string - description: The timezone of the person. E.g. "Pacific Daylight Time". - timezoneOffset: - type: integer - format: int64 - description: The offset of the person's timezone in seconds from UTC. - timezoneIANA: - type: string - description: The IANA timezone identifier, e.g. "America/Los_Angeles". - photoUrl: - type: string - format: url - description: The URL of the person's avatar. Public, glean-authenticated and Base64 encoded data URLs are all valid (but not third-party-authenticated URLs). - uneditedPhotoUrl: - type: string - format: url - description: The original photo URL of the person's avatar before any edits they made are applied - bannerUrl: - type: string - format: url - description: The URL of the person's banner photo. - reports: - type: array - items: - $ref: "#/components/schemas/Person" - startDate: - type: string - description: The date when the employee started. - format: date - endDate: - type: string - format: date - description: If a former employee, the last date of employment. - bio: - type: string - description: Short biography or mission statement of the employee. - pronoun: - type: string - description: She/her, He/his or other pronoun. - orgSizeCount: - type: integer - description: The total recursive size of the people reporting to this person, or 1 - directReportsCount: - type: integer - description: The total number of people who directly report to this person, or 0 - preferredName: - 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" - datasourceProfile: - type: array - description: List of profiles this user has in different datasources / tools that they use. - items: - $ref: "#/components/schemas/DatasourceProfile" - querySuggestions: - $ref: "#/components/schemas/QuerySuggestionList" - peopleDistance: - type: array - items: - $ref: "#/components/schemas/PersonDistance" - description: List of people and distances to those people from this person. Optionally with metadata. - inviteInfo: - $ref: "#/components/schemas/InviteInfo" - isSignedUp: - type: boolean - description: Whether the user has signed into Glean at least once. - lastExtensionUse: - type: string - format: date-time - description: The last time the user has used the Glean extension in ISO 8601 format. - permissions: - $ref: "#/components/schemas/Permissions" - customFields: - type: array - description: User customizable fields for additional people information. - items: - $ref: "#/components/schemas/CustomFieldData" - loggingId: - type: string - description: The logging id of the person used in scrubbed logs, tracking GA metrics. - startDatePercentile: - type: number - format: float - description: Percentage of the company that started strictly after this person. Between [0,100). - busyEvents: - type: array - items: - $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 - additionalProperties: - type: boolean - description: flag settings to indicate user profile settings for certain items - badges: - type: array - items: - $ref: "#/components/schemas/Badge" - description: The badges that a user has earned over their lifetime. - isOrgRoot: - type: boolean - description: Whether this person is a "root" node in their organization's hierarchy. - example: - department: Movies - email: george@example.com - location: Hollywood, CA - phone: 6505551234 - photoUrl: https://example.com/george.jpg - startDate: "2000-01-23" - title: Actor - DocumentVisibility: - type: string - 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. - SPECIFIC_PEOPLE_AND_GROUPS: Only specific people and/or groups can see the document. - DOMAIN_LINK: Anyone in the domain with the link can see the document. - 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. - DOMAIN_LINK: Anyone in the domain with the link can see the document. - 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. - Reaction: - properties: - type: - type: string - count: - type: integer - description: The count of the reaction type on the document. - reactors: - type: array - items: - $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" - sharingDocument: - $ref: "#/components/schemas/Document" - DocumentInteractions: - properties: - numComments: - type: integer - description: The count of comments (thread replies in the case of slack). - numReactions: - type: integer - 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 - x-glean-deprecated: - id: cd754845-6eec-480f-b395-c93478aff563 - introduced: "2026-02-05" - message: Use reacts instead - removal: "2026-10-15" - x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use reacts instead" - reacts: - type: array - items: - $ref: "#/components/schemas/Reaction" - shares: - type: array - items: - $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" - ViewerInfo: - properties: - role: - type: string - enum: - - ANSWER_MODERATOR - - OWNER - - VIEWER - description: DEPRECATED - use permissions instead. Viewer's role on the specific document. - deprecated: true - x-glean-deprecated: - - id: fbc55efe-3e6c-485c-8b60-bab574c3813b - introduced: "2026-02-05" - kind: property - message: Use permissions instead - removal: "2026-10-15" - x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use permissions instead" - lastViewedTime: - type: string - format: date-time - IndexStatus: - properties: - lastCrawledTime: - description: When the document was last crawled - type: string - format: date-time - lastIndexedTime: - description: When the document was last indexed - type: string - format: date-time - DocumentMetadata: - properties: - datasource: - type: string - datasourceInstance: - type: string - description: The datasource instance from which the document was extracted. - objectType: - type: string - description: The type of the result. Interpretation is specific to each datasource. (e.g. for Jira issues, this is the issue type such as Bug or Feature Request). - container: - type: string - description: The name of the container (higher level parent, not direct parent) of the result. Interpretation is specific to each datasource (e.g. Channels for Slack, Project for Jira). cf. parentId - containerId: - type: string - description: The Glean Document ID of the container. Uniquely identifies the container. - superContainerId: - type: string - description: The Glean Document ID of the super container. Super container represents a broader abstraction that contains many containers. For example, whereas container might refer to a folder, super container would refer to a drive. - parentId: - type: string - description: The id of the direct parent of the result. Interpretation is specific to each datasource (e.g. parent issue for Jira). cf. container - mimeType: - type: string - documentId: - type: string - description: The index-wide unique identifier. - loggingId: - type: string - description: A unique identifier used to represent the document in any logging or feedback requests in place of documentId. - documentIdHash: - type: string - description: Hash of the Glean Document ID. - createTime: - type: string - format: date-time - updateTime: - type: string - format: date-time - author: - $ref: "#/components/schemas/Person" - owner: - $ref: "#/components/schemas/Person" - mentionedPeople: - type: array - items: - $ref: "#/components/schemas/Person" - description: A list of people mentioned in the document. - visibility: - $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 - 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). - statusCategory: - type: string - 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" - priority: - type: string - description: The document priority. Interpretation is datasource specific. - assignedTo: - $ref: "#/components/schemas/Person" - updatedBy: - $ref: "#/components/schemas/Person" - labels: - type: array - description: A list of tags for the document. Interpretation is datasource specific. - items: - type: string - collections: - type: array - description: A list of collections that the document belongs to. - items: - $ref: "#/components/schemas/Collection" - 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" - verification: - $ref: "#/components/schemas/Verification" - viewerInfo: - $ref: "#/components/schemas/ViewerInfo" - permissions: - $ref: "#/components/schemas/ObjectPermissions" - visitCount: - $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" - path: - type: string - description: For file datasources like onedrive/github etc this has the path to the file - customData: - $ref: "#/components/schemas/CustomData" - documentCategory: - type: string - description: The document's document_category(.proto). - contactPerson: - $ref: "#/components/schemas/Person" - thumbnail: - $ref: "#/components/schemas/Thumbnail" - description: A thumbnail image representing this document. - 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" - example: - container: container - parentId: JIRA_EN-1337 - createTime: "2000-01-23T04:56:07.000Z" - datasource: datasource - author: - name: name - documentId: documentId - updateTime: "2000-01-23T04:56:07.000Z" - mimeType: mimeType - objectType: Feature Request - components: - - Backend - - Networking - status: - - Done - customData: - someCustomField: someCustomValue - DocumentSection: - type: object - properties: - title: - type: string - description: The title of the document section (e.g. the section header). - url: - type: string - description: The permalink of the document section. - StructuredTextItem: - properties: - link: - type: string - example: https://en.wikipedia.org/wiki/Diffuse_sky_radiation - document: - deprecated: true - description: Deprecated. To be gradually migrated to structuredResult. - $ref: "#/components/schemas/Document" - 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" - AnnouncementMutableProperties: - properties: - startTime: - type: string - format: date-time - description: The date and time at which the announcement becomes active. - endTime: - type: string - format: date-time - description: The date and time at which the announcement expires. - title: - type: string - description: The headline of the announcement. - body: - $ref: "#/components/schemas/StructuredText" - emoji: - type: string - description: An emoji used to indicate the nature of the announcement. - thumbnail: - $ref: "#/components/schemas/Thumbnail" - banner: - $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" - sourceDocumentId: - type: string - description: The Glean Document ID of the source document this Announcement was created from (e.g. Slack thread). - hideAttribution: - type: boolean - description: Whether or not to hide an author attribution. - channel: - type: string - enum: - - MAIN - - SOCIAL_FEED - description: This determines whether this is a Social Feed post or a regular announcement. - postType: - type: string - enum: - - TEXT - - LINK - description: This determines whether this is an external-link post or a regular announcement post. TEXT - Regular announcement that can contain rich text. LINK - Announcement that is linked to an external site. - isPrioritized: - type: boolean - description: Used by the Social Feed to pin posts to the front of the feed. - viewUrl: - type: string - 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" - - type: object - required: - - title - - startTime - - endTime - DraftProperties: - properties: - draftId: - type: integer - description: The opaque id of the associated draft. - example: - draftId: 342 - Announcement: - allOf: - - $ref: "#/components/schemas/AnnouncementMutableProperties" - - $ref: "#/components/schemas/DraftProperties" - - $ref: "#/components/schemas/PermissionedObject" - - type: object - properties: - id: - type: integer - description: The opaque id of the announcement. - author: - $ref: "#/components/schemas/Person" - createTimestamp: - type: integer - description: Server Unix timestamp of the creation time (in seconds since epoch UTC). - lastUpdateTimestamp: - type: integer - description: Server Unix timestamp of the last update time (in seconds since epoch UTC). - updatedBy: - $ref: "#/components/schemas/Person" - viewerInfo: - type: object - properties: - isDismissed: - type: boolean - description: Whether the viewer has dismissed the announcement. - isRead: - type: boolean - description: Whether the viewer has read the announcement. - sourceDocument: - $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. - UpdateAnnouncementRequest: - allOf: - - $ref: "#/components/schemas/AnnouncementMutableProperties" - - type: object - required: - - id - - title - - startTime - - endTime - properties: - id: - type: integer - description: The opaque id of the announcement. - AddedCollections: - properties: - addedCollections: - type: array - items: - type: integer - description: IDs of Collections to which a document is added. - AnswerCreationData: - allOf: - - $ref: "#/components/schemas/AnswerMutableProperties" - - $ref: "#/components/schemas/AddedCollections" - - type: object - properties: - combinedAnswerText: - $ref: "#/components/schemas/StructuredTextMutableProperties" - CreateAnswerRequest: - required: - - data - properties: - data: - $ref: "#/components/schemas/AnswerCreationData" - DeleteAnswerRequest: - allOf: - - $ref: "#/components/schemas/AnswerId" - - $ref: "#/components/schemas/AnswerDocId" - - type: object - required: - - id - RemovedCollections: - properties: - removedCollections: - type: array - items: - type: integer - 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" - - type: object - required: - - id - properties: - combinedAnswerText: - $ref: "#/components/schemas/StructuredTextMutableProperties" - GetAnswerRequest: - allOf: - - $ref: "#/components/schemas/AnswerId" - - $ref: "#/components/schemas/AnswerDocId" - AnswerResult: - required: - - answer - properties: - answer: - $ref: "#/components/schemas/Answer" - trackingToken: - type: string - description: An opaque token that represents this particular Answer. To be used for `/feedback` reporting. - GetAnswerError: - properties: - errorType: - type: string - enum: - - NO_PERMISSION - - INVALID_ID - answerAuthor: - $ref: "#/components/schemas/Person" - GetAnswerResponse: - properties: - answerResult: - $ref: "#/components/schemas/AnswerResult" - error: - $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" - description: List of answers with tracking tokens. - AuthStatus: - type: string - description: The per-user authorization status for a datasource. - enum: - - DISABLED - - AWAITING_AUTH - - AUTHORIZED - - STALE_OAUTH - - SEG_MIGRATION - x-enum-varnames: - - AUTH_STATUS_DISABLED - - AUTH_STATUS_AWAITING_AUTH - - AUTH_STATUS_AUTHORIZED - - 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 - description: | - The instance identifier (e.g. "github", "github_enterprise_0", "slack_0"). Matches the instance names used in datasource configuration. - example: slack_0 - displayName: - type: string - description: Human-readable name of the datasource instance for display. - example: Slack - 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. - CheckDatasourceAuthResponse: - required: - - unauthorizedDatasourceInstances - properties: - unauthorizedDatasourceInstances: - type: array - description: | - Datasource instances that require per-user OAuth authorization. Empty when all datasources are authorized. - items: - $ref: "#/components/schemas/UnauthorizedDatasourceInstance" - CreateAuthTokenResponse: - required: - - token - - expirationTime - 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 - 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)." - enableCompanyTools: - type: boolean - description: "Whether the agent is allowed to search internal company resources (default: true)." - AgentConfig: - description: Describes the agent that executes the request. - properties: - agent: - type: string - 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 - GPT: Communicates directly with the LLM. This will soon be deprecated in favor of the FAST and ADVANCED `agent` values - UNIVERSAL: Uses both company and web knowledge. This will soon be deprecated in favor of the FAST and ADVANCED `agent` values - 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 - UNIVERSAL: Uses both company and web knowledge. This will soon be deprecated in favor of the FAST and ADVANCED `agent` values - 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. - toolSets: - $ref: "#/components/schemas/ToolSets" - mode: - type: string - 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. - ChatFileStatus: - type: string - description: Current status of the file. - x-include-enum-class-prefix: true - enum: - - PROCESSING - - PROCESSED - - PARTIALLY_PROCESSED - - FAILED - - DELETED - ChatFileFailureReason: - type: string - description: Reason for failed status. - x-include-enum-class-prefix: true - enum: - - PARSE_FAILED - - AV_SCAN_FAILED - - FILE_TOO_SMALL - - FILE_TOO_LARGE - - FILE_EXTENSION_UNSUPPORTED - - FILE_METADATA_VALIDATION_FAIL - - FILE_PROCESSING_TIMED_OUT - - OAUTH_NEEDED - - URL_FETCH_FAILED - - EMPTY_CONTENT - - AUTH_REQUIRED - ChatFileMetadata: - type: object - description: Metadata of a file uploaded by a user for Chat. - properties: - status: - $ref: "#/components/schemas/ChatFileStatus" - uploadTime: - type: integer - format: int64 - description: Upload time, in epoch seconds. - processedSize: - type: integer - format: int64 - description: Size of the processed file in bytes. - failureReason: - $ref: "#/components/schemas/ChatFileFailureReason" - mimeType: - description: MIME type of the file. - type: string - ChatFile: - type: object - description: Structure for file uploaded by a user for Chat. - properties: - id: - type: string - description: Unique identifier of the file. - example: FILE_1234 - url: - type: string - description: Url of the file. - example: www.google.com - name: - type: string - description: Name of the uploaded file. - example: sample.pdf - metadata: - $ref: "#/components/schemas/ChatFileMetadata" - 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" - snippets: - type: array - items: - $ref: "#/components/schemas/SearchResultSnippet" - 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" - sourceFile: - $ref: "#/components/schemas/ChatFile" - sourcePerson: - $ref: "#/components/schemas/Person" - sourceCustomEntity: - $ref: "#/components/schemas/CustomEntity" - referenceRanges: - description: Each reference range and its corresponding snippets - type: array - items: - $ref: "#/components/schemas/ReferenceRange" - displayName: - description: Human understandable name of the tool. Max 50 characters. - type: string - logoUrl: - type: string - description: URL used to fetch the logo. - objectName: - type: string - description: Name of the generated object. This will be used to indicate to the end user what the generated object contains. - example: - - HR ticket - - Email - - Chat message - PersonObject: - required: - - name - - obfuscatedId - properties: - name: - type: string - description: The display name. - obfuscatedId: - type: string - description: An opaque identifier that can be used to request metadata for a Person. - AuthConfig: - description: Config for tool's authentication method. - type: object - properties: - isOnPrem: - type: boolean - description: Whether or not this tool is hosted on-premise. - usesCentralAuth: - type: boolean - description: Whether or not this uses central auth. - type: - type: string - enum: - - NONE - - OAUTH_USER - - OAUTH_ADMIN - - API_KEY - - BASIC_AUTH - - DWD - description: | - The type of authentication being used. - Use 'OAUTH_*' when Glean calls an external API (e.g., Jira) on behalf of a user to obtain an OAuth token. - 'OAUTH_ADMIN' utilizes an admin token for external API calls on behalf all users. - 'OAUTH_USER' uses individual user tokens for external API calls. - 'DWD' refers to domain wide delegation. - grantType: - type: string - enum: - - AUTH_CODE - - CLIENT_CREDENTIALS - description: The type of grant type being used. - status: - type: string - description: Auth status of the tool. - enum: - - AWAITING_AUTH - - AUTHORIZED - - AUTH_DISABLED - client_url: - type: string - format: url - description: The URL where users will be directed to start the OAuth flow. - scopes: - type: array - items: - type: string - description: A list of strings denoting the different scopes or access levels required by the tool. - audiences: - type: array - items: - type: string - description: A list of strings denoting the different audience which can access the tool. - authorization_url: - type: string - format: url - description: The OAuth provider's endpoint, where access tokens are requested. - resource: - type: string - format: url - description: 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. - token_endpoint_auth_method: - type: string - enum: - - client_secret_post - - client_secret_basic - - none - description: 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). - lastAuthorizedAt: - type: string - format: date-time - description: The time the tool was last authorized in ISO format (ISO 8601). - 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 - name: - description: Unique identifier for the tool. Name should be understandable by the LLM, and will be used to invoke a tool. - type: string - 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 - logoUrl: - $ref: "#/components/schemas/logoUrl" - 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 - createdBy: - $ref: "#/components/schemas/PersonObject" - lastUpdatedBy: - $ref: "#/components/schemas/PersonObject" - createdAt: - type: string - format: date-time - description: The time the tool was created in ISO format (ISO 8601) - lastUpdatedAt: - type: string - format: date-time - 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 - authType: - type: string - enum: - - NONE - - OAUTH_USER - - OAUTH_ADMIN - - API_KEY - - BASIC_AUTH - - DWD - description: | - The type of authentication being used. - Use 'OAUTH_*' when Glean calls an external API (e.g., Jira) on behalf of a user to obtain an OAuth token. - 'OAUTH_ADMIN' utilizes an admin token for external API calls on behalf all users. - 'OAUTH_USER' uses individual user tokens for external API calls. - 'DWD' refers to domain wide delegation. - auth: - deprecated: true - $ref: "#/components/schemas/AuthConfig" - permissions: - deprecated: true - $ref: "#/components/schemas/ObjectPermissions" - usageInstructions: - description: Usage instructions for the LLM to use this action. - type: string - isSetupFinished: - type: boolean - description: Whether this action has been fully configured and validated. - PossibleValue: - type: object - description: Possible value of a specific parameter - properties: - value: - type: string - description: Possible value - label: - type: string - description: User-friendly label associated with the value - WriteActionParameter: - type: object - properties: - type: - type: string - description: The type of the value (e.g., integer, string, boolean, etc.) - enum: - - UNKNOWN - - INTEGER - - STRING - - BOOLEAN - displayName: - type: string - description: Human readable display name for the key. - value: - type: string - description: The value of the field. - isRequired: - type: boolean - description: Is the parameter a required field. - description: - type: string - description: Description of the parameter. - possibleValues: - type: array - items: - $ref: "#/components/schemas/PossibleValue" - description: Possible values that the parameter can take. - ToolInfo: - type: object - properties: - metadata: - $ref: "#/components/schemas/ToolMetadata" - parameters: - type: object - description: Parameters supported by the tool. - additionalProperties: - $ref: "#/components/schemas/WriteActionParameter" - 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" - - type: object - properties: - text: - type: string - querySuggestion: - description: The search queries issued while responding. - $ref: "#/components/schemas/QuerySuggestion" - file: - description: Files referenced in the message fragment. This is used to construct rich-text messages with file references. - $ref: "#/components/schemas/ChatFile" - action: - description: Basic information about an action. This can be used to construct rich-text messages with action references. - $ref: "#/components/schemas/ToolInfo" - citation: - description: Inline citation. - $ref: "#/components/schemas/ChatMessageCitation" - ChatMessage: - description: A message that is rendered as one coherent unit with one given sender. - properties: - 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 - 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." - deprecated: true - x-glean-deprecated: - id: 6446f85e-c90e-4c00-9717-796f9db3dc61 - introduced: "2026-02-06" - message: Use inline citations via ChatMessageFragment.citation and ChatMessageCitation.referenceRanges instead. This field is still populated for backward compatibility. - removal: "2026-10-15" - x-speakeasy-deprecation-message: "Deprecated on 2026-02-06, removal scheduled for 2026-10-15: Use inline citations via ChatMessageFragment.citation and ChatMessageCitation.referenceRanges instead. This field is still populated for backward compatibility." - uploadedFileIds: - type: array - items: - type: string - 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" - ts: - type: string - description: Response timestamp of the message. - messageId: - type: string - description: A unique server-side generated ID used to identify a message, automatically populated for any USER authored messages. - messageTrackingToken: - type: string - description: Opaque tracking token generated server-side. - messageType: - type: string - default: CONTENT - 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. - x-enumDescriptions: - UPDATE: An intermediate state message for progress updates. - CONTENT: A user query or response message. - CONTEXT: A message providing context in addition to the user query. - CONTROL: Control signal for message streaming. - CONTROL_START: Control signal indicating the start of a message stream. - CONTROL_FINISH: Control signal indicating the end of a message stream. - CONTROL_CANCEL: Control signal indicating the message stream was cancelled. - CONTROL_RETRY: Indicates the message streaming needed to be retried. - CONTROL_UNKNOWN: Fallback control signal for unrecognized control types. - DEBUG: A debug message. Strictly used internally. - DEBUG_EXTERNAL: A debug message to be used while debugging Action creation. - ERROR: A message that describes an error while processing the request. - 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. - CONTEXT: A message providing context in addition to the user query. - CONTROL: Control signal for message streaming. - CONTROL_START: Control signal indicating the start of a message stream. - CONTROL_FINISH: Control signal indicating the end of a message stream. - CONTROL_CANCEL: Control signal indicating the message stream was cancelled. - CONTROL_RETRY: Indicates the message streaming needed to be retried. - CONTROL_UNKNOWN: Fallback control signal for unrecognized control types. - DEBUG: A debug message. Strictly used internally. - DEBUG_EXTERNAL: A debug message to be used while debugging Action creation. - ERROR: A message that describes an error while processing the request. - 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. - hasMoreFragments: - deprecated: true - type: boolean - description: Signals there are additional response fragments incoming. - 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" - 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. - chatId: - 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" - description: Describes the agent that will execute the request. - ChatRestrictionFilters: - allOf: - - $ref: "#/components/schemas/RestrictionFilters" - - type: object - properties: - documentSpecs: - type: array - items: - $ref: "#/components/schemas/DocumentSpec" - datasourceInstances: - type: array - items: - type: string - ChatRequest: - allOf: - - $ref: "#/components/schemas/ChatRequestBase" - - type: object - properties: - inclusions: - $ref: "#/components/schemas/ChatRestrictionFilters" - description: A list of filters which only allows chat to access certain content. - exclusions: - $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 - description: Timeout in milliseconds for the request. A `408` error will be returned if handling the request takes longer. - example: 30000 - applicationId: - type: string - description: The ID of the application this request originates from, used to determine the configuration of underlying chat processes. This should correspond to the ID set during admin setup. If not specified, the default chat experience will be used. - agentId: - type: string - description: The ID of the Agent that should process this chat request. Only Agents with trigger set to 'User chat message' are invokable through this API. If not specified, the default chat experience will be used. - stream: - 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" - chatId: - type: string - description: The id of the associated Chat the messages belong to, if one exists. - chat: - $ref: "#/components/schemas/ChatMetadata" - followUpPrompts: - type: array - items: - type: string - description: Follow-up prompts for the user to potentially use - backendTimeMillis: - type: integer - format: int64 - description: Time in milliseconds the backend took to respond to the request. - example: 1100 - chatSessionTrackingToken: - type: string - description: A token that is used to track the session. - 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 - properties: - id: - type: string - description: The id of the Chat to be retrieved. - 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" - properties: - messages: - type: array - items: - $ref: "#/components/schemas/ChatMessage" - description: The chat messages within a Chat. - roles: - type: array - items: - $ref: "#/components/schemas/UserRoleSpecification" - description: A list of roles for this Chat. - ChatResult: - properties: - 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" - ChatMetadataResult: - properties: - chat: - $ref: "#/components/schemas/ChatMetadata" - trackingToken: - type: string - description: An opaque token that represents this particular Chat. To be used for `/feedback` reporting. - ListChatsResponse: - properties: - chatResults: - type: array - items: - $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. - ChatApplicationDetails: {} - GetChatApplicationResponse: - properties: - application: - $ref: "#/components/schemas/ChatApplicationDetails" - UploadChatFilesRequest: - required: - - files - properties: - files: - type: array - items: - type: string - format: binary - description: Raw files to be uploaded for chat in binary format. - UploadChatFilesResponse: - properties: - files: - type: array - items: - $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. - GetChatFilesResponse: - properties: - files: - description: A map of file IDs to ChatFile structs. - type: object - additionalProperties: - $ref: "#/components/schemas/ChatFile" - DeleteChatFilesRequest: - required: - - fileIds - properties: - fileIds: - type: array - items: - type: string - description: IDs of files to delete. - Agent: - title: Agent - type: object - required: - - agent_id - - name - - capabilities - properties: - agent_id: - type: string - title: Agent Id - description: The ID of the agent. - example: mho4lwzylcozgoc2 - name: - type: string - title: Agent Name - description: The name of the agent - example: HR Policy Agent - description: - type: string - title: Description - description: The description of the agent. - example: This agent answers questions about the current company HR policies. - metadata: - type: object - title: Metadata - 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 - title: Messages - description: Whether the agent supports messages as an input. If true, you'll pass `messages` as an input when running the agent. - ap.io.streaming: - type: boolean - title: Streaming - description: Whether the agent supports streaming output. If true, you you can stream agent ouput. All agents currently support streaming. - additionalProperties: true - ErrorResponse: - type: object - description: Error response returned for failed requests - properties: - message: - type: string - description: Client-facing error message describing what went wrong - ActionSummary: - type: object - description: Represents a minimal summary of an action. - required: - - tool_id - - display_name - properties: - tool_id: - type: string - description: The unique identifier of the action. - display_name: - type: string - description: The display name of the action. - type: - type: string - description: The type of tool - RETRIEVAL for read-only operations, ACTION for operations that modify data. - auth_type: - type: string - description: The authentication type required - OAUTH_USER, OAUTH_ADMIN, API_KEY, BASIC_AUTH, DWD (domain-wide delegation), or NONE. - write_action_type: - type: string - description: For write actions only - REDIRECT (client renders URL) or EXECUTION (external server call). - is_setup_finished: - type: boolean - description: Whether this action has been fully configured and validated. - x-includeEmpty: true - data_source: - type: string - description: | - Indicates the kind of knowledge a tool would access or modify. - Company knowledge: - - Glean search, and any native tools that derive from it (e.g., expert search, code search) - - Native federated tools to company data sources (e.g., outlook search) - World knowledge: - - Platform action like bravewebsearch, geminiwebsearch, etc - 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) - AgentSchemas: - properties: - agent_id: - type: string - title: Agent Id - description: The ID of the agent. - example: mho4lwzylcozgoc2 - name: - type: string - title: Agent Name - description: The name of the agent. - example: HR Policy Agent - input_schema: - type: object - title: Input Schema - description: The schema for the agent input. In JSON Schema format. - output_schema: - type: object - title: Output Schema - description: The schema for the agent output. In JSON Schema format. - tools: - type: array - 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 - required: - - agent_id - - input_schema - - output_schema - title: AgentSchemas - description: Defines the structure and properties of an agent. - SearchAgentsRequest: - type: object - properties: - name: - type: string - description: Filters on the name of the agent. The keyword search is case-insensitive. If search string is ommited or empty, acts as no filter. - example: HR Policy Agent - SearchAgentsResponse: - type: object - title: Response Search Agents - properties: - agents: - type: array - items: - $ref: "#/components/schemas/Agent" - ContentType: - type: string - enum: - - text - Message: - type: object - properties: - role: - type: string - title: Role - description: The role of the message. - example: USER - content: - title: Content - description: The content of the message. - type: array - items: - type: object - properties: - text: - type: string - type: - $ref: "#/components/schemas/ContentType" - required: - - text - - type - title: MessageTextBlock - 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 - title: Agent Id - description: The ID of the agent to run. - input: - type: object - title: Input - description: The input to the agent. Required when the agent uses an input form trigger. - additionalProperties: true - messages: - type: array - items: - $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 - AgentExecutionStatus: - description: The status of the run. One of 'error', 'success'. - type: string - enum: - - error - - success - title: AgentExecutionStatus - AgentRun: - allOf: - - $ref: "#/components/schemas/AgentRunCreate" - - type: object - properties: - status: - $ref: "#/components/schemas/AgentExecutionStatus" - AgentRunWaitResponse: - type: object - properties: - run: - $ref: "#/components/schemas/AgentRun" - title: Run - description: The run information. - messages: - type: array - items: - $ref: "#/components/schemas/Message" - title: Messages - description: The messages returned by the run. - CollectionItemDescriptor: - allOf: - - $ref: "#/components/schemas/CollectionItemMutableProperties" - properties: - url: - type: string - description: The URL of the item being added. - documentId: - type: string - description: The Glean Document ID of the item being added if it's an indexed document. - newNextItemId: - type: string - description: The (optional) ItemId of the next CollectionItem in sequence. If omitted, will be added to the end of the Collection - itemType: - type: string - enum: - - DOCUMENT - - TEXT - - URL - AddCollectionItemsRequest: - required: - - collectionId - properties: - collectionId: - type: number - description: The ID of the Collection to add items to. - addedCollectionItemDescriptors: - type: array - items: - $ref: "#/components/schemas/CollectionItemDescriptor" - description: The CollectionItemDescriptors of the items being added. - AddCollectionItemsError: - properties: - errorType: - type: string - enum: - - EXISTING_ITEM - AddCollectionItemsResponse: - properties: - collection: - $ref: "#/components/schemas/Collection" - description: The modified Collection. Only CollectionItemMutableProperties are set for each item. - error: - $ref: "#/components/schemas/AddCollectionItemsError" - CreateCollectionRequest: - allOf: - - $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 - enum: - - NAME_EXISTS - - NOT_FOUND - - COLLECTION_PINNED - - CONCURRENT_HIERARCHY_EDIT - - HEIGHT_VIOLATION - - WIDTH_VIOLATION - - NO_PERMISSIONS - CreateCollectionResponse: - allOf: - - type: object - anyOf: - - required: - - collection - - required: - - error - properties: - collection: - $ref: "#/components/schemas/Collection" - error: - $ref: "#/components/schemas/CollectionError" - DeleteCollectionRequest: - required: - - ids - properties: - ids: - type: array - items: - type: integer - description: The IDs of the Collections to delete. - allowedDatasource: - type: string - description: The datasource allowed in the Collection to be deleted. - DeleteCollectionItemRequest: - required: - - collectionId - - itemId - properties: - collectionId: - type: number - description: The ID of the Collection to remove an item in. - itemId: - type: string - description: The item ID of the CollectionItem to remove from this Collection. - documentId: - type: string - description: The (optional) Glean Document ID of the CollectionItem to remove from this Collection if this is an indexed document. - DeleteCollectionItemResponse: - properties: - collection: - $ref: "#/components/schemas/Collection" - description: The modified Collection. Only CollectionItemMutableProperties are set for each item. - EditCollectionRequest: - allOf: - - $ref: "#/components/schemas/CollectionMutableProperties" - - type: object - required: - - id - properties: - id: - type: integer - description: The ID of the Collection to modify. - EditCollectionResponse: - allOf: - - $ref: "#/components/schemas/Collection" - - $ref: "#/components/schemas/CollectionError" - - type: object - properties: - collection: - $ref: "#/components/schemas/Collection" - error: - $ref: "#/components/schemas/CollectionError" - EditCollectionItemRequest: - required: - - collectionId - - itemId - allOf: - - $ref: "#/components/schemas/CollectionItemMutableProperties" - - type: object - properties: - collectionId: - type: integer - description: The ID of the Collection to edit CollectionItems in. - itemId: - type: string - description: The ID of the CollectionItem to edit. - EditCollectionItemResponse: - properties: - collection: - $ref: "#/components/schemas/Collection" - description: The modified Collection. Only CollectionItemMutableProperties are set for each item. - GetCollectionRequest: - required: - - id - properties: - id: - type: integer - description: The ID of the Collection to be retrieved. - withItems: - type: boolean - description: Whether or not to include the Collection Items in this Collection. Only request if absolutely required, as this is expensive. - withHierarchy: - type: boolean - description: Whether or not to include the top level Collection in this Collection's hierarchy. - allowedDatasource: - type: string - description: The datasource allowed in the Collection returned. - GetCollectionResponse: - properties: - collection: - $ref: "#/components/schemas/Collection" - rootCollection: - $ref: "#/components/schemas/Collection" - trackingToken: - type: string - description: An opaque token that represents this particular Collection. To be used for `/feedback` reporting. - error: - $ref: "#/components/schemas/CollectionError" - ListCollectionsRequest: - properties: - includeAudience: - type: boolean - description: Whether to include the audience filters with the listed Collections. - includeRoles: - type: boolean - description: Whether to include the editor roles with the listed Collections. - allowedDatasource: - type: string - description: |- - 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" - description: List of all Collections, no Collection items are fetched. - GetDocPermissionsRequest: - type: object - properties: - documentId: - type: string - description: The Glean Document ID to retrieve permissions for. - GetDocPermissionsResponse: - type: object - properties: - allowedUserEmails: - type: array - items: - 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" - 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 + 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: - - LAST_VIEWED_AT - - VISITORS_COUNT - - RECENT_SHARES - - DOCUMENT_CONTENT - - CUSTOM_METADATA - DocumentOrError: - x-omit-error-on-success: true - oneOf: - - $ref: "#/components/schemas/Document" - - type: object - required: - - error - properties: - error: - type: string - description: The text for error, reason. - x-is-error-field: true - GetDocumentsResponse: - properties: - documents: - type: object - additionalProperties: - $ref: "#/components/schemas/DocumentOrError" - description: The document details or the error if document is not found. - GetDocumentsByFacetsRequest: - required: - - filterSets - properties: - datasourcesFilter: - type: array - items: - type: string - description: Filter results to one or more datasources (e.g. gmail, slack). All results are returned if missing. - filterSets: - type: array - items: - $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. - GetDocumentsByFacetsResponse: - properties: - documents: - type: array - items: - $ref: "#/components/schemas/Document" - description: The document details, ordered by score. - hasMoreResults: - type: boolean - description: Whether more results are available. Use cursor to retrieve them. - cursor: - type: string - description: Cursor that indicates the start of the next page of results. To be passed in "more" requests for this query. - InsightsOverviewRequest: - properties: - departments: - type: array - items: - type: string - description: Departments for which Insights are requested. - dayRange: - $ref: "#/components/schemas/Period" - description: Time period for which Insights are requested. - InsightsAssistantRequest: - properties: - departments: - type: array - items: - type: string - description: Departments for which Insights are requested. - dayRange: - $ref: "#/components/schemas/Period" - description: Time period for which Insights are requested. - AgentsInsightsV2Request: - properties: - agentIds: - type: array - items: - type: string - description: IDs of the Agents for which Insights should be returned. An empty array signifies all. - departments: - type: array - items: - type: string - description: Departments for which Insights are requested. - dayRange: - $ref: "#/components/schemas/Period" - description: Time period for which Insights are requested. - InsightsRequest: - properties: - overviewRequest: - $ref: "#/components/schemas/InsightsOverviewRequest" - x-visibility: Public - description: If specified, will return data for the Overview section of the Insights Dashboard. - assistantRequest: - $ref: "#/components/schemas/InsightsAssistantRequest" - x-visibility: Public - description: If specified, will return data for the Assistant section of the Insights Dashboard. - agentsRequest: - $ref: "#/components/schemas/AgentsInsightsV2Request" - x-visibility: Public - description: If specified, will return data for the Agents section of the Insights Dashboard. - 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" - activity: - type: string - enum: - - ALL - - SEARCH - description: Activity e.g. search, home page visit or all. - lastActivityTimestamp: - type: integer - description: Unix timestamp of the last activity (in seconds since epoch UTC). - activityCount: - $ref: "#/components/schemas/CountInfo" - activeDayCount: - $ref: "#/components/schemas/CountInfo" - GleanAssistInsightsResponse: - properties: - lastLogTimestamp: - type: integer - description: Unix timestamp of the last activity processed to make the response (in seconds since epoch UTC). - activityInsights: - type: array - items: - $ref: "#/components/schemas/UserActivityInsight" - description: Insights for all active users with respect to set of actions. - totalActiveUsers: - type: integer - description: Total number of active users in the requested period. - datasourceInstances: - type: array - items: - type: string - description: List of datasource instances for which glean assist is enabled. - departments: - type: array - items: - type: string - description: List of departments applicable for users tab. - CurrentActiveUsers: - properties: - monthlyActiveUsers: - type: integer - description: Number of current Monthly Active Users, in the specified departments. - weeklyActiveUsers: - type: integer - description: Number of current Weekly Active Users, in the specified departments. - InsightsSearchSummary: - allOf: - - $ref: "#/components/schemas/CurrentActiveUsers" - - type: object - properties: - numSearches: - type: integer - description: Total number of searches by users over the specified time period. - numSearchUsers: - type: integer - description: Total number of distinct users who searched over the specified time period. - InsightsChatSummary: - allOf: - - $ref: "#/components/schemas/CurrentActiveUsers" - - type: object - properties: - numChats: - type: integer - description: Total number of chats by users over the specified time period. - numChatUsers: - type: integer - description: Total number of distinct users who used Chat over the specified time period. - InsightsDepartmentsSummary: - allOf: - - $ref: "#/components/schemas/CurrentActiveUsers" - - type: object - properties: - departments: - type: array - items: - type: string - description: Department name(s). - employeeCount: - type: integer - description: Number of current employees in the specified departments, according to the Org Chart. - totalSignups: - type: integer - description: Number of current signed up employees in the specified departments, according to the Org Chart. - searchSummary: - $ref: "#/components/schemas/InsightsSearchSummary" - chatSummary: - $ref: "#/components/schemas/InsightsChatSummary" - searchActiveUsers: - $ref: "#/components/schemas/CurrentActiveUsers" - description: Search-specific active user counts for the specified departments. - assistantActiveUsers: - $ref: "#/components/schemas/CurrentActiveUsers" - description: Assistant-specific active user counts for the specified departments. - agentsActiveUsers: - $ref: "#/components/schemas/CurrentActiveUsers" - description: Agents-specific active user counts for the specified departments. - extensionSummary: - $ref: "#/components/schemas/CurrentActiveUsers" - ugcSummary: - $ref: "#/components/schemas/CurrentActiveUsers" - LabeledCountInfo: - required: - - label - properties: - label: - type: string - description: Label for the included count information. - countInfo: - type: array - items: - $ref: "#/components/schemas/CountInfo" - description: List of data points for counts for a given date period. - PerUserInsight: - properties: - person: - $ref: "#/components/schemas/Person" - numSearches: - type: integer - description: Total number of searches by this user over the specified time period. - numChats: - type: integer - description: Total number of chats by this user over the specified time period. - numActiveSessions: - type: integer - description: Total number of active sessions by this user in a Glean client over the specified time period. - numGleanbotUsefulResponses: - type: integer - description: Total number of Gleanbot responses marked useful by this user over the specified time period. - numDaysActive: - type: integer - description: Total number of days this user was an Active User over the specified time period. - numSummarizations: - type: integer - description: Total number of summarized items by this user over the specified time period. - numAiAnswers: - type: integer - description: Total number of AI Answers interacted with by this user over the specified time period. - numAgentRuns: - type: integer - description: Total number of agent runs for this user over the specified time period. - InsightsOverviewResponse: - allOf: - - $ref: "#/components/schemas/InsightsDepartmentsSummary" - - type: object - properties: - lastUpdatedTs: - type: integer - description: Unix timestamp of the last update for the insights data in the response. - searchSessionSatisfaction: - type: number - format: float - description: Search session satisfaction rate, over the specified time period in the specified departments. - monthlyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - weeklyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - dailyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - searchMonthlyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - searchWeeklyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - searchDailyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - assistantMonthlyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - assistantWeeklyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - assistantDailyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - agentsMonthlyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - agentsWeeklyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - agentsDailyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - searchesTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - assistantInteractionsTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - agentRunsTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - searchDatasourceCounts: - type: object - additionalProperties: - type: integer - description: Counts of search result clicks, by datasource, over the specified time period in the specified departments. - chatDatasourceCounts: - type: object - additionalProperties: - type: integer - description: Counts of cited documents in chat, by datasource, over the specified time period in the specified departments. - perUserInsights: - type: array - items: - $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" - numChatMessages: - type: integer - description: Total number of chat messages sent by this user over the specified time period. - numSummarizations: - type: integer - description: Total number of summarized items by this user over the specified time period. - numAiAnswers: - type: integer - description: Total number of AI Answers interacted with by this user over the specified time period. - numGleanbotInteractions: - type: integer - description: Total number of Gleanbot responses marked useful by this user over the specified time period. - numDaysActive: - type: integer - description: Total number of days this user was active on the Assistant over the specified time period. - AssistantInsightsResponse: - allOf: - - $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" - weeklyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - dailyActiveUserTimeseries: - $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" - summarizationsTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - aiAnswersTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - gleanbotInteractionsTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - perUserInsights: - type: array - items: - $ref: "#/components/schemas/PerUserAssistantInsight" - upvotesTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - downvotesTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - PerAgentInsight: - properties: - agentId: - type: string - description: Agent ID - agentName: - type: string - description: Agent name - icon: - $ref: "#/components/schemas/IconConfig" - description: Agent icon configuration - isDeleted: - type: boolean - description: Indicates whether the agent has been deleted - userCount: - type: integer - description: Total number of users for this agent over the specified time period. - runCount: - type: integer - description: Total number of runs for this agent over the specified time period. - upvoteCount: - type: integer - description: Total number of upvotes for this agent over the specified time period. - downvoteCount: - type: integer - description: Total number of downvotes for this agent over the specified time period. - AgentsUsageByDepartmentInsight: - properties: - department: - type: string - description: Name of the department - agentAdoptionRate: - type: number - format: float - description: Percentage of employees in the department who have used agents at least once over the specified time period. - userCount: - type: integer - description: Total number of users in this department who have used any agent over the specified time period. - runCount: - type: integer - description: Total number of runs in this department over the specified time period. - agentId: - type: string - description: ID of the agent to be shown in the agent column in this department over the specified time period. - agentName: - 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" - description: Agent icon configuration - isDeleted: - type: boolean - description: Indicates whether the agent has been deleted - AgentUsersInsight: - properties: - person: - $ref: "#/components/schemas/Person" - departmentName: - type: string - description: Department name - agentsUsedCount: - type: integer - description: Total number of agents used by this user over the specified time period. - averageRunsPerDayCount: - type: number - format: float - description: Average number of runs per day for this user over the specified time period. - agentsCreatedCount: - type: integer - description: Total number of agents created by this user over the specified time period. - runCount: - type: integer - description: Total number of agent runs for this user over the specified time period. - AgentsTimeSavedInsight: - properties: - agentId: - type: string - description: Agent ID - agentName: - type: string - description: Agent name - icon: - $ref: "#/components/schemas/IconConfig" - description: Agent icon configuration - isDeleted: - type: boolean - description: Indicates whether the agent has been deleted - runCount: - type: integer - description: Total number of runs for this agent over the specified time period. - minsPerRun: - type: number - format: float - description: Average minutes saved per run for this agent over the specified time period. - feedbackUserCount: - type: integer - 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" - - type: object - properties: - monthlyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - weeklyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - dailyActiveUserTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - sharedAgentsCount: - type: integer - description: Total number of shared agents. - topAgentsInsights: - type: array - items: - $ref: "#/components/schemas/PerAgentInsight" - agentsUsageByDepartmentInsights: - type: array - items: - $ref: "#/components/schemas/AgentsUsageByDepartmentInsight" - agentUsersInsights: - type: array - items: - $ref: "#/components/schemas/AgentUsersInsight" - agentsTimeSavedInsights: - type: array - items: - $ref: "#/components/schemas/AgentsTimeSavedInsight" - description: Insights for agents time saved over the specified time period. - dailyAgentRunsTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - successfulRunsTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - failedRunsTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - pausedRunsTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - upvotesTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - downvotesTimeseries: - $ref: "#/components/schemas/LabeledCountInfo" - InsightsResponse: - properties: - gleanAssist: - deprecated: true - $ref: "#/components/schemas/GleanAssistInsightsResponse" - x-glean-deprecated: - id: 15850758-4d95-4d98-8d57-39c50663a796 - introduced: "2026-02-05" - message: Field is deprecated - 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" - assistantResponse: - $ref: "#/components/schemas/AssistantInsightsResponse" - agentsResponse: - $ref: "#/components/schemas/AgentsInsightsV2Response" - MessagesRequest: - required: - - id - - idType - - datasource - properties: - idType: - type: string - enum: - - CHANNEL_NAME - - THREAD_ID - - CONVERSATION_ID - description: Type of the id in the incoming request. - id: - type: string - description: ID corresponding to the requested idType. Note that channel and threads are represented by the underlying datasource's ID and conversations are represented by their document's ID. - workspaceId: - type: string - description: Id for the for the workspace in case of multiple workspaces. - direction: - type: string - enum: - - OLDER - - NEWER - description: The direction of the results asked with respect to the reference timestamp. Missing field defaults to OLDER. Only applicable when using a message_id. - timestampMillis: - type: integer - format: int64 - description: Timestamp in millis of the reference message. Only applicable when using a message_id. - includeRootMessage: - type: boolean - description: Whether to include root message in response. - datasource: - type: string - enum: - - SLACK - - SLACKENTGRID - - MICROSOFTTEAMS - - GCHAT - - FACEBOOKWORKPLACE - description: The type of the data source. - 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. - InvalidOperatorValueError: - properties: - key: - description: The operator key that has an invalid value. - type: string - value: - description: The invalid operator value. - type: string - ErrorMessage: - properties: - source: - description: The datasource this message relates to. - type: string - errorMessage: - type: string - ErrorInfo: - properties: - badGmailToken: - type: boolean - description: Indicates the gmail results could not be fetched due to bad token. - badOutlookToken: - type: boolean - 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" - errorMessages: - type: array - items: - $ref: "#/components/schemas/ErrorMessage" - federatedSearchRateLimitError: - type: boolean - description: Indicates the federated search results could not be fetched due to rate limiting. - x-speakeasy-name-override: GleanDataError - ResultsResponse: - properties: - trackingToken: - 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" - results: - type: array - items: - $ref: "#/components/schemas/SearchResult" - structuredResults: - type: array - items: - $ref: "#/components/schemas/StructuredResult" - generatedQnaResult: - $ref: "#/components/schemas/GeneratedQna" - errorInfo: - $ref: "#/components/schemas/ErrorInfo" - requestID: - type: string - description: A platform-generated request ID to correlate backend logs. - backendTimeMillis: - type: integer - format: int64 - description: Time in milliseconds the backend took to respond to the request. - example: 1100 - BackendExperimentsContext: - properties: - experimentIds: - type: array - items: - type: integer - format: int64 - description: List of experiment ids for the corresponding request. - SearchWarning: - required: - - warningType - properties: - warningType: - type: string - enum: - - LONG_QUERY - - QUOTED_PUNCTUATION - - PUNCTUATION_ONLY - - COPYPASTED_QUOTES - - INVALID_OPERATOR - - MAYBE_INVALID_FACET_QUERY - - TOO_MANY_DATASOURCE_GROUPS - description: The type of the warning. - lastUsedTerm: - type: string - description: The last term we considered in the user's long query. - quotesIgnoredQuery: - type: string - description: The query after ignoring/removing quotes. - ignoredTerms: - type: array - items: + - CHANNEL + - MENTIONS + - TOPIC + UpdateType: 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. - SearchResponseMetadata: - properties: - rewrittenQuery: - type: string - description: A cleaned up or updated version of the query to be displayed in the query box. Useful for mapping visual facets to search operators. - searchedQuery: - type: string - description: The actual query used to perform search and return results. - searchedQueryWithoutNegation: - type: string - description: The query used to perform search and return results, with negated terms and facets removed. - x-includeEmpty: true - searchedQueryRanges: - type: array - items: - $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" - description: An alternative query to the one provided that may give better results, e.g. a spelling suggestion. - additionalQuerySuggestions: - $ref: "#/components/schemas/QuerySuggestionList" - description: Other alternative queries that may provide better or more specific results than the original query. - negatedTerms: - type: array - items: + description: Optional type classification for the update. + x-enumDescriptions: + ACTIONABLE: Updates that require user attention or action + INFORMATIVE: Updates that are purely informational + x-speakeasy-enum-descriptions: + ACTIONABLE: Updates that require user attention or action + INFORMATIVE: Updates that are purely informational + enum: + - ACTIONABLE + - INFORMATIVE + DigestUpdate: + type: object + properties: + urls: + type: array + description: List of URLs for similar updates that are grouped together and rendered as a single update. + items: + type: string + url: + type: string + description: URL link to the content or document. + title: + type: string + description: Title or headline of the update. + datasource: + type: string + description: Name or identifier of the data source (e.g., slack, confluence, etc.). + summary: + type: string + description: Brief summary or description of the update content. + type: + $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" + displayName: + type: string + description: Human-readable name for the digest section. + channelName: + type: string + description: Name of the channel (applicable for CHANNEL type sections). Used to display in the frontend. + channelType: + type: string + description: | + Channel visibility/type for CHANNEL sections. For Slack this is typically one of + PublicChannel, PrivateChannel. Omit if not applicable or unknown. + instanceId: + type: string + description: Instance identifier for the channel or workspace. Used for constructing channel URLs to display in the frontend. + url: + type: string + description: Optional URL for the digest section. Should be populated only if the section is a CHANNEL type section. + updates: + type: array + items: + $ref: "#/components/schemas/DigestUpdate" + description: List of updates within this digest section. + Digest: + type: object + properties: + podcastFileId: + type: string + description: Identifier for the podcast file generated from this digest content. + podcastDuration: + type: number + format: float + description: Duration of the podcast file in seconds. + digestDate: + type: string + description: The date this digest covers, in YYYY-MM-DD format. Represents the specific day for which the digest content and updates were compiled. This can be empty if the digest is not yet available. + example: "2025-09-03" + sections: + type: array + items: + $ref: "#/components/schemas/DigestSection" + description: Array of digest sections from which the podcast was created. + ChatSuggestion: + properties: + query: + type: string + description: The actionable chat query to run when the user selects this suggestion. + cta: + type: string + description: Button text to show for the suggestion action. + feature: + type: string + description: Targeted Glean Chat feature for the suggestion. + sourceDocumentIds: + type: array + items: + type: string + description: Document IDs that grounded the suggestion. + PromptTemplateMutableProperties: + required: + - template + properties: + name: + type: string + description: The user-given identifier for this prompt template. + template: + type: string + description: The actual template string. + applicationId: + type: string + description: The Application Id the prompt template should be created under. Empty for default assistant. + inclusions: + $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" + removedRoles: + type: array + description: A list of removed user roles for the Workflow. + items: + $ref: "#/components/schemas/UserRoleSpecification" + AttributionProperties: {} + PromptTemplate: + allOf: + - $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" + createTimestamp: + type: integer + description: Server Unix timestamp of the creation time. + lastUpdateTimestamp: + type: integer + description: Server Unix timestamp of the last update time. + lastUpdatedBy: + $ref: "#/components/schemas/Person" + roles: + type: array + description: A list of roles for this prompt template explicitly granted. + items: + $ref: "#/components/schemas/UserRoleSpecification" + UgcType: + enum: + - AGENT_TYPE + - ANNOUNCEMENTS_TYPE + - ANSWERS_TYPE + - CHATS_TYPE + - COLLECTIONS_TYPE + - EMAIL_TYPE + - HTML_CODE_TYPE + - IMAGE_TYPE + - MESSAGE_TYPE + - PAPER_TYPE + - PRISM_VIEWS_TYPE + - PROMPT_TEMPLATES_TYPE + - PINS_TYPE + - SCRIBES_TYPE + - SHORTCUTS_TYPE + - SLIDE_TYPE + - SPREADSHEET_TYPE + - INLINE_HTML_TYPE + - PODCAST_TYPE + - WORKFLOWS_TYPE + FavoriteInfo: + type: object + properties: + 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. + favoritedByUser: + type: boolean + x-includeEmpty: true + description: If the requesting user has favorited this object. + PromptTemplateResult: + properties: + promptTemplate: + $ref: "#/components/schemas/PromptTemplate" + trackingToken: + type: string + description: An opaque token that represents this prompt template + favoriteInfo: + $ref: "#/components/schemas/FavoriteInfo" + runCount: + $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. + WorkflowMetadata: + allOf: + - type: object + properties: + author: + $ref: "#/components/schemas/Person" + createTimestamp: + type: integer + description: Server Unix timestamp of the creation time. + lastUpdateTimestamp: + type: integer + description: Server Unix timestamp of the last update time. + lastDraftSavedAt: + type: integer + description: Server Unix timestamp of the last time the draft was saved. + lastDraftSavedBy: + 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" + Workflow: + allOf: + - $ref: "#/components/schemas/PermissionedObject" + - $ref: "#/components/schemas/WorkflowMutableProperties" + - $ref: "#/components/schemas/WorkflowMetadata" + - $ref: "#/components/schemas/AttributionProperties" + - type: object + properties: + id: + type: string + 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. + 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. + WorkflowResult: + type: object + required: + - workflow + properties: + workflow: + $ref: "#/components/schemas/Workflow" + UserActivity: + properties: + actor: + $ref: "#/components/schemas/Person" + timestamp: + type: integer + description: Unix timestamp of the activity (in seconds since epoch UTC). + action: + type: string + enum: + - ADD + - ADD_REMINDER + - CLICK + - COMMENT + - DELETE + - DISMISS + - EDIT + - MENTION + - MOVE + - OTHER + - RESTORE + - UNKNOWN + - VERIFY + - VIEW + description: The action for the activity + aggregateVisitCount: + $ref: "#/components/schemas/CountInfo" + FeedEntry: + required: + - title + properties: + entryId: + type: string + description: optional ID associated with a single feed entry (displayable_list_id) + title: + type: string + description: Title for the result. Can be document title, event title and so on. + thumbnail: + $ref: "#/components/schemas/Thumbnail" + createdBy: + $ref: "#/components/schemas/Person" + uiConfig: + allOf: + - $ref: "#/components/schemas/DisplayableListFormat" + - type: object + properties: + additionalFlags: + $ref: "#/components/schemas/DisplayableListItemUIConfig" + justificationType: + type: string + enum: + - FREQUENTLY_ACCESSED + - RECENTLY_ACCESSED + - TRENDING_DOCUMENT + - VERIFICATION_REMINDER + - SUGGESTED_DOCUMENT + - EMPTY_STATE_SUGGESTION + - FRECENCY_SCORED + - SERVER_GENERATED + - USE_CASE + - UPDATE_SINCE_LAST_VIEW + - RECENTLY_STARTED + - EVENT + - USER_MENTION + - ANNOUNCEMENT + - EXTERNAL_ANNOUNCEMENT + - POPULARITY_BASED_TRENDING + - COMPANY_RESOURCE + - EVENT_DOCUMENT_FROM_CONTENT + - EVENT_DOCUMENT_FROM_SEARCH + - VISIT_AFFINITY_SCORED + - SUGGESTED_APP + - SUGGESTED_PERSON + - ACTIVITY_HIGHLIGHT + - SAVED_SEARCH + - SUGGESTED_CHANNEL + - PEOPLE_CELEBRATIONS + - SOCIAL_LINK + - ZERO_STATE_CHAT_SUGGESTION + - ZERO_STATE_CHAT_TOOL_SUGGESTION + - ZERO_STATE_PROMPT_TEMPLATE_SUGGESTION + - ZERO_STATE_STATIC_WORKFLOW_SUGGESTION + - ZERO_STATE_AGENT_SUGGESTION + - PERSONALIZED_CHAT_SUGGESTION + - DAILY_DIGEST + - TASK + - PLAN_MY_DAY + - END_MY_DAY + - STARTER_KIT_EXTENSION + - STARTER_KIT_ORG_CHART + - STARTER_KIT_ADD_DOC + - MEETING_RECAP + - ACTIVE_DISCUSSION + - MID_DAY_CATCH_UP + - QUERY_SUGGESTION + - COWORK_CUJ_PROMO + - WEEKLY_MEETINGS + - FOLLOW_UP + - MILESTONE_TIMELINE_CHECK + - PROJECT_DISCUSSION_DIGEST + - PROJECT_FOCUS_BLOCK + - PROJECT_NEXT_STEP + - DEMO_CARD + - OOO_PLANNER + - OOO_CATCH_UP + description: Type of the justification. + justification: + type: string + description: Server side generated justification string if server provides one. + trackingToken: + type: string + description: An opaque token that represents this particular feed entry in this particular response. To be used for /feedback reporting. + viewUrl: + type: string + description: View URL for the entry if based on links that are not documents in Glean. + document: + $ref: "#/components/schemas/Document" + event: + $ref: "#/components/schemas/CalendarEvent" + announcement: + $ref: "#/components/schemas/Announcement" + digest: + $ref: "#/components/schemas/Digest" + collection: + $ref: "#/components/schemas/Collection" + collectionItem: + $ref: "#/components/schemas/CollectionItem" + person: + $ref: "#/components/schemas/Person" + app: + $ref: "#/components/schemas/AppResult" + chatSuggestion: + $ref: "#/components/schemas/ChatSuggestion" + promptTemplate: + $ref: "#/components/schemas/PromptTemplateResult" + workflow: + $ref: "#/components/schemas/WorkflowResult" + activities: + type: array + items: + $ref: "#/components/schemas/UserActivity" + description: List of activity where each activity has user, action, timestamp. + documentVisitorCount: + $ref: "#/components/schemas/CountInfo" + FeedResult: + required: + - category + - primaryEntry + properties: + category: + type: string + enum: + - DOCUMENT_SUGGESTION + - DOCUMENT_SUGGESTION_SCENARIO + - TRENDING_DOCUMENT + - USE_CASE + - VERIFICATION_REMINDER + - EVENT + - ANNOUNCEMENT + - MENTION + - DATASOURCE_AFFINITY + - RECENT + - COMPANY_RESOURCE + - EXPERIMENTAL + - PEOPLE_CELEBRATIONS + - SOCIAL_LINK + - EXTERNAL_TASKS + - DISPLAYABLE_LIST + - ZERO_STATE_CHAT_SUGGESTION + - ZERO_STATE_CHAT_TOOL_SUGGESTION + - ZERO_STATE_WORKFLOW_CREATED_BY_ME + - ZERO_STATE_WORKFLOW_FAVORITES + - ZERO_STATE_WORKFLOW_POPULAR + - ZERO_STATE_WORKFLOW_RECENT + - ZERO_STATE_WORKFLOW_SUGGESTION + - PERSONALIZED_CHAT_SUGGESTION + - DAILY_DIGEST + - TASK + - PLAN_MY_DAY + - END_MY_DAY + - STARTER_KIT + - MID_DAY_CATCH_UP + - QUERY_SUGGESTION + - COWORK_CUJ_PROMO + - WEEKLY_MEETINGS + - FOLLOW_UP + - MILESTONE_TIMELINE_CHECK + - PROJECT_DISCUSSION_DIGEST + - PROJECT_FOCUS_BLOCK + - PROJECT_NEXT_STEP + - DEMO_CARD + - OOO_PLANNER + - OOO_CATCH_UP + description: Category of the result, one of the requested categories in incoming request. + primaryEntry: + $ref: "#/components/schemas/FeedEntry" + secondaryEntries: + type: array + items: + $ref: "#/components/schemas/FeedEntry" + description: Secondary entries for the result e.g. suggested docs for the calendar, carousel. + rank: + type: integer + description: Rank of the result. Rank is suggested by server. Client side rank may differ. + FeedResponse: + required: + - serverTimestamp + allOf: + - $ref: "#/components/schemas/BackendExperimentsContext" + - type: object + properties: + trackingToken: + type: string + description: An opaque token that represents this particular feed response. + serverTimestamp: + type: integer + description: Server unix timestamp (in seconds since epoch UTC). + results: + type: array + items: + $ref: "#/components/schemas/FeedResult" + facetResults: + type: object + additionalProperties: + type: array + items: + $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. + RecommendationsRequestOptions: + properties: + datasourceFilter: + type: string + description: Filter results to a single datasource name (e.g. gmail, slack). All results are returned if missing. + datasourcesFilter: + type: array + items: + type: string + description: Filter results to only those relevant to one or more datasources (e.g. jira, gdrive). All results are returned if missing. + facetFilterSets: + type: array + items: + $ref: "#/components/schemas/FacetFilterSet" + description: A list of facet filter sets that will be OR'ed together. + context: + $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" + RecommendationsRequest: + allOf: + - $ref: "#/components/schemas/ResultsRequest" + - type: object + properties: + recommendationDocumentSpec: + $ref: "#/components/schemas/DocumentSpec" + description: Retrieve recommendations for this document. Glean Document ID is preferred over URL. + requestOptions: + $ref: "#/components/schemas/RecommendationsRequestOptions" + description: Options for adjusting the request for recommendations. + RecommendationsResponse: + allOf: + - $ref: "#/components/schemas/ResultsResponse" + SortOptions: + type: object + properties: + orderBy: + type: string + enum: + - ASC + - DESC + sortBy: + type: string + ListEntitiesRequest: + type: object + properties: + filter: + type: array + items: + $ref: "#/components/schemas/FacetFilter" + sort: + description: Use EntitiesSortOrder enum for SortOptions.sortBy + type: array + items: + $ref: "#/components/schemas/SortOptions" + entityType: + type: string + default: PEOPLE + enum: + - PEOPLE + - TEAMS + - CUSTOM_ENTITIES + datasource: + type: string + description: The datasource associated with the entity type, most commonly used with CUSTOM_ENTITIES + query: + 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 + enum: + - PEOPLE + - TEAMS + - PEOPLE_DISTANCE + - PERMISSIONS + - FACETS + - INVITE_INFO + - LAST_EXTENSION_USE + - MANAGEMENT_DETAILS + - UNPROCESSED_TEAMS + pageSize: + type: integer + example: 100 + description: Hint to the server about how many results to send back. Server may return less. + cursor: + type: string + description: Pagination cursor. A previously received opaque token representing the position in the overall results at which to start. + source: + type: string + description: A string denoting the search surface from which the endpoint is called. + requestType: + type: string + default: STANDARD + description: The type of request being made. + 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. + 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. + enum: + - STANDARD + - FULL_DIRECTORY + EntitiesSortOrder: type: string - description: A list of terms that were negated when processing the query. - modifiedQueryWasUsed: - type: boolean - description: A different query was performed than the one requested. - originalQueryHadNoResults: - 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" - triggeredExpertDetection: - type: boolean - description: Whether the query triggered expert detection results in the People tab. - isNoQuotesSuggestion: - type: boolean - description: Whether the query was modified to remove quotes - FacetValue: - properties: - stringValue: - type: string - example: engineering - description: The value that should be set in the FacetFilter when applying this filter to a search request. - integerValue: - type: integer - example: 5 - displayLabel: - type: string - example: engineering - description: An optional user-friendly label to display in place of the facet value. - iconConfig: - $ref: "#/components/schemas/IconConfig" - FacetBucket: - properties: - count: - type: integer - description: Estimated number of results in this facet. - 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. - percentage: - type: integer - description: Estimated percentage of results in this facet. - example: 5 - value: - $ref: "#/components/schemas/FacetValue" - FacetResult: - properties: - sourceName: - type: string - description: The source of this facet (e.g. container_name, type, last_updated_at). - example: container_name - operatorName: - type: string - description: How to display this facet. Currently supportes 'SelectSingle' and 'SelectMultiple'. - example: SelectMultiple - buckets: - type: array - description: A list of unique buckets that exist within this result set. - items: - $ref: "#/components/schemas/FacetBucket" - 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. - example: false - groupName: - type: string - description: For most facets this will be the empty string, meaning the facet is high-level and applies to all documents for the datasource. When non-empty, this is used to group facets together (i.e. group facets for each doctype for a certain datasource) - example: Service Cloud - ResultsDescription: - properties: - text: - 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" - description: The config for the icon that's displayed with this description - SearchResponse: - allOf: - - $ref: "#/components/schemas/ResultsResponse" - - $ref: "#/components/schemas/BackendExperimentsContext" - - type: object - properties: - metadata: - $ref: "#/components/schemas/SearchResponseMetadata" - facetResults: - type: array - items: - $ref: "#/components/schemas/FacetResult" - resultTabs: - type: array - items: - $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 - items: - type: string - description: The unique IDs of the result tabs to which this response belongs. - resultsDescription: - $ref: "#/components/schemas/ResultsDescription" - rewrittenFacetFilters: - type: array - items: - $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 - description: Cursor that indicates the start of the next page of results. To be passed in "more" requests for this query. - hasMoreResults: - type: boolean - description: Whether more results are available. Use cursor to retrieve them. - example: - trackingToken: trackingToken - suggestedSpellCorrectedQuery: suggestedSpellCorrectedQuery - hasMoreResults: true - errorInfo: - errorMessages: - - source: gmail - errorMessage: invalid token - - source: slack - errorMessage: expired token - requestID: 5e345ae500ff0befa2b9d1a3ba0001737e7363696f312d323535323137000171756572792d656e64706f696e743a323032303031333074313830343032000100 - results: - - snippets: - - snippet: snippet - mimeType: mimeType - metadata: - container: container - createTime: "2000-01-23T04:56:07.000Z" - datasource: datasource - author: - name: name - documentId: documentId - updateTime: "2000-01-23T04:56:07.000Z" - mimeType: mimeType - objectType: objectType - title: title - url: https://www.example.com/ - - snippets: - - snippet: snippet - mimeType: mimeType - metadata: - container: container - createTime: "2000-01-23T04:56:07.000Z" - datasource: datasource - author: - name: name - documentId: documentId - updateTime: "2000-01-23T04:56:07.000Z" - mimeType: mimeType - objectType: objectType - title: title - url: https://www.example.com/ - facetResults: - - buckets: - - percentage: 5 - count: 1 - value: - stringValue: stringValue - integerValue: 5 - - percentage: 5 - count: 1 + description: Different ways of sorting entities + enum: + - ENTITY_NAME + - FIRST_NAME + - LAST_NAME + - ORG_SIZE_COUNT + - START_DATE + - TEAM_SIZE + - RELEVANCE + ListEntitiesResponse: + type: object + properties: + results: + type: array + items: + $ref: "#/components/schemas/Person" + teamResults: + type: array + items: + $ref: "#/components/schemas/Team" + customEntityResults: + type: array + items: + $ref: "#/components/schemas/CustomEntity" + facetResults: + type: array + items: + $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. + totalCount: + type: integer + description: The total number of entities available + hasMoreResults: + type: boolean + 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" + customFacetNames: + type: array + description: list of Person attributes that are custom setup by deployment + items: + type: string + PeopleRequest: + type: object + properties: + 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. + obfuscatedIds: + type: array + items: + type: string + description: The Person IDs to retrieve. If no IDs are requested, the current user's details are returned. + emailIds: + type: array + items: + 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 + enum: + - BADGES + - BUSY_EVENTS + - DOCUMENT_ACTIVITY + - INVITE_INFO + - PEOPLE_DISTANCE + - PERMISSIONS + - PEOPLE_DETAILS + - MANAGEMENT_DETAILS + - PEOPLE_PROFILE_SETTINGS + - PEOPLE_WITHOUT_MANAGER + 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. + 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. + type: array + items: + type: string + enum: + - PEOPLE_WITHOUT_MANAGER + - INVALID_ENTITIES + source: + type: string + description: A string denoting the search surface from which the endpoint is called. + example: + obfuscatedIds: + - abc123 + - abc456 + PeopleResponse: + properties: + results: + type: array + items: + $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" + 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 + items: + type: string + description: A list of IDs that could not be found. + CreateShortcutRequest: + required: + - data + properties: + data: + $ref: "#/components/schemas/ShortcutMutableProperties" + ShortcutError: + properties: + errorType: + type: string + enum: + - NO_PERMISSION + - INVALID_ID + - EXISTING_SHORTCUT + - INVALID_CHARS + CreateShortcutResponse: + properties: + shortcut: + $ref: "#/components/schemas/Shortcut" + error: + $ref: "#/components/schemas/ShortcutError" + DeleteShortcutRequest: + allOf: + - $ref: "#/components/schemas/UserGeneratedContentId" + - type: object + required: + - id + GetShortcutRequest: + oneOf: + - $ref: "#/components/schemas/UserGeneratedContentId" + - type: object + required: + - alias + properties: + alias: + type: string + description: The alias for the shortcut, including any arguments for variable shortcuts. + GetShortcutResponse: + properties: + 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" + 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 + pageSize: + type: integer + example: 10 + cursor: + type: string + description: A token specifying the position in the overall results to start at. Received from the endpoint and iterated back. Currently being used as page no (as we implement offset pagination) + filters: + type: array + items: + $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" + 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. + ShortcutsPaginationMetadata: + properties: + cursor: + type: string + description: Cursor indicates the start of the next page of results + hasNextPage: + type: boolean + totalItemCount: + type: integer + ListShortcutsPaginatedResponse: + required: + - shortcuts + - meta + properties: + shortcuts: + type: array + items: + $ref: "#/components/schemas/Shortcut" + description: List of all shortcuts accessible to the user + facetResults: + type: array + items: + $ref: "#/components/schemas/FacetResult" + meta: + $ref: "#/components/schemas/ShortcutsPaginationMetadata" + description: Contains metadata like total item count and whether next page exists + UpdateShortcutRequest: + allOf: + - $ref: "#/components/schemas/UserGeneratedContentId" + - $ref: "#/components/schemas/ShortcutMutableProperties" + - type: object + required: + - id + UpdateShortcutResponse: + properties: + shortcut: + $ref: "#/components/schemas/Shortcut" + error: + $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 + query: + type: string + description: Optional query that the summary should be about + preferredSummaryLength: + type: integer + description: Optional length of summary output. If not given, defaults to 500 chars. + documentSpecs: + type: array + items: + $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. + Summary: + properties: + text: + type: string + followUpPrompts: + type: array + items: + type: string + description: Follow-up prompts based on the summarized doc + SummarizeResponse: + properties: + error: + type: object + properties: + message: + type: string + 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 + description: The document which the verification is for new reminders and/or update. + assignee: + type: string + description: The obfuscated id of the person this verification is assigned to. + remindInDays: + type: integer + description: Reminder for the next verifications in terms of days. For deletion, this will be omitted. + 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"). + VerificationFeed: + properties: + documents: + type: array + items: + $ref: "#/components/schemas/Verification" + description: List of document infos that include verification related information for them. + VerifyRequest: + required: + - documentId + properties: + documentId: + type: string + description: The document which is verified. + action: + type: string + enum: + - VERIFY + - DEPRECATE + - UNVERIFY + description: The verification action requested. + ToolParameter: + type: object + properties: + type: + type: string + description: Parameter type (string, number, boolean, object, array) + enum: + - string + - number + - boolean + - object + - array + name: + type: string + description: The name of the parameter + description: + type: string + description: The description of the parameter + isRequired: + type: boolean + 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 + items: + 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" + Tool: + type: object + properties: + type: + type: string + description: Type of tool (READ, WRITE) + enum: + - READ + - WRITE + name: + type: string + description: Unique identifier for the tool + displayName: + type: string + description: Human-readable name + description: + type: string + 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" + ToolsListResponse: + type: object + properties: + tools: + type: array + items: + $ref: "#/components/schemas/Tool" + ToolsCallParameter: + type: object + required: + - name + - value + properties: + name: + type: string + description: The name of the parameter value: - stringValue: stringValue - integerValue: 5 - sourceName: sourceName - operatorName: operatorName - objectType: objectType - - buckets: - - percentage: 5 - count: 1 + type: string + 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" + properties: + type: object + description: The value of the parameter (for object types) + additionalProperties: + $ref: "#/components/schemas/ToolsCallParameter" + ToolsCallRequest: + type: object + required: + - name + - parameters + 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" + ToolsCallResponse: + type: object + properties: + rawResponse: + additionalProperties: true + type: object + description: The raw response from the tool + error: + type: string + description: The error message if applicable + ActionAuthType: + type: string + 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" + ActionPackAuthStatusResponse: + type: object + required: + - actionPack + properties: + actionPack: + $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. + 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. + 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. + IndexDocumentRequest: + type: object + description: Describes the request body of the /indexdocument API call + properties: + version: + type: integer + format: int64 + description: Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done. + document: + description: Document being added/updated + $ref: "#/components/schemas/DocumentDefinition" + required: + - document + IndexDocumentsRequest: + type: object + description: Describes the request body of the /indexdocuments API call + properties: + uploadId: + type: string + description: Optional id parameter to identify and track a batch of documents. + datasource: + type: string + description: Datasource of the documents + documents: + description: Batch of documents being added/updated + type: array + items: + $ref: "#/components/schemas/DocumentDefinition" + required: + - documents + - datasource + UpdatePermissionsRequest: + type: object + description: Describes the request body of the /updatepermissions API call + properties: + datasource: + type: string + objectType: + type: string + description: The type of the document (Case, KnowledgeArticle for Salesforce for example). It cannot have spaces or _ + id: + type: string + description: The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length. + viewURL: + type: string + description: | + The permalink for viewing the document. **Note: viewURL is a required field if id was not set when uploading the document.**' + permissions: + $ref: "#/components/schemas/DocumentPermissionsDefinition" + description: The permissions that define who can view this document in the search results. Please refer to [this](https://developers.glean.com/indexing/documents/permissions) for more details. + required: + - permissions + - datasource + GetDocumentCountRequest: + type: object + description: Describes the request body of the /getdocumentcount API call + properties: + datasource: + type: string + description: Datasource name for which document count is needed. + required: + - datasource + GetDocumentCountResponse: + type: object + description: Describes the response body of the /getdocumentcount API call + properties: + documentCount: + type: integer + description: Number of documents corresponding to the specified custom datasource. + GetDocumentStatusRequest: + type: object + description: Describes the request body for /getdocumentstatus API call + properties: + datasource: + type: string + description: Datasource to get fetch document status for + objectType: + type: string + description: Object type of the document to get the status for + docId: + type: string + description: Glean Document ID within the datasource to get the status for. + required: + - datasource + - objectType + - docId + GetDocumentStatusResponse: + type: object + description: Describes the response body of the /getdocumentstatus API call + properties: + uploadStatus: + type: string + description: Upload status, enum of NOT_UPLOADED, UPLOADED, STATUS_UNKNOWN + lastUploadedAt: + type: integer + format: int64 + description: Time of last successful upload, in epoch seconds + indexingStatus: + type: string + description: Indexing status, enum of NOT_INDEXED, INDEXED, STATUS_UNKNOWN + lastIndexedAt: + type: integer + format: int64 + description: Time of last successful indexing, in epoch seconds + BulkIndexRequest: + type: object + description: Describes the request body of a bulk upload API call + required: + - uploadId + properties: + uploadId: + type: string + description: Unique id that must be used for this bulk upload instance + isFirstPage: + type: boolean + description: true if this is the first page of the upload. Defaults to false + isLastPage: + type: boolean + description: true if this is the last page of the upload. Defaults to false + forceRestartUpload: + type: boolean + description: Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true + BulkIndexTeamsRequest: + type: object + description: Describes the request body of the /bulkindexteams API call + allOf: + - $ref: "#/components/schemas/BulkIndexRequest" + - type: object + properties: + teams: + description: Batch of team information + type: array + items: + $ref: "#/components/schemas/TeamInfoDefinition" + required: + - teams + BulkIndexEmployeesRequest: + type: object + description: Describes the request body of the /bulkindexemployees API call + allOf: + - $ref: "#/components/schemas/BulkIndexRequest" + - type: object + properties: + employees: + description: Batch of employee information + type: array + items: + $ref: "#/components/schemas/EmployeeInfoDefinition" + disableStaleDataDeletionCheck: + type: boolean + description: True if older employee data needs to be force deleted after the upload completes. Defaults to older data being deleted only if the percentage of data being deleted is less than 20%. This must only be set when `isLastPage = true` + required: + - employees + BulkIndexDocumentsRequest: + type: object + description: Describes the request body of the /bulkindexdocuments API call + allOf: + - $ref: "#/components/schemas/BulkIndexRequest" + - type: object + properties: + datasource: + type: string + description: Datasource of the documents + documents: + description: Batch of documents for the datasource + type: array + items: + $ref: "#/components/schemas/DocumentDefinition" + disableStaleDocumentDeletionCheck: + type: boolean + description: True if older documents need to be force deleted after the upload completes. Defaults to older documents being deleted asynchronously. This must only be set when `isLastPage = true` + required: + - datasource + - documents + ProcessAllDocumentsRequest: + type: object + description: Describes the request body of the /processalldocuments API call + properties: + datasource: + type: string + description: If provided, process documents only for this custom datasource. Otherwise all uploaded documents are processed. + DeleteDocumentRequest: + type: object + description: Describes the request body of the /deletedocument API call + properties: + version: + type: integer + format: int64 + description: Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done. + datasource: + type: string + description: datasource of the document + objectType: + type: string + description: object type of the document + id: + type: string + description: The id of the document + required: + - datasource + - id + - objectType + IndexUserRequest: + type: object + description: Describes the request body of the /indexuser API call + properties: + version: + type: integer + format: int64 + description: Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done. + datasource: + type: string + description: The datasource for which the user is added + user: + description: The user to be added or updated + $ref: "#/components/schemas/DatasourceUserDefinition" + required: + - datasource + - user + GetUserCountRequest: + type: object + description: Describes the request body of the /getusercount API call + properties: + datasource: + type: string + description: Datasource name for which user count is needed. + required: + - datasource + GetUserCountResponse: + type: object + description: Describes the response body of the /getusercount API call + properties: + userCount: + type: integer + description: Number of users corresponding to the specified custom datasource. + BulkIndexUsersRequest: + type: object + description: Describes the request body for the /bulkindexusers API call + properties: + uploadId: + type: string + description: Unique id that must be used for this instance of datasource users upload + isFirstPage: + type: boolean + description: true if this is the first page of the upload. Defaults to false + isLastPage: + type: boolean + description: true if this is the last page of the upload. Defaults to false + forceRestartUpload: + type: boolean + description: Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true + datasource: + type: string + description: datasource of the users + users: + description: batch of users for the datasource + type: array + items: + $ref: "#/components/schemas/DatasourceUserDefinition" + disableStaleDataDeletionCheck: + type: boolean + description: True if older user data needs to be force deleted after the upload completes. Defaults to older data being deleted only if the percentage of data being deleted is less than a reasonable threshold. This must only be set when `isLastPage = true` + required: + - uploadId + - datasource + - users + GreenlistUsersRequest: + type: object + description: Describes the request body of the /betausers API call + properties: + datasource: + type: string + description: Datasource which needs to be made visible to users specified in the `emails` field. + emails: + type: array + description: The emails of the beta users + items: + type: string + format: email + required: + - datasource + - emails + DatasourceUserDefinition: + type: object + description: describes a user in the datasource + properties: + email: + type: string + userId: + description: To be supplied if the user id in the datasource is not the email + type: string + name: + type: string + isActive: + type: boolean + description: set to false if the user is a former employee or a bot + required: + - email + - name + IndexGroupRequest: + type: object + description: Describes the request body of the /indexgroup API call + properties: + version: + type: integer + format: int64 + description: Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done. + datasource: + type: string + description: The datasource for which the group is added + group: + description: The group to be added or updated + $ref: "#/components/schemas/DatasourceGroupDefinition" + required: + - datasource + - group + BulkIndexGroupsRequest: + type: object + description: Describes the request body for the /bulkindexgroups API call + properties: + uploadId: + type: string + description: Unique id that must be used for this instance of datasource groups upload + isFirstPage: + type: boolean + description: true if this is the first page of the upload. Defaults to false + isLastPage: + type: boolean + description: true if this is the last page of the upload. Defaults to false + forceRestartUpload: + type: boolean + description: Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true + datasource: + type: string + description: datasource of the groups + groups: + description: batch of groups for the datasource + type: array + items: + $ref: "#/components/schemas/DatasourceGroupDefinition" + disableStaleDataDeletionCheck: + type: boolean + description: True if older group data needs to be force deleted after the upload completes. Defaults to older data being deleted only if the percentage of data being deleted is less than a reasonable threshold. This must only be set when `isLastPage = true` + required: + - uploadId + - datasource + - groups + DatasourceGroupDefinition: + type: object + description: describes a group in the datasource + properties: + name: + type: string + description: name of the group. Should be unique among all groups for the datasource, and cannot have spaces. + required: + - name + IndexMembershipRequest: + type: object + description: Describes the request body of the /indexmembership API call + properties: + version: + type: integer + format: int64 + description: Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done. + datasource: + type: string + description: The datasource for which the membership is added + membership: + description: The membership to be added or updated + $ref: "#/components/schemas/DatasourceMembershipDefinition" + required: + - datasource + - membership + BulkIndexMembershipsRequest: + type: object + description: Describes the request body for the /bulkindexmemberships API call + properties: + uploadId: + type: string + description: Unique id that must be used for this instance of datasource group memberships upload + isFirstPage: + type: boolean + description: true if this is the first page of the upload. Defaults to false + isLastPage: + type: boolean + description: true if this is the last page of the upload. Defaults to false + forceRestartUpload: + type: boolean + description: Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true + datasource: + type: string + description: datasource of the memberships + group: + type: string + description: group who's memberships are specified + memberships: + description: batch of memberships for the group + type: array + items: + $ref: "#/components/schemas/DatasourceBulkMembershipDefinition" + required: + - uploadId + - datasource + - memberships + ProcessAllMembershipsRequest: + type: object + description: Describes the request body of the /processallmemberships API call + properties: + datasource: + type: string + description: If provided, process group memberships only for this custom datasource. Otherwise all uploaded memberships are processed. + DatasourceMembershipDefinition: + type: object + description: describes the membership row of a group. Only one of memberUserId and memberGroupName can be specified. + properties: + groupName: + description: The group for which the membership is specified + type: string + memberUserId: + description: If the member is a user, then the email or datasource id for the user + type: string + memberGroupName: + description: If the member is a group, then the name of the member group + type: string + required: + - groupName + DatasourceBulkMembershipDefinition: + type: object + description: describes the membership row of a group in the bulk uploaded. Only one of memberUserId and memberGroupName can be specified. + properties: + memberUserId: + description: If the member is a user, then the email or datasource id for the user + type: string + memberGroupName: + description: If the member is a group, then the name of the member group + type: string + DeleteUserRequest: + type: object + description: Describes the request body of the /deleteuser API call + properties: + version: + type: integer + format: int64 + description: Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done. + datasource: + type: string + description: The datasource for which the user is removed + email: + description: The email of the user to be deleted + type: string + required: + - datasource + - email + DeleteGroupRequest: + type: object + description: Describes the request body of the /deletegroup API call + properties: + version: + type: integer + format: int64 + description: Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done. + datasource: + type: string + description: The datasource for which the group is removed + groupName: + description: the name of the group to be deleted + type: string + required: + - datasource + - groupName + DeleteMembershipRequest: + type: object + description: Describes the request body of the /deletemembership API call + properties: + version: + type: integer + format: int64 + description: Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done. + datasource: + type: string + description: The datasource for which the membership is removed + membership: + description: the name of the membership to be deleted + $ref: "#/components/schemas/DatasourceMembershipDefinition" + required: + - datasource + - membership + DeleteEmployeeRequest: + type: object + description: Describes the request body of the /deleteemployee API call + properties: + version: + type: integer + format: int64 + description: Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done. + employeeEmail: + description: The deleted employee's email + type: string + required: + - employeeEmail + DeleteTeamRequest: + type: object + description: Describes the request body of the /deleteteam API call + properties: + id: + description: The deleted team's id + type: string + required: + - id + DocumentDefinition: + type: object + description: Indexable document structure + properties: + title: + type: string + description: Document title, in plain text, if present. If not present, the title would be attempted to be extracted from the content. + filename: + type: string + description: Source filename, in plain text, for the document. May be used as a fallback title for the document, if the title is not provided and cannot be extracted from the content. Populate this if there is no explicit title for the document and the content is sourced from a file. + container: + type: string + description: The container name for the content (Folder for example for file content). + containerDatasourceId: + type: string + description: This represents the datasource sepcific id of the container. + containerObjectType: + type: string + description: This represents the object type of the container. It cannot have spaces or _ + datasource: + type: string + objectType: + type: string + description: The type of the document (Case, KnowledgeArticle for Salesforce for example). It cannot have spaces or _ + viewURL: + type: string + description: | + The permalink for viewing the document. **Note: viewURL is a required field for non-entity datasources, but not required if the datasource is used to push custom entities (ie. datasources where isEntityDatasource is false).**' + id: + type: string + description: | + The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length. Note: id is a required field for datasources created after 1st March 2025 + summary: + $ref: "#/components/schemas/ContentDefinition" + body: + $ref: "#/components/schemas/ContentDefinition" + author: + $ref: "#/components/schemas/UserReferenceDefinition" + owner: + $ref: "#/components/schemas/UserReferenceDefinition" + description: The current owner of the document, if not the author. + permissions: + $ref: "#/components/schemas/DocumentPermissionsDefinition" + description: The permissions that define who can view this document in the search results. Please refer to [this](https://developers.glean.com/indexing/documents/permissions) for more details. + createdAt: + type: integer + format: int64 + description: The creation time, in epoch seconds. + updatedAt: + type: integer + format: int64 + description: The last update time, in epoch seconds. + updatedBy: + $ref: "#/components/schemas/UserReferenceDefinition" + tags: + type: array + items: + type: string + description: Labels associated with the document. + interactions: + $ref: "#/components/schemas/DocumentInteractionsDefinition" + status: + type: string + additionalUrls: + type: array + items: + type: string + description: Additional variations of the URL that this document points to. + nativeAppUrl: + type: string + description: A deep link, if available, into the datasource's native application for the user's platform (e.g. slack://channel/message). + comments: + type: array + items: + $ref: "#/components/schemas/CommentDefinition" + description: Comments associated with the document. + customProperties: + type: array + items: + $ref: "#/components/schemas/CustomProperty" + description: Additional metadata properties of the document. These can surface as [facets and operators](https://developers.glean.com/indexing/datasource/custom-properties/operators_and_facets). + required: + - datasource + CommentDefinition: + type: object + description: Describes a comment on a document + properties: + id: + type: string + description: The document specific id for the comment. This field is case insensitive and should not be more than 200 characters in length. + author: + $ref: "#/components/schemas/UserReferenceDefinition" + description: The author of the comment. + content: + $ref: "#/components/schemas/ContentDefinition" + description: The content of the comment. + createdAt: + type: integer + format: int64 + description: The creation time, in epoch seconds. + updatedAt: + type: integer + format: int64 + description: The last updated time, in epoch seconds. + updatedBy: + $ref: "#/components/schemas/UserReferenceDefinition" + description: The user who last updated the comment. + required: + - id + ContentDefinition: + type: object + description: Describes text content or base64 encoded binary content + properties: + mimeType: + type: string + textContent: + type: string + description: text content. Only one of textContent or binary content can be specified + binaryContent: + type: string + description: base64 encoded binary content. Only one of textContent or binary content can be specified + required: + - mimeType + UserReferenceDefinition: + type: object + description: Describes how a user is referenced in a document. The user can be referenced by email or by a datasource specific id. + properties: + email: + type: string + datasourceUserId: + type: string + description: some datasources refer to the user by the datasource user id in the document + name: + type: string + PermissionsGroupIntersectionDefinition: + type: object + description: describes a list of groups that are all required in a permissions constraint + properties: + requiredGroups: + type: array + items: + type: string + DocumentPermissionsDefinition: + type: object + description: describes the access control details of the document + properties: + allowedUsers: + description: List of users who can view the document + type: array + items: + $ref: "#/components/schemas/UserReferenceDefinition" + allowedGroups: + description: List of groups that can view the document + type: array + items: + type: string + allowedGroupIntersections: + description: List of allowed group intersections. This describes a permissions constraint of the form ((GroupA AND GroupB AND GroupC) OR (GroupX AND GroupY) OR ... + type: array + items: + $ref: "#/components/schemas/PermissionsGroupIntersectionDefinition" + allowAnonymousAccess: + description: If true, then any Glean user can view the document + type: boolean + allowAllDatasourceUsersAccess: + description: If true, then any user who has an account in the datasource can view the document. + type: boolean + DocumentInteractionsDefinition: + type: object + description: describes the interactions on the document + properties: + numViews: + type: integer + numLikes: + type: integer + numComments: + type: integer + CheckDocumentAccessRequest: + type: object + description: Describes the request body of the /checkdocumentaccess API call + properties: + datasource: + type: string + description: Datasource of document to check access for. + objectType: + type: string + description: Object type of document to check access for. + docId: + type: string + description: Glean Document ID to check access for. + userEmail: + type: string + description: Email of user to check access for. + required: + - datasource + - objectType + - docId + - userEmail + CheckDocumentAccessResponse: + type: object + description: Describes the response body of the /checkdocumentaccess API call + properties: + hasAccess: + type: boolean + description: If true, user has access to document for search + CustomProperty: + type: object + description: Describes the custom properties of the object. + properties: + name: + type: string value: - stringValue: stringValue - integerValue: 5 - - percentage: 5 - count: 1 + description: Must be a string, a number (for INT properties), or an array of strings. A boolean is not valid. When OpenAPI Generator supports `oneOf`, we can semantically enforce this. + DatasourceConfig: + $ref: "#/components/schemas/SharedDatasourceConfig" + GetDatasourceConfigRequest: + type: object + description: Describes the request body of the /getdatasourceconfig API call + properties: + datasource: + type: string + description: Datasource name for which config is needed. + required: + - datasource + DatasourceConfigList: + description: List of datasource configurations. + required: + - datasourceConfig + properties: + datasourceConfig: + type: array + description: Datasource configuration. + items: + $ref: "#/components/schemas/SharedDatasourceConfig" + RotateTokenResponse: + description: Describes the response body of the /rotatetoken API call + properties: + rawSecret: + type: string + description: New raw secret + createdAt: + type: integer + format: int64 + description: Unix timestamp in seconds when the new secret value is assigned to the token. The token needs to be rotated before `rotationPeriodMinutes` past the createdAt timestamp otherwise it would be rendered unusable. + rotationPeriodMinutes: + type: integer + format: int64 + description: Refers to the time period in minutes before which this token needs to be rotated. It is required to rotate the token within the specified `rotationPeriodMinutes` after each `/rotatetoken` call, otherwise the tokens would expire. Note that the token would still expire at `expiresAt` timestamp provided during token creation even if the token is being regularly rotated. `rotationPeriodMinutes` property is inherited from the parent token being rotated + IndexEmployeeRequest: + type: object + description: Info about an employee and optional version for that info + properties: + employee: + description: Info about the employee + $ref: "#/components/schemas/EmployeeInfoDefinition" + version: + description: Version number for the employee object. If absent or 0 then no version checks are done + type: integer + format: int64 + required: + - employee + IndexEmployeeListRequest: + type: object + description: Describes the request body of the /indexemployeelist API call + properties: + employees: + description: List of employee info and version. + type: array + items: + $ref: "#/components/schemas/IndexEmployeeRequest" + SocialNetworkDefinition: + type: object + description: Employee's social network profile + properties: + name: + type: string + description: Possible values are "twitter", "linkedin". + profileName: + type: string + description: Human-readable profile name. + profileUrl: + type: string + description: Link to profile. + AdditionalFieldDefinition: + type: object + description: Additional information about the employee or team. + properties: + key: + type: string + description: Key to reference this field, e.g. "languages". Note that the key should be all lowercase alphabetic characters with no numbers, spaces, hyphens or underscores. value: - stringValue: stringValue - integerValue: 5 - sourceName: sourceName - operatorName: operatorName - objectType: objectType - rewrittenQuery: rewrittenQuery - rewrittenFacetFilters: - - fieldName: fieldName - values: - - fieldValues - - fieldValues - - fieldName: fieldName - values: - - 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" - rootMessage: - $ref: "#/components/schemas/SearchResult" - EditPinRequest: - allOf: - - $ref: "#/components/schemas/PinDocumentMutableProperties" - - type: object - properties: - id: - type: string - description: The opaque id of the pin to be edited. - GetPinRequest: - properties: - id: - type: string - description: The opaque id of the pin to be fetched. - GetPinResponse: - properties: - pin: - $ref: "#/components/schemas/PinDocument" - ListPinsResponse: - required: - - pins - properties: - pins: - type: array - items: - $ref: "#/components/schemas/PinDocument" - description: List of pinned documents. - PinRequest: - allOf: - - $ref: "#/components/schemas/PinDocumentMutableProperties" - - type: object - properties: - documentId: - type: string - description: The document to be pinned. - Unpin: - properties: - id: - type: string - description: The opaque id of the pin to be unpinned. - ResultsRequest: - properties: - timestamp: - type: string - description: The ISO 8601 timestamp associated with the client request. - format: date-time - 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" - sourceDocument: - $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. - 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" - - type: object - properties: - query: - type: string - description: The search terms. - example: vacation policy - cursor: - type: string - description: Pagination cursor. A previously received opaque token representing the position in the overall results at which to start. - resultTabIds: - type: array - items: - 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" - requestOptions: - $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. - example: 5000 - disableSpellcheck: - type: boolean - description: Whether or not to disable spellcheck. - example: - 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 - AutocompleteRequest: - type: object - properties: - trackingToken: - type: string - sessionInfo: - $ref: "#/components/schemas/SessionInfo" - query: - type: string - description: Partially typed query. - example: San Fra - datasourcesFilter: - type: array - items: - type: string - description: Filter results to only those relevant to one or more datasources (e.g. jira, gdrive). Results are unfiltered if missing. - datasource: - type: string - 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: - - ADDITIONAL_DOCUMENT - - APP - - BROWSER_HISTORY - - DATASOURCE - - DOCUMENT - - ENTITY - - GOLINK - - HISTORY - - CHAT_HISTORY - - NEW_CHAT - - OPERATOR - - OPERATOR_VALUE - - QUICKLINK - - SUGGESTION - resultSize: - type: integer - description: | - Maximum number of results to be returned. If no value is provided, the backend will cap at 200. - example: 10 - authTokens: - type: array - description: Auth tokens which may be used for federated results. - items: - $ref: "#/components/schemas/AuthToken" - example: - trackingToken: trackingToken - query: what is a que - datasource: GDRIVE - resultSize: 10 - OperatorScope: - properties: - datasource: - type: string - docType: - type: string - OperatorMetadata: - required: - - name - properties: - name: - type: string - isCustom: - type: boolean - description: Whether this operator is supported by default or something that was created within a workplace app (e.g. custom jira field). - operatorType: - type: string - enum: - - TEXT - - DOUBLE - - DATE - - USER - helpText: - type: string - scopes: - type: array - items: - $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. - example: - name: Last Updated - operatorType: DATE - scopes: - - datasource: GDRIVE - 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 - description: Full action name. Used in autocomplete. - shortName: - type: string - description: Shortened name. Used in app cards. - url: - type: string - description: The URL of the action. - 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: array + description: | + List of type string or HypertextField. + + HypertextField is defined as + ``` + { + anchor: string, // Anchor text for the hypertext field. + hyperlink: string, // URL for the hypertext field. + } + ``` + Example: ```{"anchor":"Glean","hyperlink":"https://glean.com"}``` + + When OpenAPI Generator supports oneOf, we will semantically enforce this in the docs. + + **Note**: If using the Python SDK to pass in a list of strings, the value may need to be a list of dictionaries. In that case, the key in that dictionary will be ignored. + Example: ```"languages": [{"lang":"English","lang":"Spanish",...}]```. In this case, the key "lang" will be ignored and can even be passed in as an empty string. + items: + type: object + description: Either a string or HypertextField. When OpenAPI Generator supports oneOf, we can semantically enforce this in the docs. + HypertextField: + type: object + properties: + anchor: + type: string + description: Anchor text for the hypertext field. + hyperlink: + type: string + description: URL for the hypertext field. + EmployeeInfoDefinition: + type: object + description: Describes employee info + properties: + email: + type: string + description: The employee's email + firstName: + type: string + description: | + The first name of the employee. **Note**: The value cannot be empty + lastName: + type: string + description: | + The last name of the employee. **Note**: The value cannot be empty + preferredName: + type: string + description: The preferred name or nickname of the employee + id: + type: string + description: | + **[Advanced]** A unique universal internal identifier for the employee. This is solely used for understanding manager relationships along with `managerId`. + phoneNumber: + type: string + description: The employee's phone number. + location: + type: string + description: The employee's location (city/office name etc). + deprecated: true + x-glean-deprecated: + id: a7f6fbaa-0eaf-4c0c-a4f5-ab90347f73fd + introduced: "2026-02-05" + message: Field is deprecated + removal: "2026-10-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Field is deprecated" + structuredLocation: + description: Detailed location with information about country, state, city etc. + $ref: "#/components/schemas/StructuredLocation" + title: + type: string + description: The employee's role title. + photoUrl: + type: string + format: uri + description: The employee's profile pic + businessUnit: + type: string + description: Typically the highest level organizational unit; generally applies to bigger companies with multiple distinct businesses. + department: + type: string + description: An organizational unit where everyone has a similar task, e.g. `Engineering`. + datasourceProfiles: + type: array + description: The datasource profiles of the employee, e.g. `Slack`,`Github`. + items: + $ref: "#/components/schemas/DatasourceProfile" + teams: + type: array + description: Info about the employee's team(s) + items: + $ref: "#/components/schemas/EmployeeTeamInfo" + startDate: + type: string + format: date + description: The date when the employee started + endDate: + type: string + format: date + description: If a former employee, the last date of employment. + bio: + type: string + description: Short biography or mission statement of the employee. + pronoun: + type: string + description: She/her, He/his or other pronoun. + alsoKnownAs: + type: array + description: Other names associated with the employee. + items: + type: string + profileUrl: + type: string + description: Link to internal company person profile. + socialNetworks: + type: array + description: List of social network profiles. + items: + $ref: "#/components/schemas/SocialNetworkDefinition" + managerEmail: + type: string + description: The email of the employee's manager + managerId: + type: string + description: | + **[Advanced]** A unique universal internal identifier for the employee's manager. This is solely used in conjunction with `id`. + type: + type: string + description: The type of the employee, an enum of `FULL_TIME`, `CONTRACTOR`, `NON_EMPLOYEE` + default: FULL_TIME + relationships: + type: array + description: List of unidirectional relationships with other employees. E.g. this employee (`A`) is a CHIEF_OF_STAFF to another employee (`B`); or this employee (`A`) is an EXECUTIVE_ASSISTANT of another employee (`C`). The mapping should be attached to `A`'s profile. + items: + $ref: "#/components/schemas/EntityRelationship" + status: + type: string + description: The status of the employee, an enum of `CURRENT`, `FUTURE`, `EX` + default: CURRENT + additionalFields: + type: array + description: List of additional fields with more information about the employee. + items: + $ref: "#/components/schemas/AdditionalFieldDefinition" + required: + - department + - email + EmployeeAndVersionDefinition: + type: object + description: describes info about an employee and optional version for that info + properties: + employee: + description: Info about the employee + $ref: "#/components/schemas/EmployeeInfoDefinition" + version: + description: Version number for the employee object. If absent or 0 then no version checks are done + type: integer + format: int64 + required: + - info + EmployeeTeamInfo: + type: object + description: Information about which team an employee belongs to + properties: + id: + type: string + description: unique identifier for this team + name: + type: string + description: Team name + url: + type: string + format: uri + description: Link to internal company team page + EntityRelationship: + type: object + description: Describes a relationship edge between a source and destination entity + required: + - name + - email + properties: + name: + type: string + description: The title or type of relationship. Currently an enum of `CHIEF_OF_STAFF`, `EXECUTIVE_ASSISTANT` + email: + type: string + description: Email of the person with whom the relationship exists. Per the example above, either `B` or `C`'s email depending on the relationship. + TeamMember: + type: object + description: Information about a team's member + properties: + email: + type: string + description: The member's email + format: email + relationship: + type: string + description: The member's relationship to the team, an enum of `MEMBER`, `MANAGER`, `LEAD`, `POINT_OF_CONTACT`, `OTHER` + default: MEMBER + join_date: + type: string + format: date + description: The member's start date + required: + - email + TeamInfoDefinition: + type: object + description: Information about an employee's team + properties: + id: + type: string + description: The unique ID of the team + name: + type: string + description: Human-readable team name + description: + type: string + description: The description of this team + businessUnit: + type: string + description: Typically the highest level organizational unit; generally applies to bigger companies with multiple distinct businesses. + department: + type: string + description: An organizational unit where everyone has a similar task, e.g. `Engineering`. + photoUrl: + type: string + format: uri + description: A link to the team's photo + externalLink: + type: string + format: uri + description: | + A link to an external team page. If set, team results will link to it. + emails: + type: array + description: The emails of the team + items: + $ref: "#/components/schemas/TeamEmail" + datasourceProfiles: + type: array + description: The datasource profiles of the team, e.g. `Slack`,`Github`. + items: + $ref: "#/components/schemas/DatasourceProfile" + members: + type: array + description: The members of the team + items: + $ref: "#/components/schemas/TeamMember" + additionalFields: + type: array + description: List of additional fields with more information about the team. + items: + $ref: "#/components/schemas/AdditionalFieldDefinition" + required: + - id + - members + - name + IndexTeamRequest: + type: object + description: Info about a team and optional version for that info + properties: + team: + description: Info about the team + $ref: "#/components/schemas/TeamInfoDefinition" + version: + description: Version number for the team object. If absent or 0 then no version checks are done + type: integer + format: int64 + required: + - team + BulkIndexShortcutsRequest: + type: object + description: Describes the request body of the /bulkindexshortcuts API call + allOf: + - $ref: "#/components/schemas/BulkIndexRequest" + - type: object + properties: + shortcuts: + description: Batch of shortcuts information + type: array + items: + $ref: "#/components/schemas/ExternalShortcut" + required: + - shortcuts + UploadShortcutsRequest: + type: object + description: Describes the request body of the /uploadshortcuts API call + allOf: + - $ref: "#/components/schemas/BulkIndexRequest" + - type: object + properties: + shortcuts: + description: Batch of shortcuts information + type: array + items: + $ref: "#/components/schemas/IndexingShortcut" + required: + - shortcuts + DebugDatasourceStatusResponse: + type: object + description: Describes the response body of the /debug/{datasource}/status API call + properties: + documents: + type: object + properties: + bulkUploadHistory: + type: object + $ref: "#/components/schemas/BulkUploadHistoryEventList" + counts: + type: object + properties: + uploaded: + type: array + items: + $ref: "#/components/schemas/DatasourceObjectTypeDocumentCountEntry" + description: | + A list of object types and corresponding upload counts. Note: This data may be cached and could be up to 3 hours stale. + indexed: + type: array + description: The number of documents indexed, grouped by objectType + items: + $ref: "#/components/schemas/DatasourceObjectTypeDocumentCountEntry" + processingHistory: + $ref: "#/components/schemas/ProcessingHistoryEventList" + identity: + type: object + properties: + processingHistory: + $ref: "#/components/schemas/ProcessingHistoryEventList" + users: + $ref: "#/components/schemas/DebugDatasourceStatusIdentityResponseComponent" + groups: + $ref: "#/components/schemas/DebugDatasourceStatusIdentityResponseComponent" + memberships: + $ref: "#/components/schemas/DebugDatasourceStatusIdentityResponseComponent" + datasourceVisibility: + type: string + description: The visibility of the datasource, an enum of VISIBLE_TO_ALL, VISIBLE_TO_TEST_GROUP, NOT_VISIBLE + enum: + - ENABLED_FOR_ALL + - ENABLED_FOR_TEST_GROUP + - NOT_ENABLED + example: ENABLED_FOR_ALL + DebugDatasourceStatusIdentityResponseComponent: + type: object + properties: + bulkUploadHistory: + type: object + $ref: "#/components/schemas/BulkUploadHistoryEventList" + counts: + type: object + properties: + uploaded: + type: integer + description: The number of users/groups/memberships uploaded + example: 15 + DatasourceObjectTypeDocumentCountEntry: + type: object + properties: + objectType: + type: string + description: The object type of the document + example: Article + count: + type: integer + description: The number of documents of the corresponding objectType + example: 15 + BulkUploadHistoryEvent: + type: object + description: Information about a successful bulk upload + properties: + uploadId: + type: string + description: The unique ID of the upload + example: upload-id-content-1707403081 + startTime: + type: string + description: The start time of the upload in ISO 8601 format + example: "2021-08-06T17:58:01.000Z" + endTime: + type: string + description: The end time of the upload in ISO 8601 format, 'NA' if the upload is still active + example: "2021-08-06T18:58:01.000Z" + status: + type: string + description: The status of the upload, an enum of ACTIVE, SUCCESSFUL + enum: + - ACTIVE + - SUCCESSFUL + example: SUCCESSFUL + processingState: + type: string + description: The current state of the upload, an enum of UNAVAILABLE, UPLOAD STARTED, UPLOAD IN PROGRESS, UPLOAD COMPLETED, DELETION PAUSED, INDEXING COMPLETED + enum: + - UNAVAILABLE + - UPLOAD STARTED + - UPLOAD IN PROGRESS + - UPLOAD COMPLETED + - DELETION PAUSED + - INDEXING COMPLETED + example: UPLOAD COMPLETED + BulkUploadHistoryEventList: + description: Information about active and recent successful uploads for the datasource + type: array + items: + $ref: "#/components/schemas/BulkUploadHistoryEvent" + DebugDocumentRequest: + type: object + description: Describes the request body of the /debug/{datasource}/document API call. + properties: + objectType: + type: string + description: Object type of the document to get the status for. + example: Article + docId: + type: string + description: Glean Document ID within the datasource to get the status for. + example: art123 + required: + - objectType + - docId + DebugDocumentResponse: + type: object + description: Describes the response body of the /debug/{datasource}/document API call + properties: + status: + type: object + description: Upload and indexing status of the document + $ref: "#/components/schemas/DocumentStatusResponse" + uploadedPermissions: + $ref: "#/components/schemas/DocumentPermissionsDefinition" + DebugDocumentsRequest: + type: object + description: Describes the request body of the /debug/{datasource}/documents API call. + properties: + debugDocuments: + type: array + description: Documents to fetch debug information for + items: + $ref: "#/components/schemas/DebugDocumentRequest" + required: + - debugDocuments + DebugDocumentsResponseItem: + type: object + description: Describes the response body of a single document in the /debug/{datasource}/documents API call + properties: + docId: + type: string + description: Id of the document + objectType: + type: string + description: objectType of the document + debugInfo: + type: object + description: Debug information of the document + $ref: "#/components/schemas/DebugDocumentResponse" + DebugDocumentsResponse: + type: object + description: Describes the response body of a single document in the /debug/{datasource}/documents API call + properties: + documentStatuses: + type: array + description: List of document ids/urls and their debug information + items: + $ref: "#/components/schemas/DebugDocumentsResponseItem" + DocumentStatusResponse: + type: object + description: Describes the document status response body + properties: + uploadStatus: + type: string + description: Upload status, enum of NOT_UPLOADED, UPLOADED, STATUS_UNKNOWN + example: UPLOADED + lastUploadedAt: + type: string + description: Time of last successful upload for the document, in ISO 8601 format + example: "2021-08-06T17:58:01.000Z" + indexingStatus: + type: string + description: Indexing status, enum of NOT_INDEXED, INDEXED, STATUS_UNKNOWN + example: INDEXED + lastIndexedAt: + type: string + description: Time of last successful indexing for the document, in ISO 8601 format + example: "2021-08-06T17:58:01.000Z" + permissionIdentityStatus: + type: string + description: Permission identity status, enum of NOT_UPLOADED, UPLOADED, STATUS_UNKNOWN (Always unknown if `identityDatasourceName` is set). Document visibility may be affected status is `NOT_UPLOADED`. + example: UPLOADED + LifeCycleEvent: + type: object + properties: + event: + type: string + description: Type of event + enum: + - UPLOADED + - INDEXED + - DELETION_REQUESTED + - DELETED + example: INDEXED + timestamp: + type: string + description: Timestamp of the event + example: "2021-08-06T17:58:01.000Z" + ProcessingHistoryEvent: + type: object + description: Processing history event for a datasource + properties: + startTime: + type: string + description: The start time of the processing in ISO 8601 format + example: "2021-08-06T17:58:01.000Z" + endTime: + type: string + description: The end time of the processing in ISO 8601 format, 'NA' if still in progress + example: "2021-08-06T18:58:01.000Z" + ProcessingHistoryEventList: + description: Information about processing history for the datasource + type: array + items: + $ref: "#/components/schemas/ProcessingHistoryEvent" + DebugUserRequest: + type: object + description: Describes the request body of the /debug/{datasource}/user API call + properties: + email: + type: string + description: Email ID of the user to get the status for + example: u1@foo.com + required: + - email + DebugUserResponse: + type: object + description: Describes the response body of the /debug/{datasource}/user API call + properties: + status: + type: object + description: Upload and indexing status of the user + $ref: "#/components/schemas/UserStatusResponse" + uploadedGroups: + type: array + description: List of groups the user is a member of, as uploaded via permissions API. + items: + $ref: "#/components/schemas/DatasourceGroupDefinition" + UserStatusResponse: + type: object + description: Describes the user status response body + properties: + isActiveUser: + type: boolean + description: Whether the user is active or not + example: true + uploadStatus: + $ref: "#/components/schemas/UploadStatusEnum" + lastUploadedAt: + type: string + description: Time of last successful upload for the user, in ISO 8601 format + example: "2021-08-06T17:58:01.000Z" + UploadStatusEnum: type: string + description: Upload status, enum of NOT_UPLOADED, UPLOADED, STATUS_UNKNOWN enum: - - APP_CARD - - AUTOCOMPLETE_EXACT_MATCH - - AUTOCOMPLETE_FUZZY_MATCH - - AUTOCOMPLETE_ZERO_QUERY - - NEW_TAB_PAGE - AutocompleteResult: - required: - - result - - result_type - properties: - result: - type: string - keywords: - type: array - items: - type: string - description: A list of all possible keywords for given result. - resultType: - type: string - enum: - - ADDITIONAL_DOCUMENT - - APP - - BROWSER_HISTORY - - DATASOURCE - - DOCUMENT - - ENTITY - - GOLINK - - HISTORY - - CHAT_HISTORY - - NEW_CHAT - - OPERATOR - - OPERATOR_VALUE - - QUICKLINK - - SUGGESTION - score: - type: number - description: Higher indicates a more confident match. - operatorMetadata: - $ref: "#/components/schemas/OperatorMetadata" - quicklink: - $ref: "#/components/schemas/Quicklink" - document: - $ref: "#/components/schemas/Document" - url: - type: string - 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" - description: Subsections of the result string to which some special formatting should be applied (eg. bold) - example: - result: sample result - resultType: DOCUMENT - score: 4.56 - url: https://www.example.com/ - trackingToken: abcd - metadata: - - datasource: confluence - - objectType: page - AutocompleteResultGroup: - description: A subsection of the results list from which distinct sections should be created. - properties: - startIndex: - type: integer - description: The inclusive start index of the range. - endIndex: - type: integer - description: The exclusive end index of the range. - title: - type: string - description: The title of the result group to be displayed. Empty means no title. - AutocompleteResponse: - allOf: - - $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" - results: - type: array - items: - $ref: "#/components/schemas/AutocompleteResult" - groups: - type: array - items: - $ref: "#/components/schemas/AutocompleteResultGroup" - description: Subsections of the results list from which distinct sections should be created. - errorInfo: - $ref: "#/components/schemas/ErrorInfo" - backendTimeMillis: - type: integer - format: int64 - description: Time in milliseconds the backend took to respond to the request. - example: 1100 - example: - trackingToken: trackingToken - ChatZeroStateSuggestionOptions: - properties: - applicationId: - 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 - description: Number of results asked in response. If a result is a collection, counts as one. - 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. - categoryToResultSize: - type: object - additionalProperties: + - UPLOADED + - NOT_UPLOADED + - STATUS_UNKNOWN + example: UPLOADED + DebugDocumentLifecycleRequest: type: object + description: Describes the request body of the /debug/{datasource}/document/events API call. properties: - resultSize: - type: integer - description: Mapping from category to number of results asked for the category. - datasourceFilter: - type: array - items: - type: string - description: Datasources for which content should be included. Empty is for all. - chatZeroStateSuggestionOptions: - $ref: "#/components/schemas/ChatZeroStateSuggestionOptions" - FeedRequest: - required: - - refreshType - properties: - categories: - type: array - items: + objectType: + type: string + description: Object type of the document to get lifecycle events for. + example: Article + docId: + type: string + description: Glean Document ID within the datasource to get lifecycle events for. + example: art123 + startDate: + type: string + description: The start date for events to be fetched. Cannot be more than 30 days (default 7 days) in the past. + example: "2025-05-01" + maxEvents: + type: integer + description: Max number of events to be fetched. Cannot be more than 100 (default 20). + example: 50 + required: + - objectType + - docId + DebugDocumentLifecycleResponse: + type: object + description: Describes the response body of the /debug/{datasource}/document/events API call + properties: + lifeCycleEvents: + type: array + description: List of lifecycle events corresponding to the document + items: + $ref: "#/components/schemas/LifeCycleEvent" + CustomMetadataPutRequest: + type: object + description: Request body for adding or updating custom metadata on a document + properties: + customMetadata: + type: array + description: Array of custom metadata key-value pairs + items: + $ref: "#/components/schemas/CustomProperty" + required: + - customMetadata + CustomMetadataSchema: + type: object + description: Schema for custom metadata containing metadata key definitions + properties: + metadataKeys: + type: array + description: Array of metadata key definitions + items: + $ref: "#/components/schemas/CustomMetadataPropertyDefinition" + required: + - metadataKeys + SuccessResponse: + type: object + description: Success response for custom metadata operations + properties: + success: + type: boolean + description: Indicates if the operation was successful + default: true + ErrorInfoResponse: + type: object + description: Error response for custom metadata operations + properties: + error: + type: string + description: Error message describing what went wrong + message: + type: string + description: Additional details about the error + required: + - error + PropertyDefinition: + properties: + name: + type: string + description: The name of the property in the `DocumentMetadata` (e.g. 'createTime', 'updateTime', 'author', 'container'). In the future, this will support custom properties too. + displayLabel: + type: string + description: The user friendly label for the property. + displayLabelPlural: + type: string + description: The user friendly label for the property that will be used if a plural context. + propertyType: + type: string + enum: + - TEXT + - DATE + - INT + - USERID + - PICKLIST + - TEXTLIST + - MULTIPICKLIST + description: The type of custom property - this governs the search and faceting behavior. Note that MULTIPICKLIST is not yet supported. + uiOptions: + type: string + enum: + - NONE + - SEARCH_RESULT + - DOC_HOVERCARD + hideUiFacet: + type: boolean + description: If true then the property will not show up as a facet in the UI. + uiFacetOrder: + type: integer + description: Will be used to set the order of facets in the UI, if present. If set for one facet, must be set for all non-hidden UI facets. Must take on an integer value from 1 (shown at the top) to N (shown last), where N is the number of non-hidden UI facets. These facets will be ordered below the built-in "Type" and "Tag" operators. + skipIndexing: + type: boolean + description: If true then the property will not be indexed for retrieval and ranking. + group: + type: string + description: The unique identifier of the `PropertyGroup` to which this property belongs. + PropertyGroup: + description: A grouping for multiple PropertyDefinition. Grouped properties will be displayed together in the UI. + properties: + name: + type: string + description: The unique identifier of the group. + displayLabel: + type: string + description: The user-friendly group label to display. + ObjectDefinition: + description: The definition for an `DocumentMetadata.objectType` within a datasource. + properties: + name: + type: string + description: Unique identifier for this `DocumentMetadata.objectType`. If omitted, this definition is used as a default for all unmatched `DocumentMetadata.objectType`s in this datasource. + displayLabel: + type: string + description: The user-friendly name of the object for display. + docCategory: + type: string + enum: + - UNCATEGORIZED + - TICKETS + - CRM + - PUBLISHED_CONTENT + - COLLABORATIVE_CONTENT + - QUESTION_ANSWER + - MESSAGING + - CODE_REPOSITORY + - CHANGE_MANAGEMENT + - PEOPLE + - EMAIL + - SSO + - ATS + - KNOWLEDGE_HUB + - EXTERNAL_SHORTCUT + - ENTITY + - CALENDAR + - AGENTS + description: The document category of this object type. + propertyDefinitions: + type: array + items: + $ref: "#/components/schemas/PropertyDefinition" + propertyGroups: + type: array + description: A list of `PropertyGroup`s belonging to this object type, which will group properties to be displayed together in the UI. + items: + $ref: "#/components/schemas/PropertyGroup" + summarizable: + description: Whether or not the object is summarizable + type: boolean + CanonicalizingRegexType: + description: Regular expression to apply to an arbitrary string to transform it into a canonical string. + properties: + matchRegex: + type: string + description: Regular expression to match to an arbitrary string. + rewriteRegex: + type: string + description: Regular expression to transform into a canonical string. + SharedDatasourceConfigNoInstance: + type: object + description: Structure describing shared config properties of a datasource with no multi-instance support. + required: + - name + properties: + name: + type: string + description: Unique identifier of datasource instance to which this config applies. + displayName: + type: string + description: The user-friendly instance label to display. If omitted, falls back to the title-cased `name`. + datasourceCategory: + type: string + enum: + - UNCATEGORIZED + - TICKETS + - CRM + - PUBLISHED_CONTENT + - COLLABORATIVE_CONTENT + - QUESTION_ANSWER + - MESSAGING + - CODE_REPOSITORY + - CHANGE_MANAGEMENT + - PEOPLE + - EMAIL + - SSO + - ATS + - KNOWLEDGE_HUB + - EXTERNAL_SHORTCUT + - ENTITY + - CALENDAR + - AGENTS + default: UNCATEGORIZED + description: The type of this datasource. It is an important signal for relevance and must be specified and cannot be UNCATEGORIZED. Please refer to [this](https://developers.glean.com/docs/indexing_api_datasource_category/) for more details. + urlRegex: + type: string + description: "Regular expression that matches URLs of documents of the datasource instance. The behavior for multiple matches is non-deterministic. **Note: `urlRegex` is a required field for non-entity datasources, but not required if the datasource is used to push custom entities (ie. datasources where isEntityDatasource is false). Please add a regex as specific as possible to this datasource instance.**" + example: https://example-company.datasource.com/.* + iconUrl: + type: string + description: The URL to an image to be displayed as an icon for this datasource instance. Must have a transparency mask. SVG are recommended over PNG. Public, scio-authenticated and Base64 encoded data URLs are all valid (but not third-party-authenticated URLs). + objectDefinitions: + type: array + description: The list of top-level `objectType`s for the datasource. + items: + $ref: "#/components/schemas/ObjectDefinition" + suggestionText: + type: string + description: Example text for what to search for in this datasource + homeUrl: + type: string + description: The URL of the landing page for this datasource instance. Should point to the most useful page for users, not the company marketing page. + crawlerSeedUrls: + type: array + description: This only applies to WEB_CRAWL and BROWSER_CRAWL datasources. Defines the seed URLs for crawling. + items: + type: string + iconDarkUrl: + type: string + description: The URL to an image to be displayed as an icon for this datasource instance in dark mode. Must have a transparency mask. SVG are recommended over PNG. Public, scio-authenticated and Base64 encoded data URLs are all valid (but not third-party-authenticated URLs). + hideBuiltInFacets: + type: array + description: List of built-in facet types that should be hidden for the datasource. + items: + type: string + enum: + - TYPE + - TAG + - AUTHOR + - OWNER + canonicalizingURLRegex: + type: array + description: A list of regular expressions to apply to an arbitrary URL to transform it into a canonical URL for this datasource instance. Regexes are to be applied in the order specified in this list. + items: + $ref: "#/components/schemas/CanonicalizingRegexType" + canonicalizingTitleRegex: + type: array + description: A list of regular expressions to apply to an arbitrary title to transform it into a title that will be displayed in the search results + items: + $ref: "#/components/schemas/CanonicalizingRegexType" + redlistTitleRegex: + type: string + description: A regex that identifies titles that should not be indexed + connectorType: + allOf: + - $ref: "#/components/schemas/ConnectorType" + type: string + quicklinks: + type: array + description: List of actions for this datasource instance that will show up in autocomplete and app card, e.g. "Create new issue" for jira + items: + $ref: "#/components/schemas/Quicklink" + renderConfigPreset: + type: string + description: The name of a render config to use for displaying results from this datasource. Any well known datasource name may be used to render the same as that source, e.g. `web` or `gdrive`. Please refer to [this](https://developers.glean.com/docs/rendering_search_results/) for more details + aliases: + type: array + description: Aliases that can be used as `app` operator-values. + items: + type: string + isOnPrem: + type: boolean + description: Whether or not this datasource is hosted on-premise. + trustUrlRegexForViewActivity: + type: boolean + default: true + description: True if browser activity is able to report the correct URL for VIEW events. Set this to true if the URLs reported by Chrome are constant throughout each page load. Set this to false if the page has Javascript that modifies the URL during or after the load. + includeUtmSource: + type: boolean + description: If true, a utm_source query param will be added to outbound links to this datasource within Glean. + stripFragmentInCanonicalUrl: + type: boolean + default: true + description: If true, the fragment part of the URL will be stripped when converting to a canonical url. + CustomDatasourceConfig: + description: Structure describing config properties of a custom datasource + allOf: + - $ref: "#/components/schemas/SharedDatasourceConfigNoInstance" + - type: object + properties: + identityDatasourceName: + type: string + description: If the datasource uses another datasource for identity info, then the name of the datasource. The identity datasource must exist already and the datasource with identity info should have its visibility enabled for search results. + productAccessGroup: + type: string + description: If the datasource uses a specific product access group, then the name of that group. + isUserReferencedByEmail: + type: boolean + description: whether email is used to reference users in document ACLs and in group memberships. + isEntityDatasource: + type: boolean + default: false + description: True if this datasource is used to push custom entities. + isTestDatasource: + type: boolean + default: false + description: True if this datasource will be used for testing purpose only. Documents from such a datasource wouldn't have any effect on search rankings. + ShortcutProperties: + properties: + inputAlias: + type: string + description: link text following the viewPrefix as entered by the user. For example, if the view prefix is `go/` and the shortened URL is `go/abc`, then `abc` is the inputAlias. + description: + type: string + description: A short, plain text blurb to help people understand the intent of the shortcut. + destinationUrl: + type: string + format: url + description: destination URL for the shortcut. + createdBy: + type: string + description: Email of the user who created this shortcut. + createTime: + type: integer + format: int64 + description: The time the shortcut was created in epoch seconds. + updatedBy: + type: string + description: Email of the user who last updated this shortcut. + updateTime: + type: integer + format: int64 + description: The time the shortcut was updated in epoch seconds. + ExternalShortcut: + allOf: + - $ref: "#/components/schemas/ShortcutProperties" + - type: object + required: + - destinationUrl + - intermediateUrl + - createdBy + - inputAlias + properties: + title: + type: string + description: Title of the golink + intermediateUrl: + type: string + format: url + description: The URL from which the user is then redirected to the destination URL. + decayedVisitScore: + type: number + format: double + description: decayed visits score for ranking + editUrl: + type: string + format: url + description: The URL using which the user can access the edit page of the shortcut. + SharedDatasourceConfig: + description: Structure describing shared config properties of the datasource (including multi-instance support) + allOf: + - $ref: "#/components/schemas/SharedDatasourceConfigNoInstance" + - type: object + properties: + datasourceName: + type: string + description: The (non-unique) name of the datasource of which this config is an instance, e.g. "jira". + instanceOnlyName: + type: string + description: The instance of the datasource for this particular config, e.g. "onprem". + instanceDescription: + type: string + description: A human readable string identifying this instance as compared to its peers, e.g. "github.com/askscio" or "github.askscio.com" + IndexingShortcut: + allOf: + - $ref: "#/components/schemas/ShortcutProperties" + - type: object + required: + - destinationUrl + - createdBy + - inputAlias + properties: + unlisted: + type: boolean + description: Whether this shortcut is unlisted or not. Unlisted shortcuts are visible to author and admins only. + urlTemplate: + type: string + description: For variable shortcuts, contains the URL template; note, `destinationUrl` contains default URL. + SensitiveInfoType: + properties: + likelihoodThreshold: + deprecated: true + type: string + enum: + - LIKELY + - VERY_LIKELY + - POSSIBLE + - UNLIKELY + - VERY_UNLIKELY + x-glean-deprecated: + - id: d45039ec-d6f6-47ba-93b7-ab2307b07f84 + introduced: "2026-02-05" + kind: property + message: Field is deprecated + removal: "2026-10-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Field is deprecated" + infoType: + description: Text representation of an info-type to scan for. + type: string + TimeRange: + properties: + startTime: + type: string + description: start time of the time range, applicable for the CUSTOM type. + format: date-time + endTime: + type: string + description: end time of the time range, applicable for the CUSTOM type. + format: date-time + lastNDaysValue: + type: integer + description: The number of days to look back from the current time, applicable for the LAST_N_DAYS type. + format: int64 + InputOptions: + description: Controls which data-sources and what time-range to include in scans. + properties: + urlGreenlist: + deprecated: true + type: array + description: list of url regex matching documents excluded from report + items: + type: string + x-glean-deprecated: + id: e022aaa5-56e6-4b57-bca3-b11943da76a0 + introduced: "2026-02-05" + message: Field is deprecated + removal: "2026-10-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Field is deprecated" + datasourcesType: + type: string + description: The types of datasource for which to run the report/policy. + enum: + - ALL + - CUSTOM + datasources: + deprecated: true + type: array + description: List of datasources to consider for report. DEPRECATED - use datasourceInstances instead. + items: + type: string + x-glean-deprecated: + id: 97e35970-e0ed-4248-be13-2af8c22e7894 + introduced: "2026-02-05" + message: Use datasourceInstances instead + removal: "2026-10-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use datasourceInstances instead" + datasourceInstances: + type: array + description: List of datasource instances to consider for report/policy. + items: + type: string + timePeriodType: + type: string + description: Type of time period for which to run the report/policy. PAST_DAY is deprecated. + enum: + - ALL_TIME + - PAST_YEAR + - PAST_DAY + - CUSTOM + - LAST_N_DAYS + customTimeRange: + $ref: "#/components/schemas/TimeRange" + subsetDocIdsToScan: + type: array + description: Subset of document IDs to scan. If empty, all documents matching other scope criteria will be scanned. + items: + type: string + SharingOptions: + description: Controls how "shared" a document must be to get picked for scans. + properties: + enabled: + deprecated: true + type: boolean + x-glean-deprecated: + id: e9260be6-209b-4ce2-a4b3-f7f22879dd86 + introduced: "2026-02-05" + message: Field is deprecated + removal: "2026-10-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Field is deprecated" + threshold: + description: The minimum number of users the document is shared with. + type: integer + thresholdEnabled: + description: Documents will be filtered based on how many people have access to it. + type: boolean + anyoneWithLinkEnabled: + deprecated: true + type: boolean + x-glean-deprecated: + id: 30646ced-e0db-43ef-8412-64a67c5d0f53 + introduced: "2026-02-05" + message: Field is deprecated + removal: "2026-10-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Field is deprecated" + anyoneInternalEnabled: + description: Only users within the organization can access the document. + type: boolean + anonymousAccessEnabled: + description: Anyone on the internet can access the document. + type: boolean + userAccessEnabled: + description: Enable user access check + type: boolean + userIds: + type: array + description: Any one of the specified users can access the document. + items: + type: string + ExternalSharingOptions: + deprecated: true + x-glean-deprecated: + id: 7c9e4a1d-3f8b-4e2c-9a5d-6b0f1c8e2d4a + introduced: "2026-02-05" + message: Use broadSharingOptions instead + removal: "2026-10-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use broadSharingOptions instead" + allOf: + - description: DEPRECATED - use `broadSharingOptions` instead. + - $ref: "#/components/schemas/SharingOptions" + - type: object + properties: + domainAccessEnabled: + type: boolean + HotwordProximity: + properties: + windowBefore: + type: integer + windowAfter: + type: integer + Hotword: + properties: + regex: + type: string + proximity: + $ref: "#/components/schemas/HotwordProximity" + SensitiveExpression: + properties: + expression: + description: Sensitive word, phrase, or regular expression. + type: string + hotwords: + description: Zero to three proximate regular expressions necessary to consider an expression as sensitive content. + type: array + items: + $ref: "#/components/schemas/Hotword" + CustomSensitiveRuleType: type: string + description: Type of the custom sensitive rule. enum: - - DOCUMENT_SUGGESTION - - DOCUMENT_SUGGESTION_SCENARIO - - TRENDING_DOCUMENT - - VERIFICATION_REMINDER - - EVENT - - ANNOUNCEMENT - - MENTION - - DATASOURCE_AFFINITY - - RECENT - - COMPANY_RESOURCE - - EXPERIMENTAL - - PEOPLE_CELEBRATIONS - - DISPLAYABLE_LIST - - SOCIAL_LINK - - EXTERNAL_TASKS - - WORKFLOW_COLLECTIONS - - ZERO_STATE_CHAT_SUGGESTION - - ZERO_STATE_CHAT_TOOL_SUGGESTION - - ZERO_STATE_WORKFLOW_CREATED_BY_ME - - ZERO_STATE_WORKFLOW_FAVORITES - - ZERO_STATE_WORKFLOW_POPULAR - - ZERO_STATE_WORKFLOW_RECENT - - ZERO_STATE_WORKFLOW_SUGGESTION - - PERSONALIZED_CHAT_SUGGESTION - - DAILY_DIGEST - - TASK - - PLAN_MY_DAY - - END_MY_DAY - - STARTER_KIT - - MID_DAY_CATCH_UP - - QUERY_SUGGESTION - - WEEKLY_MEETINGS - - FOLLOW_UP - - MILESTONE_TIMELINE_CHECK - - PROJECT_DISCUSSION_DIGEST - - PROJECT_NEXT_STEP - description: Categories of content requested. An allowlist gives flexibility to request content separately or together. - requestOptions: - $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" - DisplayableListFormat: - properties: - format: - type: string - enum: - - LIST - 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 - ConferenceData: - required: - - provider - - uri - properties: - provider: - type: string - enum: - - ZOOM - - HANGOUTS - uri: - type: string - description: A permalink for the conference. - source: - type: string - enum: - - NATIVE_CONFERENCE - - LOCATION - - DESCRIPTION - EventClassificationName: - description: The name for a generated classification of an event. - type: string - enum: - - External Event - EventStrategyName: - type: string - description: The name of method used to surface relevant data for a given calendar event. - enum: - - customerCard - - news - - call - - email - - meetingNotes - - linkedIn - - relevantDocuments - - chatFollowUps - - conversations - EventClassification: - description: A generated classification of a given event. - properties: - name: - $ref: "#/components/schemas/EventClassificationName" - strategies: - type: array - items: - $ref: "#/components/schemas/EventStrategyName" - StructuredLink: - description: The display configuration for a link. - properties: - name: - type: string - description: The display name for the link - url: - type: string - description: The URL for the link. - iconConfig: - $ref: "#/components/schemas/IconConfig" - 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 - text: - description: The content that has been generated. - type: string - 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" - documents: - type: array - items: - $ref: "#/components/schemas/Document" - person: - $ref: "#/components/schemas/Person" - customer: - $ref: "#/components/schemas/Customer" - externalLinks: - description: A list of links to external sources outside of Glean. - type: array - items: - $ref: "#/components/schemas/StructuredLink" - content: - type: array - items: - $ref: "#/components/schemas/GeneratedAttachmentContent" - CalendarEvent: - required: - - id - - url - allOf: - - $ref: "#/components/schemas/AnonymousEvent" - - type: object - properties: - id: - type: string - description: The calendar event id - url: - type: string - description: A permalink for this calendar event - attendees: - $ref: "#/components/schemas/CalendarAttendees" - location: - type: string - description: The location that this event is taking place at. - conferenceData: - $ref: "#/components/schemas/ConferenceData" - description: - type: string - description: The HTML description of the event. - datasource: - type: string - description: The app or other repository type from which the event was extracted - hasTranscript: - type: boolean - description: The event has a transcript associated with it enabling features like summarization - transcriptUrl: - type: string - description: A link to the transcript of the event - classifications: - type: array - items: - $ref: "#/components/schemas/EventClassification" - generatedAttachments: - type: array - items: - $ref: "#/components/schemas/GeneratedAttachment" - SectionType: - type: string - 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 - 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 - DigestUpdate: - type: object - properties: - urls: - type: array - description: List of URLs for similar updates that are grouped together and rendered as a single update. - items: - type: string - url: - type: string - description: URL link to the content or document. - title: - type: string - description: Title or headline of the update. - datasource: - type: string - description: Name or identifier of the data source (e.g., slack, confluence, etc.). - summary: - type: string - description: Brief summary or description of the update content. - type: - $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" - displayName: - type: string - description: Human-readable name for the digest section. - channelName: - type: string - description: Name of the channel (applicable for CHANNEL type sections). Used to display in the frontend. - channelType: - type: string - description: | - Channel visibility/type for CHANNEL sections. For Slack this is typically one of - PublicChannel, PrivateChannel. Omit if not applicable or unknown. - instanceId: - type: string - description: Instance identifier for the channel or workspace. Used for constructing channel URLs to display in the frontend. - url: - type: string - description: Optional URL for the digest section. Should be populated only if the section is a CHANNEL type section. - updates: - type: array - items: - $ref: "#/components/schemas/DigestUpdate" - description: List of updates within this digest section. - Digest: - type: object - properties: - podcastFileId: - type: string - description: Identifier for the podcast file generated from this digest content. - podcastDuration: - type: number - format: float - description: Duration of the podcast file in seconds. - digestDate: - type: string - description: The date this digest covers, in YYYY-MM-DD format. Represents the specific day for which the digest content and updates were compiled. This can be empty if the digest is not yet available. - example: "2025-09-03" - sections: - type: array - items: - $ref: "#/components/schemas/DigestSection" - description: Array of digest sections from which the podcast was created. - ChatSuggestion: - properties: - query: - type: string - description: The actionable chat query to run when the user selects this suggestion. - feature: - type: string - description: Targeted Glean Chat feature for the suggestion. - PromptTemplateMutableProperties: - required: - - template - properties: - name: - type: string - description: The user-given identifier for this prompt template. - template: - type: string - description: The actual template string. - applicationId: - type: string - description: The Application Id the prompt template should be created under. Empty for default assistant. - inclusions: - $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" - removedRoles: - type: array - description: A list of removed user roles for the Workflow. - items: - $ref: "#/components/schemas/UserRoleSpecification" - AttributionProperties: {} - PromptTemplate: - allOf: - - $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" - createTimestamp: - type: integer - description: Server Unix timestamp of the creation time. - lastUpdateTimestamp: - type: integer - description: Server Unix timestamp of the last update time. - lastUpdatedBy: - $ref: "#/components/schemas/Person" - roles: - type: array - description: A list of roles for this prompt template explicitly granted. - items: - $ref: "#/components/schemas/UserRoleSpecification" - UgcType: - enum: - - AGENT_TYPE - - ANNOUNCEMENTS_TYPE - - ANSWERS_TYPE - - CHATS_TYPE - - COLLECTIONS_TYPE - - EMAIL_TYPE - - HTML_CODE_TYPE - - IMAGE_TYPE - - MESSAGE_TYPE - - PAPER_TYPE - - PRISM_VIEWS_TYPE - - PROMPT_TEMPLATES_TYPE - - PINS_TYPE - - SCRIBES_TYPE - - SHORTCUTS_TYPE - - SLIDE_TYPE - - SPREADSHEET_TYPE - - WORKFLOWS_TYPE - FavoriteInfo: - type: object - properties: - 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. - favoritedByUser: - type: boolean - x-includeEmpty: true - description: If the requesting user has favorited this object. - PromptTemplateResult: - properties: - promptTemplate: - $ref: "#/components/schemas/PromptTemplate" - trackingToken: - type: string - description: An opaque token that represents this prompt template - favoriteInfo: - $ref: "#/components/schemas/FavoriteInfo" - runCount: - $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. - WorkflowDraftableProperties: - properties: - name: - type: string - description: The name of the workflow. - WorkflowMutableProperties: - type: object - allOf: - - $ref: "#/components/schemas/WorkflowDraftableProperties" - - type: object - WorkflowMetadata: - allOf: - - type: object - properties: - author: - $ref: "#/components/schemas/Person" - createTimestamp: - type: integer - description: Server Unix timestamp of the creation time. - lastUpdateTimestamp: - type: integer - description: Server Unix timestamp of the last update time. - lastDraftSavedAt: - type: integer - description: Server Unix timestamp of the last time the draft was saved. - lastUpdatedBy: - $ref: "#/components/schemas/Person" - Workflow: - allOf: - - $ref: "#/components/schemas/PermissionedObject" - - $ref: "#/components/schemas/WorkflowMutableProperties" - - $ref: "#/components/schemas/WorkflowMetadata" - - $ref: "#/components/schemas/AttributionProperties" - - type: object - properties: - id: - type: string - description: The ID of the workflow. - WorkflowResult: - type: object - required: - - workflow - properties: - workflow: - $ref: "#/components/schemas/Workflow" - UserActivity: - properties: - actor: - $ref: "#/components/schemas/Person" - timestamp: - type: integer - description: Unix timestamp of the activity (in seconds since epoch UTC). - action: - type: string - enum: - - ADD - - ADD_REMINDER - - CLICK - - COMMENT - - DELETE - - DISMISS - - EDIT - - MENTION - - MOVE - - OTHER - - RESTORE - - UNKNOWN - - VERIFY - - VIEW - description: The action for the activity - aggregateVisitCount: - $ref: "#/components/schemas/CountInfo" - FeedEntry: - required: - - title - properties: - entryId: - type: string - description: optional ID associated with a single feed entry (displayable_list_id) - title: - type: string - description: Title for the result. Can be document title, event title and so on. - thumbnail: - $ref: "#/components/schemas/Thumbnail" - createdBy: - $ref: "#/components/schemas/Person" - uiConfig: - allOf: - - $ref: "#/components/schemas/DisplayableListFormat" - - type: object - properties: - additionalFlags: - $ref: "#/components/schemas/DisplayableListItemUIConfig" - justificationType: - type: string - enum: - - FREQUENTLY_ACCESSED - - RECENTLY_ACCESSED - - TRENDING_DOCUMENT - - VERIFICATION_REMINDER - - SUGGESTED_DOCUMENT - - EMPTY_STATE_SUGGESTION - - FRECENCY_SCORED - - SERVER_GENERATED - - USE_CASE - - UPDATE_SINCE_LAST_VIEW - - RECENTLY_STARTED - - EVENT - - USER_MENTION - - ANNOUNCEMENT - - EXTERNAL_ANNOUNCEMENT - - POPULARITY_BASED_TRENDING - - COMPANY_RESOURCE - - EVENT_DOCUMENT_FROM_CONTENT - - EVENT_DOCUMENT_FROM_SEARCH - - VISIT_AFFINITY_SCORED - - SUGGESTED_APP - - SUGGESTED_PERSON - - ACTIVITY_HIGHLIGHT - - SAVED_SEARCH - - SUGGESTED_CHANNEL - - PEOPLE_CELEBRATIONS - - SOCIAL_LINK - - ZERO_STATE_CHAT_SUGGESTION - - ZERO_STATE_CHAT_TOOL_SUGGESTION - - ZERO_STATE_PROMPT_TEMPLATE_SUGGESTION - - ZERO_STATE_STATIC_WORKFLOW_SUGGESTION - - ZERO_STATE_AGENT_SUGGESTION - - PERSONALIZED_CHAT_SUGGESTION - - DAILY_DIGEST - - TASK - - PLAN_MY_DAY - - END_MY_DAY - - STARTER_KIT_EXTENSION - - STARTER_KIT_ORG_CHART - - STARTER_KIT_ADD_DOC - - MEETING_RECAP - - ACTIVE_DISCUSSION - - MID_DAY_CATCH_UP - - QUERY_SUGGESTION - - WEEKLY_MEETINGS - - FOLLOW_UP - - MILESTONE_TIMELINE_CHECK - - PROJECT_DISCUSSION_DIGEST - - PROJECT_NEXT_STEP - description: Type of the justification. - justification: - type: string - description: Server side generated justification string if server provides one. - trackingToken: - type: string - description: An opaque token that represents this particular feed entry in this particular response. To be used for /feedback reporting. - viewUrl: - type: string - description: View URL for the entry if based on links that are not documents in Glean. - document: - $ref: "#/components/schemas/Document" - event: - $ref: "#/components/schemas/CalendarEvent" - announcement: - $ref: "#/components/schemas/Announcement" - digest: - $ref: "#/components/schemas/Digest" - collection: - $ref: "#/components/schemas/Collection" - collectionItem: - $ref: "#/components/schemas/CollectionItem" - person: - $ref: "#/components/schemas/Person" - app: - $ref: "#/components/schemas/AppResult" - chatSuggestion: - $ref: "#/components/schemas/ChatSuggestion" - promptTemplate: - $ref: "#/components/schemas/PromptTemplateResult" - workflow: - $ref: "#/components/schemas/WorkflowResult" - activities: - type: array - items: - $ref: "#/components/schemas/UserActivity" - description: List of activity where each activity has user, action, timestamp. - documentVisitorCount: - $ref: "#/components/schemas/CountInfo" - FeedResult: - required: - - category - - primaryEntry - properties: - category: - type: string - enum: - - DOCUMENT_SUGGESTION - - DOCUMENT_SUGGESTION_SCENARIO - - TRENDING_DOCUMENT - - USE_CASE - - VERIFICATION_REMINDER - - EVENT - - ANNOUNCEMENT - - MENTION - - DATASOURCE_AFFINITY - - RECENT - - COMPANY_RESOURCE - - EXPERIMENTAL - - PEOPLE_CELEBRATIONS - - SOCIAL_LINK - - EXTERNAL_TASKS - - DISPLAYABLE_LIST - - ZERO_STATE_CHAT_SUGGESTION - - ZERO_STATE_CHAT_TOOL_SUGGESTION - - ZERO_STATE_WORKFLOW_CREATED_BY_ME - - ZERO_STATE_WORKFLOW_FAVORITES - - ZERO_STATE_WORKFLOW_POPULAR - - ZERO_STATE_WORKFLOW_RECENT - - ZERO_STATE_WORKFLOW_SUGGESTION - - PERSONALIZED_CHAT_SUGGESTION - - DAILY_DIGEST - - TASK - - PLAN_MY_DAY - - END_MY_DAY - - STARTER_KIT - - MID_DAY_CATCH_UP - - QUERY_SUGGESTION - - WEEKLY_MEETINGS - - FOLLOW_UP - - MILESTONE_TIMELINE_CHECK - - PROJECT_DISCUSSION_DIGEST - - PROJECT_NEXT_STEP - description: Category of the result, one of the requested categories in incoming request. - primaryEntry: - $ref: "#/components/schemas/FeedEntry" - secondaryEntries: - type: array - items: - $ref: "#/components/schemas/FeedEntry" - description: Secondary entries for the result e.g. suggested docs for the calendar, carousel. - rank: - type: integer - description: Rank of the result. Rank is suggested by server. Client side rank may differ. - FeedResponse: - required: - - serverTimestamp - allOf: - - $ref: "#/components/schemas/BackendExperimentsContext" - - type: object - properties: - trackingToken: - type: string - description: An opaque token that represents this particular feed response. - serverTimestamp: - type: integer - description: Server unix timestamp (in seconds since epoch UTC). - results: - type: array - items: - $ref: "#/components/schemas/FeedResult" - facetResults: - type: object - additionalProperties: - type: array - items: - $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. - RecommendationsRequestOptions: - properties: - datasourceFilter: - type: string - description: Filter results to a single datasource name (e.g. gmail, slack). All results are returned if missing. - datasourcesFilter: - type: array - items: - type: string - description: Filter results to only those relevant to one or more datasources (e.g. jira, gdrive). All results are returned if missing. - facetFilterSets: - type: array - items: - $ref: "#/components/schemas/FacetFilterSet" - description: A list of facet filter sets that will be OR'ed together. - context: - $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" - RecommendationsRequest: - allOf: - - $ref: "#/components/schemas/ResultsRequest" - - type: object - properties: - recommendationDocumentSpec: - $ref: "#/components/schemas/DocumentSpec" - description: Retrieve recommendations for this document. Glean Document ID is preferred over URL. - requestOptions: - $ref: "#/components/schemas/RecommendationsRequestOptions" - description: Options for adjusting the request for recommendations. - RecommendationsResponse: - allOf: - - $ref: "#/components/schemas/ResultsResponse" - SortOptions: - type: object - properties: - orderBy: - type: string - enum: - - ASC - - DESC - sortBy: - type: string - ListEntitiesRequest: - type: object - properties: - filter: - type: array - items: - $ref: "#/components/schemas/FacetFilter" - sort: - description: Use EntitiesSortOrder enum for SortOptions.sortBy - type: array - items: - $ref: "#/components/schemas/SortOptions" - entityType: - type: string - default: PEOPLE - enum: - - PEOPLE - - TEAMS - - CUSTOM_ENTITIES - datasource: - type: string - description: The datasource associated with the entity type, most commonly used with CUSTOM_ENTITIES - query: - 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: + - REGEX + - TERM + - INFO_TYPE + CustomSensitiveRule: + properties: + id: + description: Identifier for the custom sensitive expression. + type: string + value: + type: string + description: The value of the custom sensitive rule. For REGEX type, this is the regex pattern; for TERM type, it is the term to match; and for INFO_TYPE type, it refers to predefined categories of sensitive content. See https://cloud.google.com/dlp/docs/infotypes-reference for available options. + type: + $ref: "#/components/schemas/CustomSensitiveRuleType" + likelihoodThreshold: + description: Likelihood threshold for BUILT_IN infotypes (e.g., LIKELY, VERY_LIKELY). Only applicable for BUILT_IN type. + type: string + enum: + - LIKELY + - VERY_LIKELY + - POSSIBLE + - UNLIKELY + - VERY_UNLIKELY + CustomSensitiveExpression: + properties: + id: + description: Identifier for the custom sensitive expression. + type: string + keyword: + description: The keyword to match against. + $ref: "#/components/schemas/CustomSensitiveRule" + evaluationExpression: + description: The expression to evaluate the keyword match. + type: string + SensitiveContentOptions: + description: Options for defining sensitive content within scanned documents. + properties: + sensitiveInfoTypes: + deprecated: true + description: DEPRECATED - use 'customSensitiveExpressions' instead. + type: array + items: + $ref: "#/components/schemas/SensitiveInfoType" + x-glean-deprecated: + id: 3497cb1c-f7aa-42d8-81b8-309c3adeed84 + introduced: "2026-02-05" + message: Use customSensitiveExpressions instead + removal: "2026-10-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use customSensitiveExpressions instead" + sensitiveTerms: + deprecated: true + description: DEPRECATED - use 'customSensitiveExpressions' instead. + type: array + items: + $ref: "#/components/schemas/SensitiveExpression" + x-glean-deprecated: + id: b0713b37-472e-4c29-80ba-6f5d6f2b449c + introduced: "2026-02-05" + message: Use customSensitiveExpressions instead + removal: "2026-10-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use customSensitiveExpressions instead" + sensitiveRegexes: + deprecated: true + description: DEPRECATED - use 'customSensitiveExpressions' instead. + type: array + items: + $ref: "#/components/schemas/SensitiveExpression" + x-glean-deprecated: + id: a26e1920-36b6-4c0f-981f-57b09a9ebce3 + introduced: "2026-02-05" + message: Use customSensitiveExpressions instead + removal: "2026-10-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use customSensitiveExpressions instead" + customSensitiveExpressions: + description: list of custom sensitive expressions to consider as sensitive content + type: array + items: + $ref: "#/components/schemas/CustomSensitiveExpression" + DlpPersonMetadata: + properties: + firstName: + type: string + description: The first name of the person + email: + type: string + description: The user's primary email address + DlpPerson: + description: Details about the person who created this report/policy. + required: + - name + - obfuscatedId + properties: + name: + type: string + description: The display name. + obfuscatedId: + type: string + description: An opaque identifier that can be used to request metadata for a Person. + metadata: + $ref: "#/components/schemas/DlpPersonMetadata" + AllowlistOptions: + description: Terms that are allow-listed during the scans. If any finding picked up by a rule exactly matches a term in the allow-list, it will not be counted as a violation. + properties: + terms: + type: array + description: list of words and phrases to consider as whitelisted content + items: + type: string + DlpConfig: + description: Detailed configuration of what documents and sensitive content will be scanned. + properties: + version: + description: Synonymous with report/policy id. + type: integer + format: int64 + sensitiveInfoTypes: + deprecated: true + description: DEPRECATED - use `sensitiveContentOptions` instead. + type: array + items: + $ref: "#/components/schemas/SensitiveInfoType" + x-glean-deprecated: + id: 60d6d182-e9d0-448d-af75-137f68bbdcbf + introduced: "2026-02-05" + message: Use sensitiveContentOptions instead + removal: "2026-10-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use sensitiveContentOptions instead" + inputOptions: + description: Options for documents to include or exclude in a report + $ref: "#/components/schemas/InputOptions" + externalSharingOptions: + deprecated: true + description: DEPRECATED - use `broadSharingOptions` instead. + $ref: "#/components/schemas/ExternalSharingOptions" + x-glean-deprecated: + id: 6484ec17-a133-4176-b2ce-28e25b0e9065 + introduced: "2026-02-05" + message: Use broadSharingOptions instead + removal: "2026-10-15" + x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use broadSharingOptions instead" + broadSharingOptions: + description: Options for defining documents to scan for sensitive content. + $ref: "#/components/schemas/SharingOptions" + sensitiveContentOptions: + description: Options for defining sensitive content within scanned documents. + $ref: "#/components/schemas/SensitiveContentOptions" + reportName: + type: string + frequency: + description: Interval between scans. + type: string + createdBy: + description: Person who created this report/policy. + $ref: "#/components/schemas/DlpPerson" + createdAt: + description: Timestamp at which this configuration was created. + type: string + format: iso-date-time + redactQuote: + description: redact quote in findings of the report + type: boolean + autoHideDocs: + description: auto hide documents with findings in the report + type: boolean + allowlistOptions: + description: Options for defining whitelisting content within scanned documents + $ref: "#/components/schemas/AllowlistOptions" + DlpFrequency: type: string + description: Interval between scans. DAILY is deprecated. + x-include-enum-class-prefix: true enum: - - PEOPLE - - TEAMS - - PEOPLE_DISTANCE - - PERMISSIONS - - FACETS - - INVITE_INFO - - LAST_EXTENSION_USE - - MANAGEMENT_DETAILS - - UNPROCESSED_TEAMS - pageSize: - type: integer - example: 100 - description: Hint to the server about how many results to send back. Server may return less. - cursor: - type: string - description: Pagination cursor. A previously received opaque token representing the position in the overall results at which to start. - source: - type: string - description: A string denoting the search surface from which the endpoint is called. - requestType: - type: string - default: STANDARD - description: The type of request being made. - 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 - - LAST_NAME - - ORG_SIZE_COUNT - - START_DATE - - TEAM_SIZE - - RELEVANCE - ListEntitiesResponse: - type: object - properties: - results: - type: array - items: - $ref: "#/components/schemas/Person" - teamResults: - type: array - items: - $ref: "#/components/schemas/Team" - customEntityResults: - type: array - items: - $ref: "#/components/schemas/CustomEntity" - facetResults: - type: array - items: - $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. - totalCount: - type: integer - description: The total number of entities available - hasMoreResults: - type: boolean - 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" - customFacetNames: - type: array - description: list of Person attributes that are custom setup by deployment - items: - type: string - PeopleRequest: - type: object - properties: - 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. - obfuscatedIds: - type: array - items: - type: string - description: The Person IDs to retrieve. If no IDs are requested, the current user's details are returned. - emailIds: - type: array - items: - 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: + - ONCE + - DAILY + - WEEKLY + - CONTINUOUS + - NONE + DlpReportStatus: type: string + description: The status of the policy/report. Only ACTIVE status will be picked for scans. + x-include-enum-class-prefix: true enum: - - BADGES - - BUSY_EVENTS - - DOCUMENT_ACTIVITY - - INVITE_INFO - - PEOPLE_DISTANCE - - PERMISSIONS - - PEOPLE_DETAILS - - MANAGEMENT_DETAILS - - PEOPLE_PROFILE_SETTINGS - - PEOPLE_WITHOUT_MANAGER - 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: + - ACTIVE + - INACTIVE + - CANCELLED + - NONE + DlpReport: + description: Full policy information that will be used for scans. + properties: + id: + type: string + name: + type: string + config: + description: All details of the policy that is needed for a scan. + $ref: "#/components/schemas/DlpConfig" + frequency: + description: The interval between scans. + $ref: "#/components/schemas/DlpFrequency" + status: + description: The status of the policy. + $ref: "#/components/schemas/DlpReportStatus" + createdBy: + description: Person who created this report. + $ref: "#/components/schemas/DlpPerson" + createdAt: + description: Timestamp at which the policy was created. + type: string + format: iso-date-time + lastUpdatedAt: + description: Timestamp at which the policy was last updated. + type: string + format: iso-date-time + autoHideDocs: + description: Auto hide documents with findings in the policy. + type: boolean + lastScanStatus: + type: string + enum: + - PENDING + - SUCCESS + - FAILURE + - CANCELLED + - CANCELLING + - ACTIVE + lastScanStartTime: + description: The timestamp at which the report's last run/scan began. + type: string + format: iso-date-time + updatedBy: + description: Person who last updated this report. + $ref: "#/components/schemas/DlpPerson" + GetDlpReportResponse: + properties: + report: + $ref: "#/components/schemas/DlpReport" + UpdateDlpReportRequest: + properties: + config: + description: The new configuration the policy will follow if provided. + $ref: "#/components/schemas/DlpConfig" + frequency: + description: The new frequency the policy will follow if provided. + $ref: "#/components/schemas/DlpFrequency" + status: + description: The new status the policy will be updated to if provided. + $ref: "#/components/schemas/DlpReportStatus" + autoHideDocs: + description: The new autoHideDoc boolean the policy will be updated to if provided. + type: boolean + reportName: + description: The new name of the policy if provided. + type: string + DlpSimpleResult: type: string enum: - - PEOPLE_WITHOUT_MANAGER - - INVALID_ENTITIES - 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. - source: - type: string - description: A string denoting the search surface from which the endpoint is called. - example: - obfuscatedIds: - - abc123 - - abc456 - PeopleResponse: - properties: - results: - type: array - items: - $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" - 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 - items: - type: string - description: A list of IDs that could not be found. - CreateShortcutRequest: - required: - - data - properties: - data: - $ref: "#/components/schemas/ShortcutMutableProperties" - ShortcutError: - properties: - errorType: - type: string - enum: - - NO_PERMISSION - - INVALID_ID - - EXISTING_SHORTCUT - - INVALID_CHARS - CreateShortcutResponse: - properties: - shortcut: - $ref: "#/components/schemas/Shortcut" - error: - $ref: "#/components/schemas/ShortcutError" - DeleteShortcutRequest: - allOf: - - $ref: "#/components/schemas/UserGeneratedContentId" - - type: object - required: - - id - GetShortcutRequest: - oneOf: - - $ref: "#/components/schemas/UserGeneratedContentId" - - type: object - required: - - alias - properties: - alias: - type: string - description: The alias for the shortcut, including any arguments for variable shortcuts. - GetShortcutResponse: - properties: - 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" - ListShortcutsPaginatedRequest: - required: - - pageSize - properties: - includeFields: - description: Array of fields/data to be included in response that are not included by default - type: array - items: + - SUCCESS + - FAILURE + UpdateDlpReportResponse: + properties: + result: + $ref: "#/components/schemas/DlpSimpleResult" + ListDlpReportsResponse: + properties: + reports: + type: array + items: + $ref: "#/components/schemas/DlpReport" + CreateDlpReportRequest: + properties: + name: + description: Name of the policy being created. + type: string + config: + description: Details on the configuration used in the scans. + $ref: "#/components/schemas/DlpConfig" + frequency: + description: Interval between scans. + $ref: "#/components/schemas/DlpFrequency" + autoHideDocs: + description: Controls whether the policy should hide documents with violations. + type: boolean + CreateDlpReportResponse: + properties: + report: + $ref: "#/components/schemas/DlpReport" + UpdateDlpConfigRequest: + properties: + config: + $ref: "#/components/schemas/DlpConfig" + frequency: + description: Only "ONCE" is supported for reports. + type: string + UpdateDlpConfigResponse: + properties: + result: + $ref: "#/components/schemas/DlpSimpleResult" + reportId: + description: The id of the report that was just created and run. + type: string + ReportStatusResponse: + properties: + status: + type: string + enum: + - PENDING + - SUCCESS + - FAILURE + - CANCELLED + - CANCELLING + - ACTIVE + startTime: + description: The timestamp at which the report's run/scan began. + type: string + format: iso-date-time + DocumentVisibilityOverride: + properties: + docId: + type: string + override: + description: The visibility-override state of the document. + type: string + enum: + - NONE + - HIDE_FROM_ALL + - HIDE_FROM_GROUPS + - HIDE_FROM_ALL_EXCEPT_OWNER + GetDocumentVisibilityOverridesResponse: + properties: + visibilityOverrides: + type: array + items: + $ref: "#/components/schemas/DocumentVisibilityOverride" + UpdateDocumentVisibilityOverridesRequest: + properties: + visibilityOverrides: + type: array + items: + $ref: "#/components/schemas/DocumentVisibilityOverride" + DocumentVisibilityUpdateResult: + allOf: + - $ref: "#/components/schemas/DocumentVisibilityOverride" + - type: object + properties: + success: + description: Whether this document was successfully set to its desired visibility state. + type: boolean + UpdateDocumentVisibilityOverridesResponse: + properties: + results: + description: The documents and whether their visibility was successfully updated. + type: array + items: + $ref: "#/components/schemas/DocumentVisibilityUpdateResult" + DlpSeverity: type: string + description: Severity levels for DLP findings and analyses. + x-include-enum-class-prefix: true enum: - - FACETS - - PEOPLE_DETAILS - pageSize: - type: integer - example: 10 - cursor: - type: string - description: A token specifying the position in the overall results to start at. Received from the endpoint and iterated back. Currently being used as page no (as we implement offset pagination) - filters: - type: array - items: - $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" - 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. - ShortcutsPaginationMetadata: - properties: - cursor: - type: string - description: Cursor indicates the start of the next page of results - hasNextPage: - type: boolean - totalItemCount: - type: integer - ListShortcutsPaginatedResponse: - required: - - shortcuts - - meta - properties: - shortcuts: - type: array - items: - $ref: "#/components/schemas/Shortcut" - description: List of all shortcuts accessible to the user - facetResults: - type: array - items: - $ref: "#/components/schemas/FacetResult" - meta: - $ref: "#/components/schemas/ShortcutsPaginationMetadata" - description: Contains metadata like total item count and whether next page exists - UpdateShortcutRequest: - allOf: - - $ref: "#/components/schemas/UserGeneratedContentId" - - $ref: "#/components/schemas/ShortcutMutableProperties" - - type: object - required: - - id - UpdateShortcutResponse: - properties: - shortcut: - $ref: "#/components/schemas/Shortcut" - error: - $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 - query: - type: string - description: Optional query that the summary should be about - preferredSummaryLength: - type: integer - description: Optional length of summary output. If not given, defaults to 500 chars. - documentSpecs: - type: array - items: - $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. - Summary: - properties: - text: - type: string - followUpPrompts: - type: array - items: - type: string - description: Follow-up prompts based on the summarized doc - SummarizeResponse: - properties: - error: - type: object - properties: - message: - type: string - 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 - description: The document which the verification is for new reminders and/or update. - assignee: - type: string - description: The obfuscated id of the person this verification is assigned to. - remindInDays: - type: integer - description: Reminder for the next verifications in terms of days. For deletion, this will be omitted. - 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"). - VerificationFeed: - properties: - documents: - type: array - items: - $ref: "#/components/schemas/Verification" - description: List of document infos that include verification related information for them. - VerifyRequest: - required: - - documentId - properties: - documentId: - type: string - description: The document which is verified. - action: - type: string - enum: - - VERIFY - - DEPRECATE - - UNVERIFY - description: The verification action requested. - ToolParameter: - type: object - properties: - type: - type: string - description: Parameter type (string, number, boolean, object, array) - enum: - - string - - number - - boolean - - object - - array - name: - type: string - description: The name of the parameter - description: - type: string - description: The description of the parameter - isRequired: - type: boolean - 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 - items: - 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" - Tool: - type: object - properties: - type: - type: string - description: Type of tool (READ, WRITE) - enum: - - READ - - WRITE - name: - type: string - description: Unique identifier for the tool - displayName: - type: string - description: Human-readable name - description: - type: string - 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" - ToolsListResponse: - type: object - properties: - tools: - type: array - items: - $ref: "#/components/schemas/Tool" - ToolsCallParameter: - type: object - required: - - name - - value - properties: - name: - type: string - description: The name of the parameter - value: - type: string - 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" - properties: - type: object - description: The value of the parameter (for object types) - additionalProperties: - $ref: "#/components/schemas/ToolsCallParameter" - ToolsCallRequest: - type: object - required: - - name - - parameters - 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" - ToolsCallResponse: - type: object - properties: - rawResponse: - additionalProperties: true - type: object - description: The raw response from the tool - error: - type: string - description: The error message if applicable - IndexDocumentRequest: - type: object - properties: - version: - type: integer - format: int64 - description: Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done. - document: - $ref: '#/components/schemas/DocumentDefinition' - description: Document being added/updated - required: - - document - description: Describes the request body of the /indexdocument API call - IndexDocumentsRequest: - type: object - properties: - uploadId: - type: string - description: Optional id parameter to identify and track a batch of documents. - datasource: - type: string - description: Datasource of the documents - documents: - type: array - items: - $ref: '#/components/schemas/DocumentDefinition' - description: Batch of documents being added/updated - required: - - documents - - datasource - description: Describes the request body of the /indexdocuments API call - UpdatePermissionsRequest: - type: object - properties: - datasource: - type: string - objectType: - type: string - description: The type of the document (Case, KnowledgeArticle for Salesforce for example). It cannot have spaces or _ - id: - type: string - description: The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length. - viewURL: - type: string - description: | - The permalink for viewing the document. **Note: viewURL is a required field if id was not set when uploading the document.**' - permissions: - $ref: '#/components/schemas/DocumentPermissionsDefinition' - description: The permissions that define who can view this document in the search results. Please refer to [this](https://developers.glean.com/indexing/documents/permissions) for more details. - required: - - permissions - - datasource - description: Describes the request body of the /updatepermissions API call - GetDocumentCountRequest: - type: object - properties: - datasource: - type: string - description: Datasource name for which document count is needed. - required: - - datasource - description: Describes the request body of the /getdocumentcount API call - GetDocumentCountResponse: - type: object - properties: - documentCount: - type: integer - description: Number of documents corresponding to the specified custom datasource. - description: Describes the response body of the /getdocumentcount API call - GetDocumentStatusRequest: - type: object - properties: - datasource: - type: string - description: Datasource to get fetch document status for - objectType: - type: string - description: Object type of the document to get the status for - docId: - type: string - description: Glean Document ID within the datasource to get the status for. - required: - - datasource - - objectType - - docId - description: Describes the request body for /getdocumentstatus API call - GetDocumentStatusResponse: - type: object - properties: - uploadStatus: - type: string - description: Upload status, enum of NOT_UPLOADED, UPLOADED, STATUS_UNKNOWN - lastUploadedAt: - type: integer - format: int64 - description: Time of last successful upload, in epoch seconds - indexingStatus: - type: string - description: Indexing status, enum of NOT_INDEXED, INDEXED, STATUS_UNKNOWN - lastIndexedAt: - type: integer - format: int64 - description: Time of last successful indexing, in epoch seconds - description: Describes the response body of the /getdocumentstatus API call - BulkIndexRequest: - type: object - properties: - uploadId: - type: string - description: Unique id that must be used for this bulk upload instance - isFirstPage: - type: boolean - description: true if this is the first page of the upload. Defaults to false - isLastPage: - type: boolean - description: true if this is the last page of the upload. Defaults to false - forceRestartUpload: - type: boolean - description: Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true - required: - - uploadId - description: Describes the request body of a bulk upload API call - BulkIndexTeamsRequest: - type: object - allOf: - - $ref: '#/components/schemas/BulkIndexRequest' - - type: object - properties: - teams: - type: array - items: - $ref: '#/components/schemas/TeamInfoDefinition' - description: Batch of team information - required: - - teams - description: Describes the request body of the /bulkindexteams API call - BulkIndexEmployeesRequest: - type: object - allOf: - - $ref: '#/components/schemas/BulkIndexRequest' - - type: object - properties: - employees: - type: array - items: - $ref: '#/components/schemas/EmployeeInfoDefinition' - description: Batch of employee information - disableStaleDataDeletionCheck: - type: boolean - description: True if older employee data needs to be force deleted after the upload completes. Defaults to older data being deleted only if the percentage of data being deleted is less than 20%. This must only be set when `isLastPage = true` - required: - - employees - description: Describes the request body of the /bulkindexemployees API call - BulkIndexDocumentsRequest: - type: object - allOf: - - $ref: '#/components/schemas/BulkIndexRequest' - - type: object - properties: - datasource: - type: string - description: Datasource of the documents - documents: - type: array - items: - $ref: '#/components/schemas/DocumentDefinition' - description: Batch of documents for the datasource - disableStaleDocumentDeletionCheck: - type: boolean - description: True if older documents need to be force deleted after the upload completes. Defaults to older documents being deleted asynchronously. This must only be set when `isLastPage = true` - required: - - datasource - - documents - description: Describes the request body of the /bulkindexdocuments API call - ProcessAllDocumentsRequest: - type: object - properties: - datasource: - type: string - description: If provided, process documents only for this custom datasource. Otherwise all uploaded documents are processed. - description: Describes the request body of the /processalldocuments API call - DeleteDocumentRequest: - type: object - properties: - version: - type: integer - format: int64 - description: Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done. - datasource: - type: string - description: datasource of the document - objectType: - type: string - description: object type of the document - id: - type: string - description: The id of the document - required: - - datasource - - id - - objectType - description: Describes the request body of the /deletedocument API call - IndexUserRequest: - type: object - properties: - version: - type: integer - format: int64 - description: Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done. - datasource: - type: string - description: The datasource for which the user is added - user: - $ref: '#/components/schemas/DatasourceUserDefinition' - description: The user to be added or updated - required: - - datasource - - user - description: Describes the request body of the /indexuser API call - GetUserCountRequest: - type: object - properties: - datasource: - type: string - description: Datasource name for which user count is needed. - required: - - datasource - description: Describes the request body of the /getusercount API call - GetUserCountResponse: - type: object - properties: - userCount: - type: integer - description: Number of users corresponding to the specified custom datasource. - description: Describes the response body of the /getusercount API call - BulkIndexUsersRequest: - type: object - properties: - uploadId: - type: string - description: Unique id that must be used for this instance of datasource users upload - isFirstPage: - type: boolean - description: true if this is the first page of the upload. Defaults to false - isLastPage: - type: boolean - description: true if this is the last page of the upload. Defaults to false - forceRestartUpload: - type: boolean - description: Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true - datasource: - type: string - description: datasource of the users - users: - type: array - items: - $ref: '#/components/schemas/DatasourceUserDefinition' - description: batch of users for the datasource - disableStaleDataDeletionCheck: - type: boolean - description: True if older user data needs to be force deleted after the upload completes. Defaults to older data being deleted only if the percentage of data being deleted is less than a reasonable threshold. This must only be set when `isLastPage = true` - required: - - uploadId - - datasource - - users - description: Describes the request body for the /bulkindexusers API call - GreenlistUsersRequest: - type: object - properties: - datasource: - type: string - description: Datasource which needs to be made visible to users specified in the `emails` field. - emails: - type: array - items: - type: string - format: email - description: The emails of the beta users - required: - - datasource - - emails - description: Describes the request body of the /betausers API call - DatasourceUserDefinition: - type: object - properties: - email: - type: string - userId: - type: string - description: To be supplied if the user id in the datasource is not the email - name: - type: string - isActive: - type: boolean - description: set to false if the user is a former employee or a bot - required: - - email - - name - description: describes a user in the datasource - IndexGroupRequest: - type: object - properties: - version: - type: integer - format: int64 - description: Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done. - datasource: - type: string - description: The datasource for which the group is added - group: - $ref: '#/components/schemas/DatasourceGroupDefinition' - description: The group to be added or updated - required: - - datasource - - group - description: Describes the request body of the /indexgroup API call - BulkIndexGroupsRequest: - type: object - properties: - uploadId: - type: string - description: Unique id that must be used for this instance of datasource groups upload - isFirstPage: - type: boolean - description: true if this is the first page of the upload. Defaults to false - isLastPage: - type: boolean - description: true if this is the last page of the upload. Defaults to false - forceRestartUpload: - type: boolean - description: Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true - datasource: - type: string - description: datasource of the groups - groups: - type: array - items: - $ref: '#/components/schemas/DatasourceGroupDefinition' - description: batch of groups for the datasource - disableStaleDataDeletionCheck: - type: boolean - description: True if older group data needs to be force deleted after the upload completes. Defaults to older data being deleted only if the percentage of data being deleted is less than a reasonable threshold. This must only be set when `isLastPage = true` - required: - - uploadId - - datasource - - groups - description: Describes the request body for the /bulkindexgroups API call - DatasourceGroupDefinition: - type: object - properties: - name: - type: string - description: name of the group. Should be unique among all groups for the datasource, and cannot have spaces. - required: - - name - description: describes a group in the datasource - IndexMembershipRequest: - type: object - properties: - version: - type: integer - format: int64 - description: Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done. - datasource: - type: string - description: The datasource for which the membership is added - membership: - $ref: '#/components/schemas/DatasourceMembershipDefinition' - description: The membership to be added or updated - required: - - datasource - - membership - description: Describes the request body of the /indexmembership API call - BulkIndexMembershipsRequest: - type: object - properties: - uploadId: - type: string - description: Unique id that must be used for this instance of datasource group memberships upload - isFirstPage: - type: boolean - description: true if this is the first page of the upload. Defaults to false - isLastPage: - type: boolean - description: true if this is the last page of the upload. Defaults to false - forceRestartUpload: - type: boolean - description: Flag to discard previous upload attempts and start from scratch. Must be specified with isFirstPage=true - datasource: - type: string - description: datasource of the memberships - group: - type: string - description: group who's memberships are specified - memberships: - type: array - items: - $ref: '#/components/schemas/DatasourceBulkMembershipDefinition' - description: batch of memberships for the group - required: - - uploadId - - datasource - - memberships - description: Describes the request body for the /bulkindexmemberships API call - ProcessAllMembershipsRequest: - type: object - properties: - datasource: - type: string - description: If provided, process group memberships only for this custom datasource. Otherwise all uploaded memberships are processed. - description: Describes the request body of the /processallmemberships API call - DatasourceMembershipDefinition: - type: object - properties: - groupName: - type: string - description: The group for which the membership is specified - memberUserId: - type: string - description: If the member is a user, then the email or datasource id for the user - memberGroupName: - type: string - description: If the member is a group, then the name of the member group - required: - - groupName - description: describes the membership row of a group. Only one of memberUserId and memberGroupName can be specified. - DatasourceBulkMembershipDefinition: - type: object - properties: - memberUserId: - type: string - description: If the member is a user, then the email or datasource id for the user - memberGroupName: - type: string - description: If the member is a group, then the name of the member group - description: describes the membership row of a group in the bulk uploaded. Only one of memberUserId and memberGroupName can be specified. - DeleteUserRequest: - type: object - properties: - version: - type: integer - format: int64 - description: Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done. - datasource: - type: string - description: The datasource for which the user is removed - email: - type: string - description: The email of the user to be deleted - required: - - datasource - - email - description: Describes the request body of the /deleteuser API call - DeleteGroupRequest: - type: object - properties: - version: - type: integer - format: int64 - description: Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done. - datasource: - type: string - description: The datasource for which the group is removed - groupName: - type: string - description: the name of the group to be deleted - required: - - datasource - - groupName - description: Describes the request body of the /deletegroup API call - DeleteMembershipRequest: - type: object - properties: - version: - type: integer - format: int64 - description: Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done. - datasource: - type: string - description: The datasource for which the membership is removed - membership: - $ref: '#/components/schemas/DatasourceMembershipDefinition' - description: the name of the membership to be deleted - required: - - datasource - - membership - description: Describes the request body of the /deletemembership API call - DeleteEmployeeRequest: - type: object - properties: - version: - type: integer - format: int64 - description: Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done. - employeeEmail: - type: string - description: The deleted employee's email - required: - - employeeEmail - description: Describes the request body of the /deleteemployee API call - DeleteTeamRequest: - type: object - properties: - id: - type: string - description: The deleted team's id - required: - - id - description: Describes the request body of the /deleteteam API call - DocumentDefinition: - type: object - properties: - title: - type: string - description: Document title, in plain text, if present. If not present, the title would be attempted to be extracted from the content. - filename: - type: string - description: Source filename, in plain text, for the document. May be used as a fallback title for the document, if the title is not provided and cannot be extracted from the content. Populate this if there is no explicit title for the document and the content is sourced from a file. - container: - type: string - description: The container name for the content (Folder for example for file content). - containerDatasourceId: - type: string - description: This represents the datasource sepcific id of the container. - containerObjectType: - type: string - description: This represents the object type of the container. It cannot have spaces or _ - datasource: - type: string - objectType: - type: string - description: The type of the document (Case, KnowledgeArticle for Salesforce for example). It cannot have spaces or _ - viewURL: - type: string - description: | - The permalink for viewing the document. **Note: viewURL is a required field for non-entity datasources, but not required if the datasource is used to push custom entities (ie. datasources where isEntityDatasource is false).**' - id: - type: string - description: | - The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length. Note: id is a required field for datasources created after 1st March 2025 - summary: - $ref: '#/components/schemas/ContentDefinition' - body: - $ref: '#/components/schemas/ContentDefinition' - author: - $ref: '#/components/schemas/UserReferenceDefinition' - owner: - $ref: '#/components/schemas/UserReferenceDefinition' - description: The current owner of the document, if not the author. - permissions: - $ref: '#/components/schemas/DocumentPermissionsDefinition' - description: The permissions that define who can view this document in the search results. Please refer to [this](https://developers.glean.com/indexing/documents/permissions) for more details. - createdAt: - type: integer - format: int64 - description: The creation time, in epoch seconds. - updatedAt: - type: integer - format: int64 - description: The last update time, in epoch seconds. - updatedBy: - $ref: '#/components/schemas/UserReferenceDefinition' - tags: - type: array - items: - type: string - description: Labels associated with the document. - interactions: - $ref: '#/components/schemas/DocumentInteractionsDefinition' - status: - type: string - additionalUrls: - type: array - items: - type: string - description: Additional variations of the URL that this document points to. - nativeAppUrl: - type: string - description: A deep link, if available, into the datasource's native application for the user's platform (e.g. slack://channel/message). - comments: - type: array - items: - $ref: '#/components/schemas/CommentDefinition' - description: Comments associated with the document. - customProperties: - type: array - items: - $ref: '#/components/schemas/CustomProperty' - description: Additional metadata properties of the document. These can surface as [facets and operators](https://developers.glean.com/indexing/datasource/custom-properties/operators_and_facets). - required: - - datasource - description: Indexable document structure - CommentDefinition: - type: object - properties: - id: - type: string - description: The document specific id for the comment. This field is case insensitive and should not be more than 200 characters in length. - author: - $ref: '#/components/schemas/UserReferenceDefinition' - description: The author of the comment. - content: - $ref: '#/components/schemas/ContentDefinition' - description: The content of the comment. - createdAt: - type: integer - format: int64 - description: The creation time, in epoch seconds. - updatedAt: - type: integer - format: int64 - description: The last updated time, in epoch seconds. - updatedBy: - $ref: '#/components/schemas/UserReferenceDefinition' - description: The user who last updated the comment. - required: - - id - description: Describes a comment on a document - ContentDefinition: - type: object - properties: - mimeType: - type: string - textContent: - type: string - description: text content. Only one of textContent or binary content can be specified - binaryContent: - type: string - description: base64 encoded binary content. Only one of textContent or binary content can be specified - required: - - mimeType - description: Describes text content or base64 encoded binary content - UserReferenceDefinition: - type: object - properties: - email: - type: string - datasourceUserId: - type: string - description: some datasources refer to the user by the datasource user id in the document - name: - type: string - description: Describes how a user is referenced in a document. The user can be referenced by email or by a datasource specific id. - PermissionsGroupIntersectionDefinition: - type: object - properties: - requiredGroups: - type: array - items: - type: string - description: describes a list of groups that are all required in a permissions constraint - DocumentPermissionsDefinition: - type: object - properties: - allowedUsers: - type: array - items: - $ref: '#/components/schemas/UserReferenceDefinition' - description: List of users who can view the document - allowedGroups: - type: array - items: - type: string - description: List of groups that can view the document - allowedGroupIntersections: - type: array - items: - $ref: '#/components/schemas/PermissionsGroupIntersectionDefinition' - description: List of allowed group intersections. This describes a permissions constraint of the form ((GroupA AND GroupB AND GroupC) OR (GroupX AND GroupY) OR ... - allowAnonymousAccess: - type: boolean - description: If true, then any Glean user can view the document - allowAllDatasourceUsersAccess: - type: boolean - description: If true, then any user who has an account in the datasource can view the document. - description: describes the access control details of the document - DocumentInteractionsDefinition: - type: object - properties: - numViews: - type: integer - numLikes: - type: integer - numComments: - type: integer - description: describes the interactions on the document - CheckDocumentAccessRequest: - type: object - properties: - datasource: - type: string - description: Datasource of document to check access for. - objectType: - type: string - description: Object type of document to check access for. - docId: - type: string - description: Glean Document ID to check access for. - userEmail: - type: string - description: Email of user to check access for. - required: - - datasource - - objectType - - docId - - userEmail - description: Describes the request body of the /checkdocumentaccess API call - CheckDocumentAccessResponse: - type: object - properties: - hasAccess: - type: boolean - description: If true, user has access to document for search - description: Describes the response body of the /checkdocumentaccess API call - CustomProperty: - type: object - properties: - name: - type: string - value: - description: Must be a string, a number (for INT properties), or an array of strings. A boolean is not valid. When OpenAPI Generator supports `oneOf`, we can semantically enforce this. - description: Describes the custom properties of the object. - DatasourceConfig: - $ref: '#/components/schemas/SharedDatasourceConfig' - GetDatasourceConfigRequest: - type: object - properties: - datasource: - type: string - description: Datasource name for which config is needed. - required: - - datasource - description: Describes the request body of the /getdatasourceconfig API call - DatasourceConfigList: - properties: - datasourceConfig: - type: array - items: - $ref: '#/components/schemas/SharedDatasourceConfig' - description: Datasource configuration. - required: - - datasourceConfig - description: List of datasource configurations. - RotateTokenResponse: - properties: - rawSecret: - type: string - description: New raw secret - createdAt: - type: integer - format: int64 - description: Unix timestamp in seconds when the new secret value is assigned to the token. The token needs to be rotated before `rotationPeriodMinutes` past the createdAt timestamp otherwise it would be rendered unusable. - rotationPeriodMinutes: - type: integer - format: int64 - description: Refers to the time period in minutes before which this token needs to be rotated. It is required to rotate the token within the specified `rotationPeriodMinutes` after each `/rotatetoken` call, otherwise the tokens would expire. Note that the token would still expire at `expiresAt` timestamp provided during token creation even if the token is being regularly rotated. `rotationPeriodMinutes` property is inherited from the parent token being rotated - description: Describes the response body of the /rotatetoken API call - IndexEmployeeRequest: - type: object - properties: - employee: - $ref: '#/components/schemas/EmployeeInfoDefinition' - description: Info about the employee - version: - type: integer - format: int64 - description: Version number for the employee object. If absent or 0 then no version checks are done - required: - - employee - description: Info about an employee and optional version for that info - IndexEmployeeListRequest: - type: object - properties: - employees: - type: array - items: - $ref: '#/components/schemas/IndexEmployeeRequest' - description: List of employee info and version. - description: Describes the request body of the /indexemployeelist API call - SocialNetworkDefinition: - type: object - properties: - name: - type: string - description: Possible values are "twitter", "linkedin". - profileName: - type: string - description: Human-readable profile name. - profileUrl: - type: string - description: Link to profile. - description: Employee's social network profile - AdditionalFieldDefinition: - type: object - properties: - key: - type: string - description: Key to reference this field, e.g. "languages". Note that the key should be all lowercase alphabetic characters with no numbers, spaces, hyphens or underscores. - value: - type: array - items: - type: object - description: Either a string or HypertextField. When OpenAPI Generator supports oneOf, we can semantically enforce this in the docs. - description: | - List of type string or HypertextField. - - HypertextField is defined as - ``` - { - anchor: string, // Anchor text for the hypertext field. - hyperlink: string, // URL for the hypertext field. - } - ``` - Example: ```{"anchor":"Glean","hyperlink":"https://glean.com"}``` - - When OpenAPI Generator supports oneOf, we will semantically enforce this in the docs. - - **Note**: If using the Python SDK to pass in a list of strings, the value may need to be a list of dictionaries. In that case, the key in that dictionary will be ignored. - Example: ```"languages": [{"lang":"English","lang":"Spanish",...}]```. In this case, the key "lang" will be ignored and can even be passed in as an empty string. - description: Additional information about the employee or team. - HypertextField: - type: object - properties: - anchor: - type: string - description: Anchor text for the hypertext field. - hyperlink: - type: string - description: URL for the hypertext field. - EmployeeInfoDefinition: - type: object - properties: - email: - type: string - description: The employee's email - firstName: - type: string - description: | - The first name of the employee. **Note**: The value cannot be empty - lastName: - type: string - description: | - The last name of the employee. **Note**: The value cannot be empty - preferredName: - type: string - description: The preferred name or nickname of the employee - id: - type: string - description: | - **[Advanced]** A unique universal internal identifier for the employee. This is solely used for understanding manager relationships along with `managerId`. - phoneNumber: - type: string - description: The employee's phone number. - location: - type: string - description: The employee's location (city/office name etc). - deprecated: true - x-glean-deprecated: - id: a7f6fbaa-0eaf-4c0c-a4f5-ab90347f73fd - introduced: "2026-02-05" - message: Field is deprecated - removal: "2026-10-15" - x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Field is deprecated" - structuredLocation: - $ref: '#/components/schemas/StructuredLocation' - description: Detailed location with information about country, state, city etc. - title: - type: string - description: The employee's role title. - photoUrl: - type: string - format: uri - description: The employee's profile pic - businessUnit: - type: string - description: Typically the highest level organizational unit; generally applies to bigger companies with multiple distinct businesses. - department: - type: string - description: An organizational unit where everyone has a similar task, e.g. `Engineering`. - datasourceProfiles: - type: array - items: - $ref: '#/components/schemas/DatasourceProfile' - description: The datasource profiles of the employee, e.g. `Slack`,`Github`. - teams: - type: array - items: - $ref: '#/components/schemas/EmployeeTeamInfo' - description: Info about the employee's team(s) - startDate: - type: string - format: date - description: The date when the employee started - endDate: - type: string - format: date - description: If a former employee, the last date of employment. - bio: - type: string - description: Short biography or mission statement of the employee. - pronoun: - type: string - description: She/her, He/his or other pronoun. - alsoKnownAs: - type: array - items: - type: string - description: Other names associated with the employee. - profileUrl: - type: string - description: Link to internal company person profile. - socialNetworks: - type: array - items: - $ref: '#/components/schemas/SocialNetworkDefinition' - description: List of social network profiles. - managerEmail: - type: string - description: The email of the employee's manager - managerId: - type: string - description: | - **[Advanced]** A unique universal internal identifier for the employee's manager. This is solely used in conjunction with `id`. - type: - type: string - description: The type of the employee, an enum of `FULL_TIME`, `CONTRACTOR`, `NON_EMPLOYEE` - default: FULL_TIME - relationships: - type: array - items: - $ref: '#/components/schemas/EntityRelationship' - description: List of unidirectional relationships with other employees. E.g. this employee (`A`) is a CHIEF_OF_STAFF to another employee (`B`); or this employee (`A`) is an EXECUTIVE_ASSISTANT of another employee (`C`). The mapping should be attached to `A`'s profile. - status: - type: string - description: The status of the employee, an enum of `CURRENT`, `FUTURE`, `EX` - default: CURRENT - additionalFields: - type: array - items: - $ref: '#/components/schemas/AdditionalFieldDefinition' - description: List of additional fields with more information about the employee. - required: - - department - - email - description: Describes employee info - EmployeeAndVersionDefinition: - type: object - properties: - employee: - $ref: '#/components/schemas/EmployeeInfoDefinition' - description: Info about the employee - version: - type: integer - format: int64 - description: Version number for the employee object. If absent or 0 then no version checks are done - required: - - info - description: describes info about an employee and optional version for that info - EmployeeTeamInfo: - type: object - properties: - id: - type: string - description: unique identifier for this team - name: - type: string - description: Team name - url: - type: string - format: uri - description: Link to internal company team page - description: Information about which team an employee belongs to - EntityRelationship: - type: object - properties: - name: - type: string - description: The title or type of relationship. Currently an enum of `CHIEF_OF_STAFF`, `EXECUTIVE_ASSISTANT` - email: - type: string - description: Email of the person with whom the relationship exists. Per the example above, either `B` or `C`'s email depending on the relationship. - required: - - name - - email - description: Describes a relationship edge between a source and destination entity - TeamMember: - type: object - properties: - email: - type: string - format: email - description: The member's email - relationship: - type: string - description: The member's relationship to the team, an enum of `MEMBER`, `MANAGER`, `LEAD`, `POINT_OF_CONTACT`, `OTHER` - default: MEMBER - join_date: - type: string - format: date - description: The member's start date - required: - - email - description: Information about a team's member - TeamInfoDefinition: - type: object - properties: - id: - type: string - description: The unique ID of the team - name: - type: string - description: Human-readable team name - description: - type: string - description: The description of this team - businessUnit: - type: string - description: Typically the highest level organizational unit; generally applies to bigger companies with multiple distinct businesses. - department: - type: string - description: An organizational unit where everyone has a similar task, e.g. `Engineering`. - photoUrl: - type: string - format: uri - description: A link to the team's photo - externalLink: - type: string - format: uri - description: | - A link to an external team page. If set, team results will link to it. - emails: - type: array - items: - $ref: '#/components/schemas/TeamEmail' - description: The emails of the team - datasourceProfiles: - type: array - items: - $ref: '#/components/schemas/DatasourceProfile' - description: The datasource profiles of the team, e.g. `Slack`,`Github`. - members: - type: array - items: - $ref: '#/components/schemas/TeamMember' - description: The members of the team - additionalFields: - type: array - items: - $ref: '#/components/schemas/AdditionalFieldDefinition' - description: List of additional fields with more information about the team. - required: - - id - - members - - name - description: Information about an employee's team - IndexTeamRequest: - type: object - properties: - team: - $ref: '#/components/schemas/TeamInfoDefinition' - description: Info about the team - version: - type: integer - format: int64 - description: Version number for the team object. If absent or 0 then no version checks are done - required: - - team - description: Info about a team and optional version for that info - BulkIndexShortcutsRequest: - type: object - allOf: - - $ref: '#/components/schemas/BulkIndexRequest' - - type: object - properties: - shortcuts: - type: array - items: - $ref: '#/components/schemas/ExternalShortcut' - description: Batch of shortcuts information - required: - - shortcuts - description: Describes the request body of the /bulkindexshortcuts API call - UploadShortcutsRequest: - type: object - allOf: - - $ref: '#/components/schemas/BulkIndexRequest' - - type: object - properties: - shortcuts: - type: array - items: - $ref: '#/components/schemas/IndexingShortcut' - description: Batch of shortcuts information - required: - - shortcuts - description: Describes the request body of the /uploadshortcuts API call - DebugDatasourceStatusResponse: - type: object - properties: - documents: - type: object - properties: - bulkUploadHistory: - $ref: '#/components/schemas/BulkUploadHistoryEventList' - type: object - counts: - type: object - properties: - uploaded: - type: array - items: - $ref: '#/components/schemas/DatasourceObjectTypeDocumentCountEntry' - description: | - A list of object types and corresponding upload counts. Note: This data may be cached and could be up to 3 hours stale. - indexed: - type: array - items: - $ref: '#/components/schemas/DatasourceObjectTypeDocumentCountEntry' - description: The number of documents indexed, grouped by objectType - processingHistory: - $ref: '#/components/schemas/ProcessingHistoryEventList' - identity: - type: object - properties: - processingHistory: - $ref: '#/components/schemas/ProcessingHistoryEventList' - users: - $ref: '#/components/schemas/DebugDatasourceStatusIdentityResponseComponent' - groups: - $ref: '#/components/schemas/DebugDatasourceStatusIdentityResponseComponent' - memberships: - $ref: '#/components/schemas/DebugDatasourceStatusIdentityResponseComponent' - datasourceVisibility: - type: string - enum: - - ENABLED_FOR_ALL - - ENABLED_FOR_TEST_GROUP - - NOT_ENABLED - description: The visibility of the datasource, an enum of VISIBLE_TO_ALL, VISIBLE_TO_TEST_GROUP, NOT_VISIBLE - example: ENABLED_FOR_ALL - description: Describes the response body of the /debug/{datasource}/status API call - DebugDatasourceStatusIdentityResponseComponent: - type: object - properties: - bulkUploadHistory: - $ref: '#/components/schemas/BulkUploadHistoryEventList' - type: object - counts: - type: object - properties: - uploaded: - type: integer - description: The number of users/groups/memberships uploaded - example: 15 - DatasourceObjectTypeDocumentCountEntry: - type: object - properties: - objectType: - type: string - description: The object type of the document - example: Article - count: - type: integer - description: The number of documents of the corresponding objectType - example: 15 - BulkUploadHistoryEvent: - type: object - properties: - uploadId: - type: string - description: The unique ID of the upload - example: upload-id-content-1707403081 - startTime: - type: string - description: The start time of the upload in ISO 8601 format - example: "2021-08-06T17:58:01.000Z" - endTime: - type: string - description: The end time of the upload in ISO 8601 format, 'NA' if the upload is still active - example: "2021-08-06T18:58:01.000Z" - status: - type: string - enum: - - ACTIVE - - SUCCESSFUL - description: The status of the upload, an enum of ACTIVE, SUCCESSFUL - example: SUCCESSFUL - processingState: - type: string - enum: - - UNAVAILABLE - - UPLOAD STARTED - - UPLOAD IN PROGRESS - - UPLOAD COMPLETED - - DELETION PAUSED - - INDEXING COMPLETED - description: The current state of the upload, an enum of UNAVAILABLE, UPLOAD STARTED, UPLOAD IN PROGRESS, UPLOAD COMPLETED, DELETION PAUSED, INDEXING COMPLETED - example: UPLOAD COMPLETED - description: Information about a successful bulk upload - BulkUploadHistoryEventList: - type: array - items: - $ref: '#/components/schemas/BulkUploadHistoryEvent' - description: Information about active and recent successful uploads for the datasource - DebugDocumentRequest: - type: object - properties: - objectType: - type: string - description: Object type of the document to get the status for. - example: Article - docId: - type: string - description: Glean Document ID within the datasource to get the status for. - example: art123 - required: - - objectType - - docId - description: Describes the request body of the /debug/{datasource}/document API call. - DebugDocumentResponse: - type: object - properties: - status: - $ref: '#/components/schemas/DocumentStatusResponse' - type: object - description: Upload and indexing status of the document - uploadedPermissions: - $ref: '#/components/schemas/DocumentPermissionsDefinition' - description: Describes the response body of the /debug/{datasource}/document API call - DebugDocumentsRequest: - type: object - properties: - debugDocuments: - type: array - items: - $ref: '#/components/schemas/DebugDocumentRequest' - description: Documents to fetch debug information for - required: - - debugDocuments - description: Describes the request body of the /debug/{datasource}/documents API call. - DebugDocumentsResponseItem: - type: object - properties: - docId: - type: string - description: Id of the document - objectType: - type: string - description: objectType of the document - debugInfo: - $ref: '#/components/schemas/DebugDocumentResponse' - type: object - description: Debug information of the document - description: Describes the response body of a single document in the /debug/{datasource}/documents API call - DebugDocumentsResponse: - type: object - properties: - documentStatuses: - type: array - items: - $ref: '#/components/schemas/DebugDocumentsResponseItem' - description: List of document ids/urls and their debug information - description: Describes the response body of a single document in the /debug/{datasource}/documents API call - DocumentStatusResponse: - type: object - properties: - uploadStatus: - type: string - description: Upload status, enum of NOT_UPLOADED, UPLOADED, STATUS_UNKNOWN - example: UPLOADED - lastUploadedAt: - type: string - description: Time of last successful upload for the document, in ISO 8601 format - example: "2021-08-06T17:58:01.000Z" - indexingStatus: - type: string - description: Indexing status, enum of NOT_INDEXED, INDEXED, STATUS_UNKNOWN - example: INDEXED - lastIndexedAt: - type: string - description: Time of last successful indexing for the document, in ISO 8601 format - example: "2021-08-06T17:58:01.000Z" - permissionIdentityStatus: - type: string - description: Permission identity status, enum of NOT_UPLOADED, UPLOADED, STATUS_UNKNOWN (Always unknown if `identityDatasourceName` is set). Document visibility may be affected status is `NOT_UPLOADED`. - example: UPLOADED - description: Describes the document status response body - LifeCycleEvent: - type: object - properties: - event: - type: string - enum: - - UPLOADED - - INDEXED - - DELETION_REQUESTED - - DELETED - description: Type of event - example: INDEXED - timestamp: - type: string - description: Timestamp of the event - example: "2021-08-06T17:58:01.000Z" - ProcessingHistoryEvent: - type: object - properties: - startTime: - type: string - description: The start time of the processing in ISO 8601 format - example: "2021-08-06T17:58:01.000Z" - endTime: - type: string - description: The end time of the processing in ISO 8601 format, 'NA' if still in progress - example: "2021-08-06T18:58:01.000Z" - description: Processing history event for a datasource - ProcessingHistoryEventList: - type: array - items: - $ref: '#/components/schemas/ProcessingHistoryEvent' - description: Information about processing history for the datasource - DebugUserRequest: - type: object - properties: - email: - type: string - description: Email ID of the user to get the status for - example: u1@foo.com - required: - - email - description: Describes the request body of the /debug/{datasource}/user API call - DebugUserResponse: - type: object - properties: - status: - $ref: '#/components/schemas/UserStatusResponse' - type: object - description: Upload and indexing status of the user - uploadedGroups: - type: array - items: - $ref: '#/components/schemas/DatasourceGroupDefinition' - description: List of groups the user is a member of, as uploaded via permissions API. - description: Describes the response body of the /debug/{datasource}/user API call - UserStatusResponse: - type: object - properties: - isActiveUser: - type: boolean - description: Whether the user is active or not - example: true - uploadStatus: - $ref: '#/components/schemas/UploadStatusEnum' - lastUploadedAt: - type: string - description: Time of last successful upload for the user, in ISO 8601 format - example: "2021-08-06T17:58:01.000Z" - description: Describes the user status response body - UploadStatusEnum: - type: string - enum: - - UPLOADED - - NOT_UPLOADED - - STATUS_UNKNOWN - description: Upload status, enum of NOT_UPLOADED, UPLOADED, STATUS_UNKNOWN - example: UPLOADED - DebugDocumentLifecycleRequest: - type: object - properties: - objectType: - type: string - description: Object type of the document to get lifecycle events for. - example: Article - docId: - type: string - description: Glean Document ID within the datasource to get lifecycle events for. - example: art123 - startDate: - type: string - description: The start date for events to be fetched. Cannot be more than 30 days (default 7 days) in the past. - example: "2025-05-01" - maxEvents: - type: integer - description: Max number of events to be fetched. Cannot be more than 100 (default 20). - example: 50 - required: - - objectType - - docId - description: Describes the request body of the /debug/{datasource}/document/events API call. - DebugDocumentLifecycleResponse: - type: object - properties: - lifeCycleEvents: - type: array - items: - $ref: '#/components/schemas/LifeCycleEvent' - description: List of lifecycle events corresponding to the document - description: Describes the response body of the /debug/{datasource}/document/events API call - SuccessResponse: - type: object - properties: - success: - type: boolean - description: Indicates if the operation was successful - default: true - description: Success response for custom metadata operations - ErrorInfoResponse: - type: object - properties: - error: - type: string - description: Error message describing what went wrong - message: - type: string - description: Additional details about the error - required: - - error - description: Error response for custom metadata operations - PropertyDefinition: - properties: - name: - type: string - description: The name of the property in the `DocumentMetadata` (e.g. 'createTime', 'updateTime', 'author', 'container'). In the future, this will support custom properties too. - displayLabel: - type: string - description: The user friendly label for the property. - displayLabelPlural: - type: string - description: The user friendly label for the property that will be used if a plural context. - propertyType: - type: string - enum: - - TEXT - - DATE - - INT - - USERID - - PICKLIST - - TEXTLIST - - MULTIPICKLIST - description: The type of custom property - this governs the search and faceting behavior. Note that MULTIPICKLIST is not yet supported. - uiOptions: - type: string - enum: - - NONE - - SEARCH_RESULT - - DOC_HOVERCARD - hideUiFacet: - type: boolean - description: If true then the property will not show up as a facet in the UI. - uiFacetOrder: - type: integer - description: Will be used to set the order of facets in the UI, if present. If set for one facet, must be set for all non-hidden UI facets. Must take on an integer value from 1 (shown at the top) to N (shown last), where N is the number of non-hidden UI facets. These facets will be ordered below the built-in "Type" and "Tag" operators. - skipIndexing: - type: boolean - description: If true then the property will not be indexed for retrieval and ranking. - group: - type: string - description: The unique identifier of the `PropertyGroup` to which this property belongs. - PropertyGroup: - properties: - name: - type: string - description: The unique identifier of the group. - displayLabel: - type: string - description: The user-friendly group label to display. - description: A grouping for multiple PropertyDefinition. Grouped properties will be displayed together in the UI. - ObjectDefinition: - properties: - name: - type: string - description: Unique identifier for this `DocumentMetadata.objectType`. If omitted, this definition is used as a default for all unmatched `DocumentMetadata.objectType`s in this datasource. - displayLabel: - type: string - description: The user-friendly name of the object for display. - docCategory: - type: string - enum: - - UNCATEGORIZED - - TICKETS - - CRM - - PUBLISHED_CONTENT - - COLLABORATIVE_CONTENT - - QUESTION_ANSWER - - MESSAGING - - CODE_REPOSITORY - - CHANGE_MANAGEMENT - - PEOPLE - - EMAIL - - SSO - - ATS - - KNOWLEDGE_HUB - - EXTERNAL_SHORTCUT - - ENTITY - - CALENDAR - - AGENTS - description: The document category of this object type. - propertyDefinitions: - type: array - items: - $ref: '#/components/schemas/PropertyDefinition' - propertyGroups: - type: array - items: - $ref: '#/components/schemas/PropertyGroup' - description: A list of `PropertyGroup`s belonging to this object type, which will group properties to be displayed together in the UI. - summarizable: - type: boolean - description: Whether or not the object is summarizable - description: The definition for an `DocumentMetadata.objectType` within a datasource. - CanonicalizingRegexType: - properties: - matchRegex: - type: string - description: Regular expression to match to an arbitrary string. - rewriteRegex: - type: string - description: Regular expression to transform into a canonical string. - description: Regular expression to apply to an arbitrary string to transform it into a canonical string. - SharedDatasourceConfigNoInstance: - type: object - properties: - name: - type: string - description: Unique identifier of datasource instance to which this config applies. - displayName: - type: string - description: The user-friendly instance label to display. If omitted, falls back to the title-cased `name`. - datasourceCategory: - type: string - enum: - - UNCATEGORIZED - - TICKETS - - CRM - - PUBLISHED_CONTENT - - COLLABORATIVE_CONTENT - - QUESTION_ANSWER - - MESSAGING - - CODE_REPOSITORY - - CHANGE_MANAGEMENT - - PEOPLE - - EMAIL - - SSO - - ATS - - KNOWLEDGE_HUB - - EXTERNAL_SHORTCUT - - ENTITY - - CALENDAR - - AGENTS - description: The type of this datasource. It is an important signal for relevance and must be specified and cannot be UNCATEGORIZED. Please refer to [this](https://developers.glean.com/docs/indexing_api_datasource_category/) for more details. - default: UNCATEGORIZED - urlRegex: - type: string - description: 'Regular expression that matches URLs of documents of the datasource instance. The behavior for multiple matches is non-deterministic. **Note: `urlRegex` is a required field for non-entity datasources, but not required if the datasource is used to push custom entities (ie. datasources where isEntityDatasource is false). Please add a regex as specific as possible to this datasource instance.**' - example: https://example-company.datasource.com/.* - iconUrl: - type: string - description: The URL to an image to be displayed as an icon for this datasource instance. Must have a transparency mask. SVG are recommended over PNG. Public, scio-authenticated and Base64 encoded data URLs are all valid (but not third-party-authenticated URLs). - objectDefinitions: - type: array - items: - $ref: '#/components/schemas/ObjectDefinition' - description: The list of top-level `objectType`s for the datasource. - suggestionText: - type: string - description: Example text for what to search for in this datasource - homeUrl: - type: string - description: The URL of the landing page for this datasource instance. Should point to the most useful page for users, not the company marketing page. - crawlerSeedUrls: - type: array - items: - type: string - description: This only applies to WEB_CRAWL and BROWSER_CRAWL datasources. Defines the seed URLs for crawling. - iconDarkUrl: - type: string - description: The URL to an image to be displayed as an icon for this datasource instance in dark mode. Must have a transparency mask. SVG are recommended over PNG. Public, scio-authenticated and Base64 encoded data URLs are all valid (but not third-party-authenticated URLs). - hideBuiltInFacets: - type: array - items: + - UNSPECIFIED + - LOW + - MEDIUM + - HIGH + DlpIssueStatus: type: string + description: Status of a DLP issue. + x-include-enum-class-prefix: true enum: - - TYPE - - TAG - - AUTHOR - - OWNER - description: List of built-in facet types that should be hidden for the datasource. - canonicalizingURLRegex: - type: array - items: - $ref: '#/components/schemas/CanonicalizingRegexType' - description: A list of regular expressions to apply to an arbitrary URL to transform it into a canonical URL for this datasource instance. Regexes are to be applied in the order specified in this list. - canonicalizingTitleRegex: - type: array - items: - $ref: '#/components/schemas/CanonicalizingRegexType' - description: A list of regular expressions to apply to an arbitrary title to transform it into a title that will be displayed in the search results - redlistTitleRegex: - type: string - description: A regex that identifies titles that should not be indexed - connectorType: - type: string - allOf: - - $ref: '#/components/schemas/ConnectorType' - deprecated: false - quicklinks: - type: array - items: - $ref: '#/components/schemas/Quicklink' - description: List of actions for this datasource instance that will show up in autocomplete and app card, e.g. "Create new issue" for jira - renderConfigPreset: - type: string - description: The name of a render config to use for displaying results from this datasource. Any well known datasource name may be used to render the same as that source, e.g. `web` or `gdrive`. Please refer to [this](https://developers.glean.com/docs/rendering_search_results/) for more details - aliases: - type: array - items: - type: string - description: Aliases that can be used as `app` operator-values. - isOnPrem: - type: boolean - description: Whether or not this datasource is hosted on-premise. - trustUrlRegexForViewActivity: - type: boolean - description: True if browser activity is able to report the correct URL for VIEW events. Set this to true if the URLs reported by Chrome are constant throughout each page load. Set this to false if the page has Javascript that modifies the URL during or after the load. - default: true - includeUtmSource: - type: boolean - description: If true, a utm_source query param will be added to outbound links to this datasource within Glean. - stripFragmentInCanonicalUrl: - type: boolean - description: If true, the fragment part of the URL will be stripped when converting to a canonical url. - default: true - required: - - name - description: Structure describing shared config properties of a datasource with no multi-instance support. - CustomDatasourceConfig: - allOf: - - $ref: '#/components/schemas/SharedDatasourceConfigNoInstance' - - type: object - properties: - identityDatasourceName: - type: string - description: If the datasource uses another datasource for identity info, then the name of the datasource. The identity datasource must exist already and the datasource with identity info should have its visibility enabled for search results. - productAccessGroup: - type: string - description: If the datasource uses a specific product access group, then the name of that group. - isUserReferencedByEmail: - type: boolean - description: whether email is used to reference users in document ACLs and in group memberships. - isEntityDatasource: - type: boolean - description: True if this datasource is used to push custom entities. - default: false - isTestDatasource: - type: boolean - description: True if this datasource will be used for testing purpose only. Documents from such a datasource wouldn't have any effect on search rankings. - default: false - description: Structure describing config properties of a custom datasource - ShortcutProperties: - properties: - inputAlias: - type: string - description: link text following the viewPrefix as entered by the user. For example, if the view prefix is `go/` and the shortened URL is `go/abc`, then `abc` is the inputAlias. - description: - type: string - description: A short, plain text blurb to help people understand the intent of the shortcut. - destinationUrl: - type: string - format: url - description: destination URL for the shortcut. - createdBy: - type: string - description: Email of the user who created this shortcut. - createTime: - type: integer - format: int64 - description: The time the shortcut was created in epoch seconds. - updatedBy: - type: string - description: Email of the user who last updated this shortcut. - updateTime: - type: integer - format: int64 - description: The time the shortcut was updated in epoch seconds. - ExternalShortcut: - allOf: - - $ref: '#/components/schemas/ShortcutProperties' - - type: object - required: - - destinationUrl - - intermediateUrl - - createdBy - - inputAlias - properties: - title: - type: string - description: Title of the golink - intermediateUrl: - type: string - format: url - description: The URL from which the user is then redirected to the destination URL. - decayedVisitScore: - type: number - format: double - description: decayed visits score for ranking - editUrl: - type: string - format: url - description: The URL using which the user can access the edit page of the shortcut. - SharedDatasourceConfig: - allOf: - - $ref: '#/components/schemas/SharedDatasourceConfigNoInstance' - - type: object - properties: - datasourceName: - type: string - description: The (non-unique) name of the datasource of which this config is an instance, e.g. "jira". - instanceOnlyName: - type: string - description: The instance of the datasource for this particular config, e.g. "onprem". - instanceDescription: - type: string - description: A human readable string identifying this instance as compared to its peers, e.g. "github.com/askscio" or "github.askscio.com" - description: Structure describing shared config properties of the datasource (including multi-instance support) - IndexingShortcut: - allOf: - - $ref: '#/components/schemas/ShortcutProperties' - - type: object - required: - - destinationUrl - - createdBy - - inputAlias - properties: - unlisted: - type: boolean - description: Whether this shortcut is unlisted or not. Unlisted shortcuts are visible to author and admins only. - urlTemplate: - type: string - description: For variable shortcuts, contains the URL template; note, `destinationUrl` contains default URL. - SensitiveInfoType: - properties: - likelihoodThreshold: - type: string - enum: - - LIKELY - - VERY_LIKELY - - POSSIBLE - - UNLIKELY - - VERY_UNLIKELY - deprecated: true - x-glean-deprecated: - - id: d45039ec-d6f6-47ba-93b7-ab2307b07f84 - introduced: "2026-02-05" - kind: property - message: Field is deprecated - removal: "2026-10-15" - x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Field is deprecated" - infoType: - type: string - description: Text representation of an info-type to scan for. - TimeRange: - properties: - startTime: - type: string - format: date-time - description: start time of the time range, applicable for the CUSTOM type. - endTime: - type: string - format: date-time - description: end time of the time range, applicable for the CUSTOM type. - lastNDaysValue: - type: integer - format: int64 - description: The number of days to look back from the current time, applicable for the LAST_N_DAYS type. - InputOptions: - properties: - urlGreenlist: - type: array - items: - type: string - description: list of url regex matching documents excluded from report - deprecated: true - x-glean-deprecated: - id: e022aaa5-56e6-4b57-bca3-b11943da76a0 - introduced: "2026-02-05" - message: Field is deprecated - removal: "2026-10-15" - x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Field is deprecated" - datasourcesType: - type: string - enum: - - ALL - - CUSTOM - description: The types of datasource for which to run the report/policy. - datasources: - type: array - items: - type: string - description: List of datasources to consider for report. DEPRECATED - use datasourceInstances instead. - deprecated: true - x-glean-deprecated: - id: 97e35970-e0ed-4248-be13-2af8c22e7894 - introduced: "2026-02-05" - message: Use datasourceInstances instead - removal: "2026-10-15" - x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use datasourceInstances instead" - datasourceInstances: - type: array - items: - type: string - description: List of datasource instances to consider for report/policy. - timePeriodType: - type: string - enum: - - ALL_TIME - - PAST_YEAR - - PAST_DAY - - CUSTOM - - LAST_N_DAYS - description: Type of time period for which to run the report/policy. PAST_DAY is deprecated. - customTimeRange: - $ref: '#/components/schemas/TimeRange' - subsetDocIdsToScan: - type: array - items: - type: string - description: Subset of document IDs to scan. If empty, all documents matching other scope criteria will be scanned. - description: Controls which data-sources and what time-range to include in scans. - SharingOptions: - properties: - enabled: - type: boolean - deprecated: true - x-glean-deprecated: - id: e9260be6-209b-4ce2-a4b3-f7f22879dd86 - introduced: "2026-02-05" - message: Field is deprecated - removal: "2026-10-15" - x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Field is deprecated" - threshold: - type: integer - description: The minimum number of users the document is shared with. - thresholdEnabled: - type: boolean - description: Documents will be filtered based on how many people have access to it. - anyoneWithLinkEnabled: - type: boolean - deprecated: true - x-glean-deprecated: - id: 30646ced-e0db-43ef-8412-64a67c5d0f53 - introduced: "2026-02-05" - message: Field is deprecated - removal: "2026-10-15" - x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Field is deprecated" - anyoneInternalEnabled: - type: boolean - description: Only users within the organization can access the document. - anonymousAccessEnabled: - type: boolean - description: Anyone on the internet can access the document. - userAccessEnabled: - type: boolean - description: Enable user access check - userIds: - type: array - items: - type: string - description: Any one of the specified users can access the document. - description: Controls how "shared" a document must be to get picked for scans. - ExternalSharingOptions: - allOf: - - description: DEPRECATED - use `broadSharingOptions` instead. - - $ref: '#/components/schemas/SharingOptions' - - type: object - properties: - domainAccessEnabled: - type: boolean - deprecated: true - x-glean-deprecated: - id: 7c9e4a1d-3f8b-4e2c-9a5d-6b0f1c8e2d4a - introduced: "2026-02-05" - message: Use broadSharingOptions instead - removal: "2026-10-15" - x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use broadSharingOptions instead" - HotwordProximity: - properties: - windowBefore: - type: integer - windowAfter: - type: integer - Hotword: - properties: - regex: - type: string - proximity: - $ref: '#/components/schemas/HotwordProximity' - SensitiveExpression: - properties: - expression: - type: string - description: Sensitive word, phrase, or regular expression. - hotwords: - type: array - items: - $ref: '#/components/schemas/Hotword' - description: Zero to three proximate regular expressions necessary to consider an expression as sensitive content. - CustomSensitiveRuleType: - type: string - enum: - - REGEX - - TERM - - INFO_TYPE - description: Type of the custom sensitive rule. - CustomSensitiveRule: - properties: - id: - type: string - description: Identifier for the custom sensitive expression. - value: - type: string - description: The value of the custom sensitive rule. For REGEX type, this is the regex pattern; for TERM type, it is the term to match; and for INFO_TYPE type, it refers to predefined categories of sensitive content. See https://cloud.google.com/dlp/docs/infotypes-reference for available options. - type: - $ref: '#/components/schemas/CustomSensitiveRuleType' - likelihoodThreshold: - type: string - enum: - - LIKELY - - VERY_LIKELY - - POSSIBLE - - UNLIKELY - - VERY_UNLIKELY - description: Likelihood threshold for BUILT_IN infotypes (e.g., LIKELY, VERY_LIKELY). Only applicable for BUILT_IN type. - CustomSensitiveExpression: - properties: - id: - type: string - description: Identifier for the custom sensitive expression. - keyword: - $ref: '#/components/schemas/CustomSensitiveRule' - description: The keyword to match against. - evaluationExpression: - type: string - description: The expression to evaluate the keyword match. - SensitiveContentOptions: - properties: - sensitiveInfoTypes: - type: array - items: - $ref: '#/components/schemas/SensitiveInfoType' - description: DEPRECATED - use 'customSensitiveExpressions' instead. - deprecated: true - x-glean-deprecated: - id: 3497cb1c-f7aa-42d8-81b8-309c3adeed84 - introduced: "2026-02-05" - message: Use customSensitiveExpressions instead - removal: "2026-10-15" - x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use customSensitiveExpressions instead" - sensitiveTerms: - type: array - items: - $ref: '#/components/schemas/SensitiveExpression' - description: DEPRECATED - use 'customSensitiveExpressions' instead. - deprecated: true - x-glean-deprecated: - id: b0713b37-472e-4c29-80ba-6f5d6f2b449c - introduced: "2026-02-05" - message: Use customSensitiveExpressions instead - removal: "2026-10-15" - x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use customSensitiveExpressions instead" - sensitiveRegexes: - type: array - items: - $ref: '#/components/schemas/SensitiveExpression' - description: DEPRECATED - use 'customSensitiveExpressions' instead. - deprecated: true - x-glean-deprecated: - id: a26e1920-36b6-4c0f-981f-57b09a9ebce3 - introduced: "2026-02-05" - message: Use customSensitiveExpressions instead - removal: "2026-10-15" - x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use customSensitiveExpressions instead" - customSensitiveExpressions: - type: array - items: - $ref: '#/components/schemas/CustomSensitiveExpression' - description: list of custom sensitive expressions to consider as sensitive content - description: Options for defining sensitive content within scanned documents. - DlpPersonMetadata: - properties: - firstName: - type: string - description: The first name of the person - email: - type: string - description: The user's primary email address - DlpPerson: - properties: - name: - type: string - description: The display name. - obfuscatedId: - type: string - description: An opaque identifier that can be used to request metadata for a Person. - metadata: - $ref: '#/components/schemas/DlpPersonMetadata' - required: - - name - - obfuscatedId - description: Details about the person who created this report/policy. - AllowlistOptions: - properties: - terms: - type: array - items: - type: string - description: list of words and phrases to consider as whitelisted content - description: Terms that are allow-listed during the scans. If any finding picked up by a rule exactly matches a term in the allow-list, it will not be counted as a violation. - DlpConfig: - properties: - version: - type: integer - format: int64 - description: Synonymous with report/policy id. - sensitiveInfoTypes: - type: array - items: - $ref: '#/components/schemas/SensitiveInfoType' - description: DEPRECATED - use `sensitiveContentOptions` instead. - deprecated: true - x-glean-deprecated: - id: 60d6d182-e9d0-448d-af75-137f68bbdcbf - introduced: "2026-02-05" - message: Use sensitiveContentOptions instead - removal: "2026-10-15" - x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use sensitiveContentOptions instead" - inputOptions: - $ref: '#/components/schemas/InputOptions' - description: Options for documents to include or exclude in a report - externalSharingOptions: - $ref: '#/components/schemas/ExternalSharingOptions' - description: DEPRECATED - use `broadSharingOptions` instead. - deprecated: true - x-glean-deprecated: - id: 6484ec17-a133-4176-b2ce-28e25b0e9065 - introduced: "2026-02-05" - message: Use broadSharingOptions instead - removal: "2026-10-15" - x-speakeasy-deprecation-message: "Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use broadSharingOptions instead" - broadSharingOptions: - $ref: '#/components/schemas/SharingOptions' - description: Options for defining documents to scan for sensitive content. - sensitiveContentOptions: - $ref: '#/components/schemas/SensitiveContentOptions' - description: Options for defining sensitive content within scanned documents. - reportName: - type: string - frequency: - type: string - description: Interval between scans. - createdBy: - $ref: '#/components/schemas/DlpPerson' - description: Person who created this report/policy. - createdAt: - type: string - format: iso-date-time - description: Timestamp at which this configuration was created. - redactQuote: - type: boolean - description: redact quote in findings of the report - autoHideDocs: - type: boolean - description: auto hide documents with findings in the report - allowlistOptions: - $ref: '#/components/schemas/AllowlistOptions' - description: Options for defining whitelisting content within scanned documents - description: Detailed configuration of what documents and sensitive content will be scanned. - DlpFrequency: - type: string - enum: - - ONCE - - DAILY - - WEEKLY - - CONTINUOUS - - NONE - description: Interval between scans. DAILY is deprecated. - x-include-enum-class-prefix: true - DlpReportStatus: - type: string - enum: - - ACTIVE - - INACTIVE - - CANCELLED - - NONE - description: The status of the policy/report. Only ACTIVE status will be picked for scans. - x-include-enum-class-prefix: true - DlpReport: - properties: - id: - type: string - name: - type: string - config: - $ref: '#/components/schemas/DlpConfig' - description: All details of the policy that is needed for a scan. - frequency: - $ref: '#/components/schemas/DlpFrequency' - description: The interval between scans. - status: - $ref: '#/components/schemas/DlpReportStatus' - description: The status of the policy. - createdBy: - $ref: '#/components/schemas/DlpPerson' - description: Person who created this report. - createdAt: - type: string - format: iso-date-time - description: Timestamp at which the policy was created. - lastUpdatedAt: - type: string - format: iso-date-time - description: Timestamp at which the policy was last updated. - autoHideDocs: - type: boolean - description: Auto hide documents with findings in the policy. - lastScanStatus: - type: string - enum: - - PENDING - - SUCCESS - - FAILURE - - CANCELLED - - CANCELLING - - ACTIVE - lastScanStartTime: - type: string - format: iso-date-time - description: The timestamp at which the report's last run/scan began. - updatedBy: - $ref: '#/components/schemas/DlpPerson' - description: Person who last updated this report. - description: Full policy information that will be used for scans. - GetDlpReportResponse: - properties: - report: - $ref: '#/components/schemas/DlpReport' - UpdateDlpReportRequest: - properties: - config: - $ref: '#/components/schemas/DlpConfig' - description: The new configuration the policy will follow if provided. - frequency: - $ref: '#/components/schemas/DlpFrequency' - description: The new frequency the policy will follow if provided. - status: - $ref: '#/components/schemas/DlpReportStatus' - description: The new status the policy will be updated to if provided. - autoHideDocs: - type: boolean - description: The new autoHideDoc boolean the policy will be updated to if provided. - reportName: - type: string - description: The new name of the policy if provided. - DlpSimpleResult: - type: string - enum: - - SUCCESS - - FAILURE - UpdateDlpReportResponse: - properties: - result: - $ref: '#/components/schemas/DlpSimpleResult' - ListDlpReportsResponse: - properties: - reports: - type: array - items: - $ref: '#/components/schemas/DlpReport' - CreateDlpReportRequest: - properties: - name: - type: string - description: Name of the policy being created. - config: - $ref: '#/components/schemas/DlpConfig' - description: Details on the configuration used in the scans. - frequency: - $ref: '#/components/schemas/DlpFrequency' - description: Interval between scans. - autoHideDocs: - type: boolean - description: Controls whether the policy should hide documents with violations. - CreateDlpReportResponse: - properties: - report: - $ref: '#/components/schemas/DlpReport' - UpdateDlpConfigRequest: - properties: - config: - $ref: '#/components/schemas/DlpConfig' - frequency: - type: string - description: Only "ONCE" is supported for reports. - UpdateDlpConfigResponse: - properties: - result: - $ref: '#/components/schemas/DlpSimpleResult' - reportId: - type: string - description: The id of the report that was just created and run. - ReportStatusResponse: - properties: - status: - type: string - enum: - - PENDING - - SUCCESS - - FAILURE - - CANCELLED - - CANCELLING - - ACTIVE - startTime: - type: string - format: iso-date-time - description: The timestamp at which the report's run/scan began. - DocumentVisibilityOverride: - properties: - docId: - type: string - override: - type: string - enum: - - NONE - - HIDE_FROM_ALL - - HIDE_FROM_GROUPS - - HIDE_FROM_ALL_EXCEPT_OWNER - description: The visibility-override state of the document. - GetDocumentVisibilityOverridesResponse: - properties: - visibilityOverrides: - type: array - items: - $ref: '#/components/schemas/DocumentVisibilityOverride' - UpdateDocumentVisibilityOverridesRequest: - properties: - visibilityOverrides: - type: array - items: - $ref: '#/components/schemas/DocumentVisibilityOverride' - DocumentVisibilityUpdateResult: - allOf: - - $ref: '#/components/schemas/DocumentVisibilityOverride' - - type: object - properties: - success: - type: boolean - description: Whether this document was successfully set to its desired visibility state. - UpdateDocumentVisibilityOverridesResponse: - properties: - results: - type: array - items: - $ref: '#/components/schemas/DocumentVisibilityUpdateResult' - description: The documents and whether their visibility was successfully updated. - DlpSeverity: - type: string - enum: - - UNSPECIFIED - - LOW - - MEDIUM - - HIGH - description: Severity levels for DLP findings and analyses. - x-include-enum-class-prefix: true - DlpIssueStatus: - type: string - enum: - - OPEN - - CLOSED - - IN_PROGRESS - - RESOLVED - description: Status of a DLP issue. - x-include-enum-class-prefix: true - TimeRangeFilter: - properties: - timePeriodType: - type: string - enum: - - PAST_DAY - - PAST_WEEK - - PAST_MONTH - - PAST_YEAR - - CUSTOM - description: The type of time period for which to filter findings. - customTimeRange: - $ref: '#/components/schemas/TimeRange' - DlpFindingFilter: - properties: - infoType: - type: string - regexId: - type: string - reportId: - type: string - datasource: - type: string - visibility: - type: string - documentIds: - type: array - items: - type: string - severity: - $ref: '#/components/schemas/DlpSeverity' - documentSeverity: - type: array - items: - $ref: '#/components/schemas/DlpSeverity' - statuses: - type: array - items: - $ref: '#/components/schemas/DlpIssueStatus' - timeRange: - $ref: '#/components/schemas/TimeRangeFilter' - archived: - type: boolean - DlpIssueFilter: - properties: - searchText: - type: string - description: Text to search for in issue fields. - statuses: - type: array - items: - $ref: '#/components/schemas/DlpIssueStatus' - description: Filter by one or more issue statuses. - assigneeId: - type: string - description: Filter by assignee user ID. - infoType: - type: string - regexId: - type: string - reportIds: - type: array - items: - type: string - description: Filter by one or more report/policy IDs. - docId: - type: string - datasource: - type: string - visibility: - type: string - severities: - type: array - items: - $ref: '#/components/schemas/DlpSeverity' - description: Filter by one or more severity levels. - timeRange: - $ref: '#/components/schemas/TimeRangeFilter' - description: Filter for DLP issues. Includes document-level filters and issue-specific filters. - ExportInfo: - properties: - createdBy: - $ref: '#/components/schemas/DlpPerson' - description: person who triggered this export - startTime: - type: string - format: iso-date-time - description: Timestamp at which this export started. - endTime: - type: string - format: iso-date-time - description: Timestamp at which this export completed. - exportId: - type: string - description: The ID of the export - fileName: - type: string - description: The name of the file to export the findings to - exportType: - type: string - enum: - - FINDINGS - - DOCUMENTS - - ISSUES - description: The type of export to perform - filter: - $ref: '#/components/schemas/DlpFindingFilter' - description: The filters used to export the findings. Set for FINDINGS and DOCUMENTS exports. - issueFilter: - $ref: '#/components/schemas/DlpIssueFilter' - description: The filters used for ISSUES exports. - status: - type: string - enum: - - PENDING - - COMPLETED - - FAILED - description: The status of the export - exportSize: - type: integer - format: int64 - description: The size of the exported file in bytes - ListDlpFindingsExportsResponse: - properties: - exports: - type: array - items: - $ref: '#/components/schemas/ExportInfo' - DlpExportFindingsRequest: - properties: - exportType: - type: string - enum: - - FINDINGS - - DOCUMENTS - - ISSUES - description: The type of export to perform - filter: - $ref: '#/components/schemas/DlpFindingFilter' - issueFilter: - $ref: '#/components/schemas/DlpIssueFilter' - description: Filter for ISSUE-level exports. Used when exportType is ISSUES. - fileName: - type: string - description: The name of the file to export the findings to - fieldScope: - type: string - enum: - - ALL - - EXCLUDE_SENSITIVE - - CUSTOM - description: Controls which fields to include in the export - fieldsToExclude: - type: array - items: - type: string - description: List of field names to exclude from the export - ConfigurationValue: - type: object - properties: - value: - type: string - description: The configuration value as a string. Only one of value or valueList should be populated. - valueList: - type: array - items: + - OPEN + - CLOSED + - IN_PROGRESS + - RESOLVED + TimeRangeFilter: + properties: + timePeriodType: + type: string + description: The type of time period for which to filter findings. + enum: + - PAST_DAY + - PAST_WEEK + - PAST_MONTH + - PAST_YEAR + - CUSTOM + customTimeRange: + $ref: "#/components/schemas/TimeRange" + DlpFindingFilter: + properties: + infoType: + type: string + regexId: + type: string + reportId: + type: string + datasource: + type: string + visibility: + type: string + documentIds: + type: array + items: + type: string + severity: + $ref: "#/components/schemas/DlpSeverity" + documentSeverity: + type: array + items: + $ref: "#/components/schemas/DlpSeverity" + statuses: + type: array + items: + $ref: "#/components/schemas/DlpIssueStatus" + timeRange: + $ref: "#/components/schemas/TimeRangeFilter" + archived: + type: boolean + DlpIssueFilter: + description: Filter for DLP issues. Includes document-level filters and issue-specific filters. + properties: + searchText: + type: string + description: Text to search for in issue fields. + statuses: + type: array + items: + $ref: "#/components/schemas/DlpIssueStatus" + description: Filter by one or more issue statuses. + assigneeId: + type: string + description: Filter by assignee user ID. + infoType: + type: string + regexId: + type: string + reportIds: + type: array + items: + type: string + description: Filter by one or more report/policy IDs. + docId: + type: string + datasource: + type: string + visibility: + type: string + severities: + type: array + items: + $ref: "#/components/schemas/DlpSeverity" + description: Filter by one or more severity levels. + timeRange: + $ref: "#/components/schemas/TimeRangeFilter" + ExportInfo: + properties: + createdBy: + description: person who triggered this export + $ref: "#/components/schemas/DlpPerson" + startTime: + description: Timestamp at which this export started. + type: string + format: iso-date-time + endTime: + description: Timestamp at which this export completed. + type: string + format: iso-date-time + exportId: + type: string + description: The ID of the export + fileName: + type: string + description: The name of the file to export the findings to + exportType: + type: string + description: The type of export to perform + enum: + - FINDINGS + - DOCUMENTS + - ISSUES + filter: + $ref: "#/components/schemas/DlpFindingFilter" + description: The filters used to export the findings. Set for FINDINGS and DOCUMENTS exports. + issueFilter: + $ref: "#/components/schemas/DlpIssueFilter" + description: The filters used for ISSUES exports. + status: + type: string + description: The status of the export + enum: + - PENDING + - COMPLETED + - FAILED + exportSize: + type: integer + format: int64 + description: The size of the exported file in bytes + ListDlpFindingsExportsResponse: + properties: + exports: + type: array + items: + $ref: "#/components/schemas/ExportInfo" + DlpExportFindingsRequest: + properties: + exportType: + type: string + description: The type of export to perform + enum: + - FINDINGS + - DOCUMENTS + - ISSUES + filter: + $ref: "#/components/schemas/DlpFindingFilter" + issueFilter: + $ref: "#/components/schemas/DlpIssueFilter" + description: Filter for ISSUE-level exports. Used when exportType is ISSUES. + fileName: + type: string + description: The name of the file to export the findings to + fieldScope: + type: string + description: Controls which fields to include in the export + enum: + - ALL + - EXCLUDE_SENSITIVE + - CUSTOM + fieldsToExclude: + type: array + items: + type: string + description: List of field names to exclude from the export + ConfigurationValue: + description: A single configuration value, either a scalar or a list + type: object + properties: + value: + description: The configuration value as a string. Only one of value or valueList should be populated. + type: string + valueList: + description: The configuration value as a list of strings. Only one of value or valueList should be populated. + type: array + items: + type: string + ConfigurationValues: + description: A map from configuration key names to their values + type: object + additionalProperties: + $ref: "#/components/schemas/ConfigurationValue" + DatasourceInstanceConfiguration: + description: Configuration for a datasource instance + type: object + required: + - values + properties: + values: + $ref: "#/components/schemas/ConfigurationValues" + DatasourceConfigurationResponse: + description: | + The greenlisted configuration values for a datasource instance. Only keys that are exposed via the public API greenlist are included. + type: object + required: + - configuration + properties: + configuration: + $ref: "#/components/schemas/DatasourceInstanceConfiguration" + UpdateDatasourceConfigurationRequest: + description: | + Request to update greenlisted configuration values for a datasource instance. Only keys that are exposed via the public API greenlist may be set. + type: object + required: + - configuration + properties: + configuration: + $ref: "#/components/schemas/DatasourceInstanceConfiguration" + DatasourceCredentialStatus: + description: | + Lifecycle state of the credentials installed for a datasource instance. Mirrors the internal admin Status enum so the handler can surface the same health signals already tracked today. EXPIRING_SOON is represented as VALID_WITH_WARNINGS (with detail in `message`); EXPIRED is surfaced as INVALID plus a non-null `expiresAt` in the past. type: string - description: The configuration value as a list of strings. Only one of value or valueList should be populated. - description: A single configuration value, either a scalar or a list - ConfigurationValues: - type: object - additionalProperties: - $ref: '#/components/schemas/ConfigurationValue' - description: A map from configuration key names to their values - DatasourceInstanceConfiguration: - type: object - properties: - values: - $ref: '#/components/schemas/ConfigurationValues' - required: - - values - description: Configuration for a datasource instance - DatasourceConfigurationResponse: - type: object - properties: - configuration: - $ref: '#/components/schemas/DatasourceInstanceConfiguration' - required: - - configuration - description: | - The greenlisted configuration values for a datasource instance. Only keys that are exposed via the public API greenlist are included. - UpdateDatasourceConfigurationRequest: - type: object - properties: - configuration: - $ref: '#/components/schemas/DatasourceInstanceConfiguration' - required: - - configuration - description: | - Request to update greenlisted configuration values for a datasource instance. Only keys that are exposed via the public API greenlist may be set. - ChatRequestStream: - required: - - messages - properties: - saveChat: - type: boolean - description: >- - Save the current interaction as a Chat for the user to access and potentially continue later. - chatId: - 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. - messages: - type: array - description: >- - A list of chat messages, from most recent to least recent. It can be assumed that the first chat message in the list is the user's most recent query. - items: - $ref: '#/components/schemas/ChatMessage' - agentConfig: - $ref: '#/components/schemas/AgentConfig' - description: Describes the agent that will execute the request. - inclusions: - $ref: '#/components/schemas/ChatRestrictionFilters' - description: >- - A list of filters which only allows chat to access certain content. - exclusions: - $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 - description: >- - Timeout in milliseconds for the request. A `408` error will be returned if handling the request takes longer. - example: 30000 - applicationId: - type: string - description: >- - The ID of the application this request originates from, used to determine the configuration of underlying chat processes. This should correspond to the ID set during admin setup. If not specified, the default chat experience will be used. - stream: - 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. - default: true - parameters: - locale: - name: locale - in: query - description: 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`. - required: false - schema: - type: string - timezoneOffset: - name: timezoneOffset - in: query - description: The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. - schema: - type: integer - datasourceId: - name: datasourceId - in: path - description: The datasource type identifier (e.g. o365sharepoint) - required: true - schema: - type: string - example: o365sharepoint - instanceId: - name: instanceId - in: path - description: The datasource instance identifier - required: true - 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' -x-tagGroups: - - name: Search & Generative AI - tags: - - Chat - - Search - - Summarize - - Tools - - name: Connected Content - tags: - - Calendar - - Documents - - Entities - - Messages - - name: User Generated Content - tags: - - Announcements - - Answers - - Collections - - Displayable Lists - - Images - - Pins - - Shortcuts - - Verification - - name: General - tags: - - Activity - - Authentication - - Insights - - User + enum: + - VALID + - VALID_WITH_WARNINGS + - VALIDATING + - INVALID + - MISSING + DatasourceCredentialStatusResponse: + description: Status of the credentials currently installed for a datasource instance. + type: object + required: + - status + properties: + status: + $ref: "#/components/schemas/DatasourceCredentialStatus" + lastRotatedAt: + description: When the credentials were last rotated. Omitted when not known. + type: string + format: date-time + expiresAt: + description: | + When the active credentials expire. Omitted when not known or not applicable to this credential type. + type: string + format: date-time + message: + description: Optional human-readable detail about the current credential status. + type: string + RotateDatasourceCredentialsRequest: + description: | + Request to rotate the credentials used by a datasource instance. Replaces the active credential material with the supplied values. + `credentials.values` must contain only keys recognized as credential material for the datasource type (for example `clientSecret` for OAuth, `apiToken` for API-token auth, `privateKey` for certificate auth). Unrecognized keys, or keys that correspond to non-credential configuration, cause a 400; use the configure endpoint to change non-credential config. + type: object + required: + - credentials + properties: + credentials: + $ref: "#/components/schemas/DatasourceInstanceConfiguration" + ChatRequestStream: + required: + - messages + properties: + saveChat: + type: boolean + description: >- + Save the current interaction as a Chat for the user to access and potentially continue later. + chatId: + 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. + messages: + type: array + description: >- + A list of chat messages, from most recent to least recent. It can be assumed that the first chat message in the list is the user's most recent query. + items: + $ref: '#/components/schemas/ChatMessage' + agentConfig: + $ref: '#/components/schemas/AgentConfig' + description: Describes the agent that will execute the request. + inclusions: + $ref: '#/components/schemas/ChatRestrictionFilters' + description: >- + A list of filters which only allows chat to access certain content. + exclusions: + $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 + description: >- + Timeout in milliseconds for the request. A `408` error will be returned if handling the request takes longer. + example: 30000 + applicationId: + type: string + description: >- + The ID of the application this request originates from, used to determine the configuration of underlying chat processes. This should correspond to the ID set during admin setup. If not specified, the default chat experience will be used. + stream: + 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. + default: true + CustomMetadataPropertyDefinition: + type: object + description: The definition for a key within a Custom Metadata schema. Only the fields applicable to Custom Metadata are exposed. + properties: + name: + type: string + description: The name of the metadata key. + propertyType: + type: string + enum: + - TEXT + - PICKLIST + - TEXTLIST + - MULTIPICKLIST + description: The type of metadata key. This governs the search and faceting behavior. + skipIndexing: + type: boolean + description: If true then the property will not be indexed for retrieval and ranking. + required: + - name + - propertyType + 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" + parameters: + locale: + name: locale + in: query + description: 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`. + required: false + schema: + type: string + timezoneOffset: + name: timezoneOffset + in: query + description: The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. + schema: + type: integer + datasourceId: + name: datasourceId + in: path + description: The datasource type identifier (e.g. o365sharepoint) + required: true + schema: + type: string + example: o365sharepoint + instanceId: + name: instanceId + in: path + description: The datasource instance identifier + required: true + schema: + type: string + example: o365sharepoint_abc123 + datasourceInstanceId: + name: datasourceInstanceId + in: path + description: The full datasource instance identifier (e.g. o365sharepoint_abc123) + required: true + schema: + type: string + example: o365sharepoint_abc123 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. + - 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: + - Chat + - Search + - Summarize + - Tools + - name: Connected Content + tags: + - Calendar + - Documents + - Entities + - Messages + - name: User Generated Content + tags: + - Announcements + - Answers + - Collections + - Displayable Lists + - Images + - Pins + - Shortcuts + - Verification + - name: General + tags: + - Activity + - Authentication + - Insights + - User diff --git a/.speakeasy/tests.arazzo.yaml b/.speakeasy/tests.arazzo.yaml index 492ef04a..de460d26 100644 --- a/.speakeasy/tests.arazzo.yaml +++ b/.speakeasy/tests.arazzo.yaml @@ -164378,3 +164378,214 @@ workflows: type: simple x-speakeasy-test-group: Datasources x-speakeasy-test-rebuild: true + - workflowId: getChatFile + steps: + - stepId: test + operationId: getChatFile + parameters: + - name: fileId + in: path + value: + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/octet-stream + - context: $response.body + condition: | + "x-file: example.file" + type: simple + x-speakeasy-test-group: Chat + x-speakeasy-test-rebuild: true + - workflowId: getPersonPhoto + steps: + - stepId: test + operationId: getPersonPhoto + parameters: + - name: person_id + in: path + value: + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == image/png + - context: $response.body + condition: | + "x-file: example.file" + type: simple + x-speakeasy-test-group: Entities + x-speakeasy-test-rebuild: true + - workflowId: getActionPackAuthStatus + steps: + - stepId: test + operationId: getActionPackAuthStatus + parameters: + - name: actionPackId + in: path + value: + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"actionPack":{"authenticated":true,"authType":"AUTH_USER_OAUTH"}} + type: simple + x-speakeasy-test-group: Tools + x-speakeasy-test-rebuild: true + - workflowId: authorizeActionPack + steps: + - stepId: test + operationId: authorizeActionPack + parameters: + - name: actionPackId + in: path + value: + requestBody: + contentType: application/json + payload: + returnUrl: https://merry-allocation.org/ + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"redirectUrl":"https://unconscious-diversity.net"} + type: simple + x-speakeasy-test-group: Tools + x-speakeasy-test-rebuild: true + - workflowId: put_/rest/api/index/document/{docId}/custom-metadata/{groupName} + steps: + - stepId: test + operationId: put_/rest/api/index/document/{docId}/custom-metadata/{groupName} + parameters: + - name: docId + in: path + value: + - name: groupName + in: path + value: + requestBody: + contentType: application/json + payload: + customMetadata: [] + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"success":true} + type: simple + x-speakeasy-test-group: customMetadata + x-speakeasy-test-rebuild: true + - workflowId: delete_/rest/api/index/document/{docId}/custom-metadata/{groupName} + steps: + - stepId: test + operationId: delete_/rest/api/index/document/{docId}/custom-metadata/{groupName} + parameters: + - name: docId + in: path + value: + - name: groupName + in: path + value: + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"success":true} + type: simple + x-speakeasy-test-group: customMetadata + x-speakeasy-test-rebuild: true + - workflowId: get_/rest/api/index/custom-metadata/schema/{groupName} + steps: + - stepId: test + operationId: get_/rest/api/index/custom-metadata/schema/{groupName} + parameters: + - name: groupName + in: path + value: + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"metadataKeys":[]} + type: simple + x-speakeasy-test-group: customMetadata + x-speakeasy-test-rebuild: true + - workflowId: put_/rest/api/index/custom-metadata/schema/{groupName} + steps: + - stepId: test + operationId: put_/rest/api/index/custom-metadata/schema/{groupName} + parameters: + - name: groupName + in: path + value: + requestBody: + contentType: application/json + payload: + metadataKeys: [] + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"success":true} + type: simple + x-speakeasy-test-group: customMetadata + x-speakeasy-test-rebuild: true + - workflowId: delete_/rest/api/index/custom-metadata/schema/{groupName} + steps: + - stepId: test + operationId: delete_/rest/api/index/custom-metadata/schema/{groupName} + parameters: + - name: groupName + in: path + value: + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"success":true} + type: simple + x-speakeasy-test-group: customMetadata + x-speakeasy-test-rebuild: true + - workflowId: getDatasourceCredentialStatus + steps: + - stepId: test + operationId: getDatasourceCredentialStatus + parameters: + - name: datasourceInstanceId + in: path + value: o365sharepoint_abc123 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"status":"VALID"} + type: simple + x-speakeasy-test-group: Datasources + x-speakeasy-test-rebuild: true + - workflowId: rotateDatasourceCredentials + steps: + - stepId: test + operationId: rotateDatasourceCredentials + parameters: + - name: datasourceInstanceId + in: path + value: o365sharepoint_abc123 + requestBody: + contentType: application/json + payload: + credentials: + values: + key: {} + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"status":"MISSING"} + type: simple + x-speakeasy-test-group: Datasources + x-speakeasy-test-rebuild: true diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 9400bf34..e8da3017 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,8 +2,8 @@ speakeasyVersion: 1.761.8 sources: Glean API: sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:5fafd8224d41224b85cbb5f39c686e5da647fadcd8211bc9fae3c0834341dae6 - sourceBlobDigest: sha256:884a6119e9d59c15d47e169eaa496571dae1c106d390990aee38a25cb51e42c3 + sourceRevisionDigest: sha256:0f64ec0523a1a669a475fe2d567ba988c1f161951592ddc8de53cb77c4f2c474 + sourceBlobDigest: sha256:f848f8f11b102a9a2e7f606a3c13eea2348bffde240e86e49fe801aca6d32d7d tags: - latest Glean Client API: @@ -17,10 +17,10 @@ targets: glean: source: Glean API sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:5fafd8224d41224b85cbb5f39c686e5da647fadcd8211bc9fae3c0834341dae6 - sourceBlobDigest: sha256:884a6119e9d59c15d47e169eaa496571dae1c106d390990aee38a25cb51e42c3 + sourceRevisionDigest: sha256:0f64ec0523a1a669a475fe2d567ba988c1f161951592ddc8de53cb77c4f2c474 + sourceBlobDigest: sha256:f848f8f11b102a9a2e7f606a3c13eea2348bffde240e86e49fe801aca6d32d7d codeSamplesNamespace: glean-api-specs-typescript-code-samples - codeSamplesRevisionDigest: sha256:b3f39c29fb1bf9838380c19c0960a9213c56320311e16bca8958939863e26ec2 + codeSamplesRevisionDigest: sha256:b5791cfb1d37e9b90281cd3010643044add839fc460327b5789a1e216e4c5538 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index 9d5bbb09..d17b562d 100644 --- a/README.md +++ b/README.md @@ -280,22 +280,30 @@ For more information on obtaining the appropriate token type, please contact you
Available methods +### [Agents](docs/sdks/agents/README.md) + +* [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 + ### [Client.Activity](docs/sdks/activity/README.md) * [report](docs/sdks/activity/README.md#report) - Report document activity * [feedback](docs/sdks/activity/README.md#feedback) - Report client activity -### [Client.Agents](docs/sdks/agents/README.md) +### [Client.Agents](docs/sdks/clientagents/README.md) -* [retrieve](docs/sdks/agents/README.md#retrieve) - Retrieve an agent -* [retrieveSchemas](docs/sdks/agents/README.md#retrieveschemas) - List an agent's schemas -* [list](docs/sdks/agents/README.md#list) - Search agents -* [runStream](docs/sdks/agents/README.md#runstream) - Create an agent run and stream the response -* [run](docs/sdks/agents/README.md#run) - Create an agent run and wait for the response +* [retrieve](docs/sdks/clientagents/README.md#retrieve) - Retrieve 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 +* [run](docs/sdks/clientagents/README.md#run) - Create an agent run and wait for the response ### [Client.Announcements](docs/sdks/announcements/README.md) @@ -315,18 +323,18 @@ For more information on obtaining the appropriate token type, please contact you * [createToken](docs/sdks/clientauthentication/README.md#createtoken) - Create authentication token -### [Client.Chat](docs/sdks/chat/README.md) +### [Client.Chat](docs/sdks/clientchat/README.md) -* [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 -* [createStream](docs/sdks/chat/README.md#createstream) - Chat +* [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 ### [Client.Collections](docs/sdks/collections/README.md) @@ -346,10 +354,10 @@ 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/entities/README.md) +### [Client.Entities](docs/sdks/cliententities/README.md) -* [list](docs/sdks/entities/README.md#list) - List entities -* [readPeople](docs/sdks/entities/README.md#readpeople) - Read people +* [list](docs/sdks/cliententities/README.md#list) - List entities +* [readPeople](docs/sdks/cliententities/README.md#readpeople) - Read people ### [Client.Governance.Data.Policies](docs/sdks/policies/README.md) @@ -402,10 +410,10 @@ 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/tools/README.md) +### [Client.Tools](docs/sdks/clienttools/README.md) -* [list](docs/sdks/tools/README.md#list) - List available tools -* [run](docs/sdks/tools/README.md#run) - Execute the specified tool +* [list](docs/sdks/clienttools/README.md#list) - List available tools +* [run](docs/sdks/clienttools/README.md#run) - Execute the specified tool ### [Client.Verification](docs/sdks/verification/README.md) @@ -417,6 +425,12 @@ For more information on obtaining the appropriate token type, please contact you * [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) @@ -429,6 +443,14 @@ For more information on obtaining the appropriate token type, please contact you * [rotateToken](docs/sdks/indexingauthentication/README.md#rotatetoken) - Rotate token +### [Indexing.CustomMetadata](docs/sdks/custommetadata/README.md) + +* [upsert](docs/sdks/custommetadata/README.md#upsert) - Add or update custom metadata +* [delete](docs/sdks/custommetadata/README.md#delete) - Remove custom metadata +* [getSchema](docs/sdks/custommetadata/README.md#getschema) - Retrieve metadata schema +* [upsertSchema](docs/sdks/custommetadata/README.md#upsertschema) - Create or update metadata schema +* [deleteSchema](docs/sdks/custommetadata/README.md#deleteschema) - Remove metadata schema + ### [Indexing.Datasource](docs/sdks/datasource/README.md) * [status](docs/sdks/datasource/README.md#status) - Beta: Get datasource status @@ -487,6 +509,16 @@ 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 + +
@@ -505,14 +537,16 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). Available standalone functions +- [`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 - [`clientActivityFeedback`](docs/sdks/activity/README.md#feedback) - Report client activity - [`clientActivityReport`](docs/sdks/activity/README.md#report) - Report document activity -- [`clientAgentsList`](docs/sdks/agents/README.md#list) - Search agents -- [`clientAgentsRetrieve`](docs/sdks/agents/README.md#retrieve) - Retrieve an agent -- [`clientAgentsRetrieveSchemas`](docs/sdks/agents/README.md#retrieveschemas) - List an agent's schemas -- [`clientAgentsRun`](docs/sdks/agents/README.md#run) - Create an agent run and wait for the response -- [`clientAgentsRunStream`](docs/sdks/agents/README.md#runstream) - Create an agent run and stream the response +- [`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 - [`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 @@ -521,16 +555,16 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`clientAnswersRetrieve`](docs/sdks/answers/README.md#retrieve) - Read Answer - [`clientAnswersUpdate`](docs/sdks/answers/README.md#update) - Update Answer - [`clientAuthenticationCreateToken`](docs/sdks/clientauthentication/README.md#createtoken) - Create authentication token -- [`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 -- [`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 +- [`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 - [`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 @@ -543,8 +577,8 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`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/entities/README.md#list) - List entities -- [`clientEntitiesReadPeople`](docs/sdks/entities/README.md#readpeople) - Read people +- [`clientEntitiesList`](docs/sdks/cliententities/README.md#list) - List entities +- [`clientEntitiesReadPeople`](docs/sdks/cliententities/README.md#readpeople) - Read people - [`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 @@ -572,18 +606,26 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`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/tools/README.md#list) - List available tools -- [`clientToolsRun`](docs/sdks/tools/README.md#run) - Execute the specified tool +- [`clientToolsList`](docs/sdks/clienttools/README.md#list) - List available tools +- [`clientToolsRun`](docs/sdks/clienttools/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 +- [`indexingCustomMetadataGetSchema`](docs/sdks/custommetadata/README.md#getschema) - Retrieve metadata schema +- [`indexingCustomMetadataUpsert`](docs/sdks/custommetadata/README.md#upsert) - Add or update custom metadata +- [`indexingCustomMetadataUpsertSchema`](docs/sdks/custommetadata/README.md#upsertschema) - Create or update metadata schema - [`indexingDatasourcesAdd`](docs/sdks/indexingdatasources/README.md#add) - Add or update datasource - [`indexingDatasourcesRetrieveConfig`](docs/sdks/indexingdatasources/README.md#retrieveconfig) - Get datasource config - [`indexingDatasourceStatus`](docs/sdks/datasource/README.md#status) - Beta: Get datasource status @@ -620,6 +662,10 @@ 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 + - ~~[`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** @@ -651,14 +697,16 @@ To learn about this feature and how to get started, check Available React hooks +- [`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 - [`useClientActivityFeedbackMutation`](docs/sdks/activity/README.md#feedback) - Report client activity - [`useClientActivityReportMutation`](docs/sdks/activity/README.md#report) - Report document activity -- [`useClientAgentsListMutation`](docs/sdks/agents/README.md#list) - Search agents -- [`useClientAgentsRetrieve`](docs/sdks/agents/README.md#retrieve) - Retrieve an agent -- [`useClientAgentsRetrieveSchemas`](docs/sdks/agents/README.md#retrieveschemas) - List an agent's schemas -- [`useClientAgentsRunMutation`](docs/sdks/agents/README.md#run) - Create an agent run and wait for the response -- [`useClientAgentsRunStreamMutation`](docs/sdks/agents/README.md#runstream) - Create an agent run and stream the response +- [`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 - [`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 @@ -667,16 +715,16 @@ To learn about this feature and how to get started, check - [`useClientAnswersRetrieveMutation`](docs/sdks/answers/README.md#retrieve) - Read Answer - [`useClientAnswersUpdateMutation`](docs/sdks/answers/README.md#update) - Update Answer - [`useClientAuthenticationCreateTokenMutation`](docs/sdks/clientauthentication/README.md#createtoken) - Create authentication token -- [`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 -- [`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 +- [`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 - [`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 @@ -689,8 +737,8 @@ To learn about this feature and how to get started, check - [`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/entities/README.md#list) - List entities -- [`useClientEntitiesReadPeopleMutation`](docs/sdks/entities/README.md#readpeople) - Read people +- [`useClientEntitiesListMutation`](docs/sdks/cliententities/README.md#list) - List entities +- [`useClientEntitiesReadPeopleMutation`](docs/sdks/cliententities/README.md#readpeople) - Read people - [`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 @@ -718,18 +766,26 @@ To learn about this feature and how to get started, check - [`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/tools/README.md#list) - List available tools -- [`useClientToolsRunMutation`](docs/sdks/tools/README.md#run) - Execute the specified tool +- [`useClientToolsList`](docs/sdks/clienttools/README.md#list) - List available tools +- [`useClientToolsRunMutation`](docs/sdks/clienttools/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 +- [`useIndexingCustomMetadataGetSchema`](docs/sdks/custommetadata/README.md#getschema) - Retrieve metadata schema +- [`useIndexingCustomMetadataUpsertMutation`](docs/sdks/custommetadata/README.md#upsert) - Add or update custom metadata +- [`useIndexingCustomMetadataUpsertSchemaMutation`](docs/sdks/custommetadata/README.md#upsertschema) - Create or update metadata schema - [`useIndexingDatasourcesAddMutation`](docs/sdks/indexingdatasources/README.md#add) - Add or update datasource - [`useIndexingDatasourcesRetrieveConfigMutation`](docs/sdks/indexingdatasources/README.md#retrieveconfig) - Get datasource config - [`useIndexingDatasourceStatusMutation`](docs/sdks/datasource/README.md#status) - Beta: Get datasource status @@ -766,6 +822,10 @@ 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 + - ~~[`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** @@ -1081,6 +1141,35 @@ async function run() { run(); +``` + +### Override Server URL Per-Operation + +The server URL can also be overridden on a per-operation basis, provided a server list was specified for the operation. For example: +```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.customMetadata.upsert( + { + customMetadata: [], + }, + "", + "", + { + serverURL: "https://instance-name-be.glean.com", + }, + ); + + console.log(result); +} + +run(); + ``` diff --git a/RELEASES.md b/RELEASES.md index d3742ed8..247c7aee 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -758,4 +758,14 @@ Based on: ### Generated - [typescript v0.14.19] . ### Releases -- [NPM v0.14.19] https://www.npmjs.com/package/@gleanwork/api-client/v/0.14.19 - . \ No newline at end of file +- [NPM v0.14.19] https://www.npmjs.com/package/@gleanwork/api-client/v/0.14.19 - . + +## 2026-06-01 09:06:50 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.761.8 (2.881.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.15.0] . +### Releases +- [NPM v0.15.0] https://www.npmjs.com/package/@gleanwork/api-client/v/0.15.0 - . \ No newline at end of file diff --git a/docs/models/components/actionauthtype.md b/docs/models/components/actionauthtype.md new file mode 100644 index 00000000..3d47a489 --- /dev/null +++ b/docs/models/components/actionauthtype.md @@ -0,0 +1,23 @@ +# ActionAuthType + +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. + + +## Example Usage + +```typescript +import { ActionAuthType } from "@gleanwork/api-client/models/components"; + +let value: ActionAuthType = "AUTH_NONE"; + +// Open enum: unrecognized values are captured as Unrecognized +``` + +## Values + +```typescript +"AUTH_USER_OAUTH" | "AUTH_ADMIN" | "AUTH_NONE" | Unrecognized +``` \ No newline at end of file diff --git a/docs/models/components/actionpackauthstatus.md b/docs/models/components/actionpackauthstatus.md new file mode 100644 index 00000000..37b49cb9 --- /dev/null +++ b/docs/models/components/actionpackauthstatus.md @@ -0,0 +1,19 @@ +# ActionPackAuthStatus + +## Example Usage + +```typescript +import { ActionPackAuthStatus } from "@gleanwork/api-client/models/components"; + +let value: ActionPackAuthStatus = { + authenticated: true, + authType: "AUTH_NONE", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `authenticated` | *boolean* | :heavy_check_mark: | Whether the calling user is already authenticated to the tool backing the action pack. | +| `authType` | [components.ActionAuthType](../../models/components/actionauthtype.md) | :heavy_check_mark: | 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.
| \ No newline at end of file diff --git a/docs/models/components/actionpackauthstatusresponse.md b/docs/models/components/actionpackauthstatusresponse.md new file mode 100644 index 00000000..e9732376 --- /dev/null +++ b/docs/models/components/actionpackauthstatusresponse.md @@ -0,0 +1,20 @@ +# ActionPackAuthStatusResponse + +## Example Usage + +```typescript +import { ActionPackAuthStatusResponse } from "@gleanwork/api-client/models/components"; + +let value: ActionPackAuthStatusResponse = { + actionPack: { + authenticated: false, + authType: "AUTH_USER_OAUTH", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `actionPack` | [components.ActionPackAuthStatus](../../models/components/actionpackauthstatus.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/addcollectionitemserrorerrortype.md b/docs/models/components/addcollectionitemserrorerrortype.md index dce17ff7..9d642e8e 100644 --- a/docs/models/components/addcollectionitemserrorerrortype.md +++ b/docs/models/components/addcollectionitemserrorerrortype.md @@ -5,11 +5,13 @@ ```typescript import { AddCollectionItemsErrorErrorType } from "@gleanwork/api-client/models/components"; -let value: AddCollectionItemsErrorErrorType = "EXISTING_ITEM"; +let value: AddCollectionItemsErrorErrorType = "CORRUPT_ITEM"; + +// Open enum: unrecognized values are captured as Unrecognized ``` ## Values ```typescript -"EXISTING_ITEM" +"EXISTING_ITEM" | "CORRUPT_ITEM" | Unrecognized ``` \ No newline at end of file diff --git a/docs/models/components/agentsinsightsv2request.md b/docs/models/components/agentsinsightsv2request.md index b2e0e9e2..6c9b1613 100644 --- a/docs/models/components/agentsinsightsv2request.md +++ b/docs/models/components/agentsinsightsv2request.md @@ -14,4 +14,5 @@ let value: AgentsInsightsV2Request = {}; | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | | `agentIds` | *string*[] | :heavy_minus_sign: | IDs of the Agents for which Insights should be returned. An empty array signifies all. | | `departments` | *string*[] | :heavy_minus_sign: | Departments for which Insights are requested. | +| `managerEmails` | *string*[] | :heavy_minus_sign: | Manager emails whose teams should be filtered for. Empty array means no filtering. | | `dayRange` | [components.Period](../../models/components/period.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/agentsinsightsv2response.md b/docs/models/components/agentsinsightsv2response.md index 6ed2d537..a79c9759 100644 --- a/docs/models/components/agentsinsightsv2response.md +++ b/docs/models/components/agentsinsightsv2response.md @@ -14,6 +14,20 @@ let value: AgentsInsightsV2Response = { iconType: "GLYPH", name: "user", }, + owner: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + topUseCasesInsights: [ + { + topAgentIcon: { + color: "#343CED", + key: "person_icon", + iconType: "GLYPH", + name: "user", + }, }, ], agentsUsageByDepartmentInsights: [ @@ -51,13 +65,14 @@ let value: AgentsInsightsV2Response = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `monthlyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Monthly Active Users, in the specified departments. | -| `weeklyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Weekly Active Users, in the specified departments. | +| `monthlyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Monthly Active Users. | +| `weeklyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Weekly Active Users. | | `monthlyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | | `weeklyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | | `dailyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | | `sharedAgentsCount` | *number* | :heavy_minus_sign: | Total number of shared agents. | | `topAgentsInsights` | [components.PerAgentInsight](../../models/components/peragentinsight.md)[] | :heavy_minus_sign: | N/A | +| `topUseCasesInsights` | [components.AgentUseCaseInsight](../../models/components/agentusecaseinsight.md)[] | :heavy_minus_sign: | N/A | | `agentsUsageByDepartmentInsights` | [components.AgentsUsageByDepartmentInsight](../../models/components/agentsusagebydepartmentinsight.md)[] | :heavy_minus_sign: | N/A | | `agentUsersInsights` | [components.AgentUsersInsight](../../models/components/agentusersinsight.md)[] | :heavy_minus_sign: | N/A | | `agentsTimeSavedInsights` | [components.AgentsTimeSavedInsight](../../models/components/agentstimesavedinsight.md)[] | :heavy_minus_sign: | Insights for agents time saved over the specified time period. | diff --git a/docs/models/components/agentusecaseinsight.md b/docs/models/components/agentusecaseinsight.md new file mode 100644 index 00000000..a1915955 --- /dev/null +++ b/docs/models/components/agentusecaseinsight.md @@ -0,0 +1,29 @@ +# AgentUseCaseInsight + +## Example Usage + +```typescript +import { AgentUseCaseInsight } from "@gleanwork/api-client/models/components"; + +let value: AgentUseCaseInsight = { + topAgentIcon: { + color: "#343CED", + key: "person_icon", + iconType: "GLYPH", + name: "user", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | +| `useCase` | *string* | :heavy_minus_sign: | Use case name | | +| `runCount` | *number* | :heavy_minus_sign: | Total number of runs for this use case over the specified time period. | | +| `trend` | *number* | :heavy_minus_sign: | Percentage change in runs compared to the previous equivalent time period. | | +| `topDepartments` | *string* | :heavy_minus_sign: | Comma-separated list of the top departments using this use case. | | +| `topAgentId` | *string* | :heavy_minus_sign: | ID of the most-used agent for this use case. | | +| `topAgentName` | *string* | :heavy_minus_sign: | Name of the most-used agent for this use case. | | +| `topAgentIcon` | [components.IconConfig](../../models/components/iconconfig.md) | :heavy_minus_sign: | Defines how to render an icon | {
"color": "#343CED",
"key": "person_icon",
"iconType": "GLYPH",
"name": "user"
} | +| `topAgentIsDeleted` | *boolean* | :heavy_minus_sign: | Indicates whether the top agent has been deleted. | | \ No newline at end of file diff --git a/docs/models/components/announcement.md b/docs/models/components/announcement.md index 8a0496b6..fd8b28ed 100644 --- a/docs/models/components/announcement.md +++ b/docs/models/components/announcement.md @@ -30,6 +30,7 @@ let value: Announcement = { | `viewUrl` | *string* | :heavy_minus_sign: | 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". | | | `draftId` | *number* | :heavy_minus_sign: | The opaque id of the associated draft. | | | `permissions` | [components.ObjectPermissions](../../models/components/objectpermissions.md) | :heavy_minus_sign: | N/A | | +| `trackingToken` | *string* | :heavy_minus_sign: | An opaque token that represents this particular UGC. To be used for `/feedback` reporting. | | | `id` | *number* | :heavy_minus_sign: | The opaque id of the announcement. | | | `author` | [components.Person](../../models/components/person.md) | :heavy_minus_sign: | N/A | {
"name": "George Clooney",
"obfuscatedId": "abc123"
} | | `createTimestamp` | *number* | :heavy_minus_sign: | Server Unix timestamp of the creation time (in seconds since epoch UTC). | | diff --git a/docs/models/components/answer.md b/docs/models/components/answer.md index dc58fd7d..16c95b9b 100644 --- a/docs/models/components/answer.md +++ b/docs/models/components/answer.md @@ -1546,6 +1546,7 @@ let value: Answer = { | `sourceDocumentSpec` | *components.DocumentSpecUnion* | :heavy_minus_sign: | N/A | | | `sourceType` | [components.AnswerSourceType](../../models/components/answersourcetype.md) | :heavy_minus_sign: | N/A | | | `permissions` | [components.ObjectPermissions](../../models/components/objectpermissions.md) | :heavy_minus_sign: | N/A | | +| `trackingToken` | *string* | :heavy_minus_sign: | An opaque token that represents this particular UGC. To be used for `/feedback` reporting. | | | `combinedAnswerText` | [components.StructuredText](../../models/components/structuredtext.md) | :heavy_minus_sign: | N/A | | | `likes` | [components.AnswerLikes](../../models/components/answerlikes.md) | :heavy_minus_sign: | N/A | | | `author` | [components.Person](../../models/components/person.md) | :heavy_minus_sign: | N/A | {
"name": "George Clooney",
"obfuscatedId": "abc123"
} | diff --git a/docs/models/components/answerresult.md b/docs/models/components/answerresult.md index e24f1e10..1c9498fc 100644 --- a/docs/models/components/answerresult.md +++ b/docs/models/components/answerresult.md @@ -1269,7 +1269,7 @@ let value: AnswerResult = { ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `answer` | [components.Answer](../../models/components/answer.md) | :heavy_check_mark: | N/A | -| `trackingToken` | *string* | :heavy_minus_sign: | An opaque token that represents this particular Answer. To be used for `/feedback` reporting. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `answer` | [components.Answer](../../models/components/answer.md) | :heavy_check_mark: | N/A | +| ~~`trackingToken`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: Deprecated on 2026-05-07, removal scheduled for 2027-01-15: Use `answer.trackingToken` instead..

Use `answer.trackingToken` instead. | \ No newline at end of file diff --git a/docs/models/components/assistantinsightsresponse.md b/docs/models/components/assistantinsightsresponse.md index 22781c46..62acef74 100644 --- a/docs/models/components/assistantinsightsresponse.md +++ b/docs/models/components/assistantinsightsresponse.md @@ -21,8 +21,8 @@ let value: AssistantInsightsResponse = { | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -| `monthlyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Monthly Active Users, in the specified departments. | -| `weeklyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Weekly Active Users, in the specified departments. | +| `monthlyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Monthly Active Users. | +| `weeklyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Weekly Active Users. | | `lastUpdatedTs` | *number* | :heavy_minus_sign: | Unix timestamp of the last update for the insights data in the response. | | `monthlyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | | `weeklyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | diff --git a/docs/models/components/authorizeactionpackrequest.md b/docs/models/components/authorizeactionpackrequest.md new file mode 100644 index 00000000..08fcbe1d --- /dev/null +++ b/docs/models/components/authorizeactionpackrequest.md @@ -0,0 +1,17 @@ +# AuthorizeActionPackRequest + +## Example Usage + +```typescript +import { AuthorizeActionPackRequest } from "@gleanwork/api-client/models/components"; + +let value: AuthorizeActionPackRequest = { + returnUrl: "https://well-worn-planula.com/", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `returnUrl` | *string* | :heavy_check_mark: | 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.
| \ No newline at end of file diff --git a/docs/models/components/authorizeactionpackresponse.md b/docs/models/components/authorizeactionpackresponse.md new file mode 100644 index 00000000..464ad4c1 --- /dev/null +++ b/docs/models/components/authorizeactionpackresponse.md @@ -0,0 +1,17 @@ +# AuthorizeActionPackResponse + +## Example Usage + +```typescript +import { AuthorizeActionPackResponse } from "@gleanwork/api-client/models/components"; + +let value: AuthorizeActionPackResponse = { + redirectUrl: "https://splendid-pacemaker.com/", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `redirectUrl` | *string* | :heavy_check_mark: | 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.
| \ No newline at end of file diff --git a/docs/models/components/breakdowntype.md b/docs/models/components/breakdowntype.md new file mode 100644 index 00000000..e8b30327 --- /dev/null +++ b/docs/models/components/breakdowntype.md @@ -0,0 +1,17 @@ +# BreakdownType + +Type of breakdown to return. + +## Example Usage + +```typescript +import { BreakdownType } from "@gleanwork/api-client/models/components"; + +let value: BreakdownType = "USERS"; +``` + +## Values + +```typescript +"USERS" | "HOST_APPLICATIONS" | "TOOLS" | "SERVERS" +``` \ No newline at end of file diff --git a/docs/models/components/chatsuggestion.md b/docs/models/components/chatsuggestion.md index 508db164..572add59 100644 --- a/docs/models/components/chatsuggestion.md +++ b/docs/models/components/chatsuggestion.md @@ -13,4 +13,6 @@ let value: ChatSuggestion = {}; | Field | Type | Required | Description | | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | | `query` | *string* | :heavy_minus_sign: | The actionable chat query to run when the user selects this suggestion. | -| `feature` | *string* | :heavy_minus_sign: | Targeted Glean Chat feature for the suggestion. | \ No newline at end of file +| `cta` | *string* | :heavy_minus_sign: | Button text to show for the suggestion action. | +| `feature` | *string* | :heavy_minus_sign: | Targeted Glean Chat feature for the suggestion. | +| `sourceDocumentIds` | *string*[] | :heavy_minus_sign: | Document IDs that grounded the suggestion. | \ No newline at end of file diff --git a/docs/models/components/collection.md b/docs/models/components/collection.md index 316d5004..012fb716 100644 --- a/docs/models/components/collection.md +++ b/docs/models/components/collection.md @@ -331,6 +331,7 @@ let value: Collection = { | `thumbnail` | [components.Thumbnail](../../models/components/thumbnail.md) | :heavy_minus_sign: | N/A | | | `allowedDatasource` | *string* | :heavy_minus_sign: | The datasource type this Collection can hold. | | | `permissions` | [components.ObjectPermissions](../../models/components/objectpermissions.md) | :heavy_minus_sign: | N/A | | +| `trackingToken` | *string* | :heavy_minus_sign: | An opaque token that represents this particular UGC. To be used for `/feedback` reporting. | | | `id` | *number* | :heavy_check_mark: | The unique ID of the Collection. | | | `createTime` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A | | | `updateTime` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A | | diff --git a/docs/models/components/collectionerrorerrorcode.md b/docs/models/components/collectionerrorerrorcode.md index cf1798f2..b0833611 100644 --- a/docs/models/components/collectionerrorerrorcode.md +++ b/docs/models/components/collectionerrorerrorcode.md @@ -5,7 +5,7 @@ ```typescript import { CollectionErrorErrorCode } from "@gleanwork/api-client/models/components"; -let value: CollectionErrorErrorCode = "WIDTH_VIOLATION"; +let value: CollectionErrorErrorCode = "NO_PERMISSIONS"; // Open enum: unrecognized values are captured as Unrecognized ``` @@ -13,5 +13,5 @@ let value: CollectionErrorErrorCode = "WIDTH_VIOLATION"; ## Values ```typescript -"NAME_EXISTS" | "NOT_FOUND" | "COLLECTION_PINNED" | "CONCURRENT_HIERARCHY_EDIT" | "HEIGHT_VIOLATION" | "WIDTH_VIOLATION" | "NO_PERMISSIONS" | Unrecognized +"NAME_EXISTS" | "NOT_FOUND" | "COLLECTION_PINNED" | "CONCURRENT_HIERARCHY_EDIT" | "HEIGHT_VIOLATION" | "WIDTH_VIOLATION" | "NO_PERMISSIONS" | "CORRUPT_ITEM" | Unrecognized ``` \ No newline at end of file diff --git a/docs/models/components/currentactiveusers.md b/docs/models/components/currentactiveusers.md index 2d32c16f..8f894c29 100644 --- a/docs/models/components/currentactiveusers.md +++ b/docs/models/components/currentactiveusers.md @@ -10,7 +10,7 @@ let value: CurrentActiveUsers = {}; ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | -| `monthlyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Monthly Active Users, in the specified departments. | -| `weeklyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Weekly Active Users, in the specified departments. | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `monthlyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Monthly Active Users. | +| `weeklyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Weekly Active Users. | \ No newline at end of file diff --git a/docs/models/components/custommetadatapropertydefinition.md b/docs/models/components/custommetadatapropertydefinition.md new file mode 100644 index 00000000..e232e4a0 --- /dev/null +++ b/docs/models/components/custommetadatapropertydefinition.md @@ -0,0 +1,22 @@ +# CustomMetadataPropertyDefinition + +The definition for a key within a Custom Metadata schema. Only the fields applicable to Custom Metadata are exposed. + +## Example Usage + +```typescript +import { CustomMetadataPropertyDefinition } from "@gleanwork/api-client/models/components"; + +let value: CustomMetadataPropertyDefinition = { + name: "", + propertyType: "PICKLIST", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The name of the metadata key. | +| `propertyType` | [components.CustomMetadataPropertyDefinitionPropertyType](../../models/components/custommetadatapropertydefinitionpropertytype.md) | :heavy_check_mark: | The type of metadata key. This governs the search and faceting behavior. | +| `skipIndexing` | *boolean* | :heavy_minus_sign: | If true then the property will not be indexed for retrieval and ranking. | \ No newline at end of file diff --git a/docs/models/components/custommetadatapropertydefinitionpropertytype.md b/docs/models/components/custommetadatapropertydefinitionpropertytype.md new file mode 100644 index 00000000..6cd3bcf0 --- /dev/null +++ b/docs/models/components/custommetadatapropertydefinitionpropertytype.md @@ -0,0 +1,19 @@ +# CustomMetadataPropertyDefinitionPropertyType + +The type of metadata key. This governs the search and faceting behavior. + +## Example Usage + +```typescript +import { CustomMetadataPropertyDefinitionPropertyType } from "@gleanwork/api-client/models/components"; + +let value: CustomMetadataPropertyDefinitionPropertyType = "MULTIPICKLIST"; + +// Open enum: unrecognized values are captured as Unrecognized +``` + +## Values + +```typescript +"TEXT" | "PICKLIST" | "TEXTLIST" | "MULTIPICKLIST" | Unrecognized +``` \ No newline at end of file diff --git a/docs/models/components/custommetadataputrequest.md b/docs/models/components/custommetadataputrequest.md new file mode 100644 index 00000000..f077b3f5 --- /dev/null +++ b/docs/models/components/custommetadataputrequest.md @@ -0,0 +1,21 @@ +# CustomMetadataPutRequest + +Request body for adding or updating custom metadata on a document + +## Example Usage + +```typescript +import { CustomMetadataPutRequest } from "@gleanwork/api-client/models/components"; + +let value: CustomMetadataPutRequest = { + customMetadata: [ + {}, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `customMetadata` | [components.CustomProperty](../../models/components/customproperty.md)[] | :heavy_check_mark: | Array of custom metadata key-value pairs | \ No newline at end of file diff --git a/docs/models/components/custommetadataschema.md b/docs/models/components/custommetadataschema.md new file mode 100644 index 00000000..b32b18ba --- /dev/null +++ b/docs/models/components/custommetadataschema.md @@ -0,0 +1,19 @@ +# CustomMetadataSchema + +Schema for custom metadata containing metadata key definitions + +## Example Usage + +```typescript +import { CustomMetadataSchema } from "@gleanwork/api-client/models/components"; + +let value: CustomMetadataSchema = { + metadataKeys: [], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `metadataKeys` | [components.CustomMetadataPropertyDefinition](../../models/components/custommetadatapropertydefinition.md)[] | :heavy_check_mark: | Array of metadata key definitions | \ No newline at end of file diff --git a/docs/models/components/datasourcecredentialstatus.md b/docs/models/components/datasourcecredentialstatus.md new file mode 100644 index 00000000..39507107 --- /dev/null +++ b/docs/models/components/datasourcecredentialstatus.md @@ -0,0 +1,20 @@ +# DatasourceCredentialStatus + +Lifecycle state of the credentials installed for a datasource instance. Mirrors the internal admin Status enum so the handler can surface the same health signals already tracked today. EXPIRING_SOON is represented as VALID_WITH_WARNINGS (with detail in `message`); EXPIRED is surfaced as INVALID plus a non-null `expiresAt` in the past. + + +## Example Usage + +```typescript +import { DatasourceCredentialStatus } from "@gleanwork/api-client/models/components"; + +let value: DatasourceCredentialStatus = "MISSING"; + +// Open enum: unrecognized values are captured as Unrecognized +``` + +## Values + +```typescript +"VALID" | "VALID_WITH_WARNINGS" | "VALIDATING" | "INVALID" | "MISSING" | Unrecognized +``` \ No newline at end of file diff --git a/docs/models/components/datasourcecredentialstatusresponse.md b/docs/models/components/datasourcecredentialstatusresponse.md new file mode 100644 index 00000000..d1c48c7a --- /dev/null +++ b/docs/models/components/datasourcecredentialstatusresponse.md @@ -0,0 +1,22 @@ +# DatasourceCredentialStatusResponse + +Status of the credentials currently installed for a datasource instance. + +## Example Usage + +```typescript +import { DatasourceCredentialStatusResponse } from "@gleanwork/api-client/models/components"; + +let value: DatasourceCredentialStatusResponse = { + status: "VALID_WITH_WARNINGS", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `status` | [components.DatasourceCredentialStatus](../../models/components/datasourcecredentialstatus.md) | :heavy_check_mark: | Lifecycle state of the credentials installed for a datasource instance. Mirrors the internal admin Status enum so the handler can surface the same health signals already tracked today. EXPIRING_SOON is represented as VALID_WITH_WARNINGS (with detail in `message`); EXPIRED is surfaced as INVALID plus a non-null `expiresAt` in the past.
| +| `lastRotatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | When the credentials were last rotated. Omitted when not known. | +| `expiresAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | When the active credentials expire. Omitted when not known or not applicable to this credential type.
| +| `message` | *string* | :heavy_minus_sign: | Optional human-readable detail about the current credential status. | \ No newline at end of file diff --git a/docs/models/components/debugdocumentlifecyclerequest.md b/docs/models/components/debugdocumentlifecyclerequest.md new file mode 100644 index 00000000..86bb190a --- /dev/null +++ b/docs/models/components/debugdocumentlifecyclerequest.md @@ -0,0 +1,25 @@ +# DebugDocumentLifecycleRequest + +Describes the request body of the /debug/{datasource}/document/events API call. + +## Example Usage + +```typescript +import { DebugDocumentLifecycleRequest } from "@gleanwork/api-client/models/components"; + +let value: DebugDocumentLifecycleRequest = { + objectType: "Article", + docId: "art123", + startDate: "2025-05-01", + maxEvents: 50, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `objectType` | *string* | :heavy_check_mark: | Object type of the document to get lifecycle events for. | Article | +| `docId` | *string* | :heavy_check_mark: | Glean Document ID within the datasource to get lifecycle events for. | art123 | +| `startDate` | *string* | :heavy_minus_sign: | The start date for events to be fetched. Cannot be more than 30 days (default 7 days) in the past. | 2025-05-01 | +| `maxEvents` | *number* | :heavy_minus_sign: | Max number of events to be fetched. Cannot be more than 100 (default 20). | 50 | \ No newline at end of file diff --git a/docs/models/components/debugdocumentlifecycleresponse.md b/docs/models/components/debugdocumentlifecycleresponse.md new file mode 100644 index 00000000..3ec6eff6 --- /dev/null +++ b/docs/models/components/debugdocumentlifecycleresponse.md @@ -0,0 +1,24 @@ +# DebugDocumentLifecycleResponse + +Describes the response body of the /debug/{datasource}/document/events API call + +## Example Usage + +```typescript +import { DebugDocumentLifecycleResponse } from "@gleanwork/api-client/models/components"; + +let value: DebugDocumentLifecycleResponse = { + lifeCycleEvents: [ + { + event: "INDEXED", + timestamp: "2021-08-06T17:58:01.000Z", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `lifeCycleEvents` | [components.LifeCycleEvent](../../models/components/lifecycleevent.md)[] | :heavy_minus_sign: | List of lifecycle events corresponding to the document | \ No newline at end of file diff --git a/docs/models/components/editcollectionresponse.md b/docs/models/components/editcollectionresponse.md index 4f136cba..96f8f44c 100644 --- a/docs/models/components/editcollectionresponse.md +++ b/docs/models/components/editcollectionresponse.md @@ -391,6 +391,7 @@ let value: EditCollectionResponse = { | `thumbnail` | [components.Thumbnail](../../models/components/thumbnail.md) | :heavy_minus_sign: | N/A | | | `allowedDatasource` | *string* | :heavy_minus_sign: | The datasource type this Collection can hold. | | | `permissions` | [components.ObjectPermissions](../../models/components/objectpermissions.md) | :heavy_minus_sign: | N/A | | +| `trackingToken` | *string* | :heavy_minus_sign: | An opaque token that represents this particular UGC. To be used for `/feedback` reporting. | | | `id` | *number* | :heavy_check_mark: | The unique ID of the Collection. | | | `createTime` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A | | | `updateTime` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | N/A | | diff --git a/docs/models/components/editcollectionresponseerrorcode.md b/docs/models/components/editcollectionresponseerrorcode.md index 60b562b8..3c570bfa 100644 --- a/docs/models/components/editcollectionresponseerrorcode.md +++ b/docs/models/components/editcollectionresponseerrorcode.md @@ -13,5 +13,5 @@ let value: EditCollectionResponseErrorCode = "COLLECTION_PINNED"; ## Values ```typescript -"NAME_EXISTS" | "NOT_FOUND" | "COLLECTION_PINNED" | "CONCURRENT_HIERARCHY_EDIT" | "HEIGHT_VIOLATION" | "WIDTH_VIOLATION" | "NO_PERMISSIONS" | Unrecognized +"NAME_EXISTS" | "NOT_FOUND" | "COLLECTION_PINNED" | "CONCURRENT_HIERARCHY_EDIT" | "HEIGHT_VIOLATION" | "WIDTH_VIOLATION" | "NO_PERMISSIONS" | "CORRUPT_ITEM" | Unrecognized ``` \ No newline at end of file diff --git a/docs/models/components/editworkflowrequest.md b/docs/models/components/editworkflowrequest.md new file mode 100644 index 00000000..98f06235 --- /dev/null +++ b/docs/models/components/editworkflowrequest.md @@ -0,0 +1,16 @@ +# EditWorkflowRequest + +## Example Usage + +```typescript +import { EditWorkflowRequest } from "@gleanwork/api-client/models/components"; + +let value: EditWorkflowRequest = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | +| `name` | *string* | :heavy_minus_sign: | The name of the workflow. | +| `id` | *string* | :heavy_minus_sign: | The workflow ID we want to update. | \ No newline at end of file diff --git a/docs/models/components/feedback.md b/docs/models/components/feedback.md index 2631929f..65cbffb4 100644 --- a/docs/models/components/feedback.md +++ b/docs/models/components/feedback.md @@ -20,7 +20,7 @@ let value: Feedback = { | `id` | *string* | :heavy_minus_sign: | 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` | [components.FeedbackCategory](../../models/components/feedbackcategory.md) | :heavy_minus_sign: | 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` | *string*[] | :heavy_check_mark: | A list of server-generated trackingTokens to which this event applies. | -| `event` | [components.Event](../../models/components/event.md) | :heavy_check_mark: | The action the user took within a Glean client with respect to the object referred to by the given `trackingToken`. | +| `event` | [components.FeedbackEvent](../../models/components/feedbackevent.md) | :heavy_check_mark: | The action the user took within a Glean client with respect to the object referred to by the given `trackingToken`. | | `position` | *number* | :heavy_minus_sign: | Position of the element in the case that the client controls order (such as feed and autocomplete). | | `payload` | *string* | :heavy_minus_sign: | 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` | [components.SessionInfo](../../models/components/sessioninfo.md) | :heavy_minus_sign: | N/A | diff --git a/docs/models/components/feedbackcategory.md b/docs/models/components/feedbackcategory.md index 8a570d64..71753859 100644 --- a/docs/models/components/feedbackcategory.md +++ b/docs/models/components/feedbackcategory.md @@ -7,11 +7,11 @@ The feature category to which the feedback applies. These should be broad produc ```typescript import { FeedbackCategory } from "@gleanwork/api-client/models/components"; -let value: FeedbackCategory = "CHAT"; +let value: FeedbackCategory = "SEARCH"; ``` ## Values ```typescript -"ANNOUNCEMENT" | "AUTOCOMPLETE" | "COLLECTIONS" | "FEED" | "SEARCH" | "CHAT" | "NTP" | "WORKFLOWS" | "SUMMARY" | "GENERAL" | "PRISM" | "PROMPTS" +"ANNOUNCEMENT" | "ANSWERS" | "ARTIFACTS" | "AUTOCOMPLETE" | "COLLECTIONS" | "FEED" | "SEARCH" | "CHAT" | "NTP" | "WORKFLOWS" | "SUMMARY" | "GENERAL" | "PRISM" | "PROMPTS" ``` \ No newline at end of file diff --git a/docs/models/components/event.md b/docs/models/components/feedbackevent.md similarity index 83% rename from docs/models/components/event.md rename to docs/models/components/feedbackevent.md index bcf12102..edb35b80 100644 --- a/docs/models/components/event.md +++ b/docs/models/components/feedbackevent.md @@ -1,13 +1,13 @@ -# Event +# FeedbackEvent The action the user took within a Glean client with respect to the object referred to by the given `trackingToken`. ## Example Usage ```typescript -import { Event } from "@gleanwork/api-client/models/components"; +import { FeedbackEvent } from "@gleanwork/api-client/models/components"; -let value: Event = "COPY_LINK"; +let value: FeedbackEvent = "EXECUTE"; ``` ## Values diff --git a/docs/models/components/feedentry.md b/docs/models/components/feedentry.md index c9839821..5e977f3f 100644 --- a/docs/models/components/feedentry.md +++ b/docs/models/components/feedentry.md @@ -569,6 +569,10 @@ let value: FeedEntry = { name: "George Clooney", obfuscatedId: "abc123", }, + lastDraftSavedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, lastUpdatedBy: { name: "George Clooney", obfuscatedId: "abc123", diff --git a/docs/models/components/feedrequestcategory.md b/docs/models/components/feedrequestcategory.md index 0cc0b1f7..998c78d9 100644 --- a/docs/models/components/feedrequestcategory.md +++ b/docs/models/components/feedrequestcategory.md @@ -5,11 +5,11 @@ ```typescript import { FeedRequestCategory } from "@gleanwork/api-client/models/components"; -let value: FeedRequestCategory = "ZERO_STATE_WORKFLOW_RECENT"; +let value: FeedRequestCategory = "DAILY_DIGEST"; ``` ## Values ```typescript -"DOCUMENT_SUGGESTION" | "DOCUMENT_SUGGESTION_SCENARIO" | "TRENDING_DOCUMENT" | "VERIFICATION_REMINDER" | "EVENT" | "ANNOUNCEMENT" | "MENTION" | "DATASOURCE_AFFINITY" | "RECENT" | "COMPANY_RESOURCE" | "EXPERIMENTAL" | "PEOPLE_CELEBRATIONS" | "DISPLAYABLE_LIST" | "SOCIAL_LINK" | "EXTERNAL_TASKS" | "WORKFLOW_COLLECTIONS" | "ZERO_STATE_CHAT_SUGGESTION" | "ZERO_STATE_CHAT_TOOL_SUGGESTION" | "ZERO_STATE_WORKFLOW_CREATED_BY_ME" | "ZERO_STATE_WORKFLOW_FAVORITES" | "ZERO_STATE_WORKFLOW_POPULAR" | "ZERO_STATE_WORKFLOW_RECENT" | "ZERO_STATE_WORKFLOW_SUGGESTION" | "PERSONALIZED_CHAT_SUGGESTION" | "DAILY_DIGEST" | "TASK" | "PLAN_MY_DAY" | "END_MY_DAY" | "STARTER_KIT" | "MID_DAY_CATCH_UP" | "QUERY_SUGGESTION" | "WEEKLY_MEETINGS" | "FOLLOW_UP" | "MILESTONE_TIMELINE_CHECK" | "PROJECT_DISCUSSION_DIGEST" | "PROJECT_NEXT_STEP" +"DOCUMENT_SUGGESTION" | "DOCUMENT_SUGGESTION_SCENARIO" | "TRENDING_DOCUMENT" | "VERIFICATION_REMINDER" | "EVENT" | "ANNOUNCEMENT" | "MENTION" | "DATASOURCE_AFFINITY" | "RECENT" | "COMPANY_RESOURCE" | "EXPERIMENTAL" | "PEOPLE_CELEBRATIONS" | "DISPLAYABLE_LIST" | "SOCIAL_LINK" | "EXTERNAL_TASKS" | "WORKFLOW_COLLECTIONS" | "ZERO_STATE_CHAT_SUGGESTION" | "ZERO_STATE_CHAT_TOOL_SUGGESTION" | "ZERO_STATE_WORKFLOW_CREATED_BY_ME" | "ZERO_STATE_WORKFLOW_FAVORITES" | "ZERO_STATE_WORKFLOW_POPULAR" | "ZERO_STATE_WORKFLOW_RECENT" | "ZERO_STATE_WORKFLOW_SUGGESTION" | "PERSONALIZED_CHAT_SUGGESTION" | "DAILY_DIGEST" | "TASK" | "PLAN_MY_DAY" | "END_MY_DAY" | "STARTER_KIT" | "MID_DAY_CATCH_UP" | "QUERY_SUGGESTION" | "COWORK_CUJ_PROMO" | "WEEKLY_MEETINGS" | "FOLLOW_UP" | "MILESTONE_TIMELINE_CHECK" | "PROJECT_DISCUSSION_DIGEST" | "PROJECT_FOCUS_BLOCK" | "PROJECT_NEXT_STEP" | "DEMO_CARD" | "OOO_PLANNER" | "OOO_CATCH_UP" ``` \ No newline at end of file diff --git a/docs/models/components/feedresponse.md b/docs/models/components/feedresponse.md index a10a3370..e33494ed 100644 --- a/docs/models/components/feedresponse.md +++ b/docs/models/components/feedresponse.md @@ -9,7 +9,7 @@ let value: FeedResponse = { serverTimestamp: 603266, results: [ { - category: "VERIFICATION_REMINDER", + category: "EVENT", primaryEntry: { title: "", createdBy: { @@ -574,6 +574,10 @@ let value: FeedResponse = { name: "George Clooney", obfuscatedId: "abc123", }, + lastDraftSavedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, lastUpdatedBy: { name: "George Clooney", obfuscatedId: "abc123", @@ -1154,6 +1158,10 @@ let value: FeedResponse = { name: "George Clooney", obfuscatedId: "abc123", }, + lastDraftSavedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, lastUpdatedBy: { name: "George Clooney", obfuscatedId: "abc123", diff --git a/docs/models/components/feedresult.md b/docs/models/components/feedresult.md index df1ceb6a..a1891dca 100644 --- a/docs/models/components/feedresult.md +++ b/docs/models/components/feedresult.md @@ -6,7 +6,7 @@ import { FeedResult } from "@gleanwork/api-client/models/components"; let value: FeedResult = { - category: "END_MY_DAY", + category: "COWORK_CUJ_PROMO", primaryEntry: { title: "", createdBy: { @@ -571,6 +571,10 @@ let value: FeedResult = { name: "George Clooney", obfuscatedId: "abc123", }, + lastDraftSavedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, lastUpdatedBy: { name: "George Clooney", obfuscatedId: "abc123", @@ -1151,6 +1155,10 @@ let value: FeedResult = { name: "George Clooney", obfuscatedId: "abc123", }, + lastDraftSavedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, lastUpdatedBy: { name: "George Clooney", obfuscatedId: "abc123", diff --git a/docs/models/components/feedresultcategory.md b/docs/models/components/feedresultcategory.md index bcb075ed..19019e17 100644 --- a/docs/models/components/feedresultcategory.md +++ b/docs/models/components/feedresultcategory.md @@ -7,7 +7,7 @@ Category of the result, one of the requested categories in incoming request. ```typescript import { FeedResultCategory } from "@gleanwork/api-client/models/components"; -let value: FeedResultCategory = "DAILY_DIGEST"; +let value: FeedResultCategory = "END_MY_DAY"; // Open enum: unrecognized values are captured as Unrecognized ``` @@ -15,5 +15,5 @@ let value: FeedResultCategory = "DAILY_DIGEST"; ## Values ```typescript -"DOCUMENT_SUGGESTION" | "DOCUMENT_SUGGESTION_SCENARIO" | "TRENDING_DOCUMENT" | "USE_CASE" | "VERIFICATION_REMINDER" | "EVENT" | "ANNOUNCEMENT" | "MENTION" | "DATASOURCE_AFFINITY" | "RECENT" | "COMPANY_RESOURCE" | "EXPERIMENTAL" | "PEOPLE_CELEBRATIONS" | "SOCIAL_LINK" | "EXTERNAL_TASKS" | "DISPLAYABLE_LIST" | "ZERO_STATE_CHAT_SUGGESTION" | "ZERO_STATE_CHAT_TOOL_SUGGESTION" | "ZERO_STATE_WORKFLOW_CREATED_BY_ME" | "ZERO_STATE_WORKFLOW_FAVORITES" | "ZERO_STATE_WORKFLOW_POPULAR" | "ZERO_STATE_WORKFLOW_RECENT" | "ZERO_STATE_WORKFLOW_SUGGESTION" | "PERSONALIZED_CHAT_SUGGESTION" | "DAILY_DIGEST" | "TASK" | "PLAN_MY_DAY" | "END_MY_DAY" | "STARTER_KIT" | "MID_DAY_CATCH_UP" | "QUERY_SUGGESTION" | "WEEKLY_MEETINGS" | "FOLLOW_UP" | "MILESTONE_TIMELINE_CHECK" | "PROJECT_DISCUSSION_DIGEST" | "PROJECT_NEXT_STEP" | Unrecognized +"DOCUMENT_SUGGESTION" | "DOCUMENT_SUGGESTION_SCENARIO" | "TRENDING_DOCUMENT" | "USE_CASE" | "VERIFICATION_REMINDER" | "EVENT" | "ANNOUNCEMENT" | "MENTION" | "DATASOURCE_AFFINITY" | "RECENT" | "COMPANY_RESOURCE" | "EXPERIMENTAL" | "PEOPLE_CELEBRATIONS" | "SOCIAL_LINK" | "EXTERNAL_TASKS" | "DISPLAYABLE_LIST" | "ZERO_STATE_CHAT_SUGGESTION" | "ZERO_STATE_CHAT_TOOL_SUGGESTION" | "ZERO_STATE_WORKFLOW_CREATED_BY_ME" | "ZERO_STATE_WORKFLOW_FAVORITES" | "ZERO_STATE_WORKFLOW_POPULAR" | "ZERO_STATE_WORKFLOW_RECENT" | "ZERO_STATE_WORKFLOW_SUGGESTION" | "PERSONALIZED_CHAT_SUGGESTION" | "DAILY_DIGEST" | "TASK" | "PLAN_MY_DAY" | "END_MY_DAY" | "STARTER_KIT" | "MID_DAY_CATCH_UP" | "QUERY_SUGGESTION" | "COWORK_CUJ_PROMO" | "WEEKLY_MEETINGS" | "FOLLOW_UP" | "MILESTONE_TIMELINE_CHECK" | "PROJECT_DISCUSSION_DIGEST" | "PROJECT_FOCUS_BLOCK" | "PROJECT_NEXT_STEP" | "DEMO_CARD" | "OOO_PLANNER" | "OOO_CATCH_UP" | Unrecognized ``` \ No newline at end of file diff --git a/docs/models/components/getcollectionresponse.md b/docs/models/components/getcollectionresponse.md index 17ae1cdd..56b6d529 100644 --- a/docs/models/components/getcollectionresponse.md +++ b/docs/models/components/getcollectionresponse.md @@ -379,9 +379,9 @@ let value: GetCollectionResponse = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -| `collection` | [components.Collection](../../models/components/collection.md) | :heavy_minus_sign: | N/A | -| `rootCollection` | [components.Collection](../../models/components/collection.md) | :heavy_minus_sign: | N/A | -| `trackingToken` | *string* | :heavy_minus_sign: | An opaque token that represents this particular Collection. To be used for `/feedback` reporting. | -| `error` | [components.CollectionError](../../models/components/collectionerror.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `collection` | [components.Collection](../../models/components/collection.md) | :heavy_minus_sign: | N/A | +| `rootCollection` | [components.Collection](../../models/components/collection.md) | :heavy_minus_sign: | N/A | +| `error` | [components.CollectionError](../../models/components/collectionerror.md) | :heavy_minus_sign: | N/A | +| ~~`trackingToken`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: Deprecated on 2026-05-07, removal scheduled for 2027-01-15: Use `collection.trackingToken` instead..

Use `collection.trackingToken` instead. | \ No newline at end of file diff --git a/docs/models/components/insightsassistantrequest.md b/docs/models/components/insightsassistantrequest.md index f160246a..aa13b51e 100644 --- a/docs/models/components/insightsassistantrequest.md +++ b/docs/models/components/insightsassistantrequest.md @@ -10,7 +10,8 @@ let value: InsightsAssistantRequest = {}; ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `departments` | *string*[] | :heavy_minus_sign: | Departments for which Insights are requested. | -| `dayRange` | [components.Period](../../models/components/period.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `departments` | *string*[] | :heavy_minus_sign: | Departments for which Insights are requested. | +| `managerEmails` | *string*[] | :heavy_minus_sign: | Manager emails whose teams should be filtered for. Empty array means no filtering. | +| `dayRange` | [components.Period](../../models/components/period.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/insightschatsummary.md b/docs/models/components/insightschatsummary.md index 181c8d1d..22ec6e6f 100644 --- a/docs/models/components/insightschatsummary.md +++ b/docs/models/components/insightschatsummary.md @@ -12,7 +12,7 @@ let value: InsightsChatSummary = {}; | Field | Type | Required | Description | | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `monthlyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Monthly Active Users, in the specified departments. | -| `weeklyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Weekly Active Users, in the specified departments. | +| `monthlyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Monthly Active Users. | +| `weeklyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Weekly Active Users. | | `numChats` | *number* | :heavy_minus_sign: | Total number of chats by users over the specified time period. | | `numChatUsers` | *number* | :heavy_minus_sign: | Total number of distinct users who used Chat over the specified time period. | \ No newline at end of file diff --git a/docs/models/components/insightsoverviewrequest.md b/docs/models/components/insightsoverviewrequest.md index 7a3b36ec..46e1535e 100644 --- a/docs/models/components/insightsoverviewrequest.md +++ b/docs/models/components/insightsoverviewrequest.md @@ -10,7 +10,8 @@ let value: InsightsOverviewRequest = {}; ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `departments` | *string*[] | :heavy_minus_sign: | Departments for which Insights are requested. | -| `dayRange` | [components.Period](../../models/components/period.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `departments` | *string*[] | :heavy_minus_sign: | Departments for which Insights are requested. | +| `managerEmails` | *string*[] | :heavy_minus_sign: | Manager emails whose teams should be filtered for. Empty array means no filtering. | +| `dayRange` | [components.Period](../../models/components/period.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/insightsoverviewresponse.md b/docs/models/components/insightsoverviewresponse.md index b6e0bc2e..51be516e 100644 --- a/docs/models/components/insightsoverviewresponse.md +++ b/docs/models/components/insightsoverviewresponse.md @@ -19,37 +19,42 @@ let value: InsightsOverviewResponse = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `monthlyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Monthly Active Users, in the specified departments. | -| `weeklyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Weekly Active Users, in the specified departments. | -| `departments` | *string*[] | :heavy_minus_sign: | Department name(s). | -| `employeeCount` | *number* | :heavy_minus_sign: | Number of current employees in the specified departments, according to the Org Chart. | -| `totalSignups` | *number* | :heavy_minus_sign: | Number of current signed up employees in the specified departments, according to the Org Chart. | -| `searchSummary` | [components.InsightsSearchSummary](../../models/components/insightssearchsummary.md) | :heavy_minus_sign: | N/A | -| `chatSummary` | [components.InsightsChatSummary](../../models/components/insightschatsummary.md) | :heavy_minus_sign: | N/A | -| `searchActiveUsers` | [components.CurrentActiveUsers](../../models/components/currentactiveusers.md) | :heavy_minus_sign: | N/A | -| `assistantActiveUsers` | [components.CurrentActiveUsers](../../models/components/currentactiveusers.md) | :heavy_minus_sign: | N/A | -| `agentsActiveUsers` | [components.CurrentActiveUsers](../../models/components/currentactiveusers.md) | :heavy_minus_sign: | N/A | -| `extensionSummary` | [components.CurrentActiveUsers](../../models/components/currentactiveusers.md) | :heavy_minus_sign: | N/A | -| `ugcSummary` | [components.CurrentActiveUsers](../../models/components/currentactiveusers.md) | :heavy_minus_sign: | N/A | -| `lastUpdatedTs` | *number* | :heavy_minus_sign: | Unix timestamp of the last update for the insights data in the response. | -| `searchSessionSatisfaction` | *number* | :heavy_minus_sign: | Search session satisfaction rate, over the specified time period in the specified departments. | -| `monthlyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | -| `weeklyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | -| `dailyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | -| `searchMonthlyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | -| `searchWeeklyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | -| `searchDailyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | -| `assistantMonthlyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | -| `assistantWeeklyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | -| `assistantDailyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | -| `agentsMonthlyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | -| `agentsWeeklyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | -| `agentsDailyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | -| `searchesTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | -| `assistantInteractionsTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | -| `agentRunsTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | -| `searchDatasourceCounts` | Record | :heavy_minus_sign: | Counts of search result clicks, by datasource, over the specified time period in the specified departments. | -| `chatDatasourceCounts` | Record | :heavy_minus_sign: | Counts of cited documents in chat, by datasource, over the specified time period in the specified departments. | -| `perUserInsights` | [components.PerUserInsight](../../models/components/peruserinsight.md)[] | :heavy_minus_sign: | 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. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `monthlyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Monthly Active Users. | +| `weeklyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Weekly Active Users. | +| `departments` | *string*[] | :heavy_minus_sign: | Department name(s). | +| `employeeCount` | *number* | :heavy_minus_sign: | Number of current employees in the specified departments, according to the Org Chart. | +| `totalSignups` | *number* | :heavy_minus_sign: | Number of current signed up employees in the specified departments, according to the Org Chart. | +| `searchSummary` | [components.InsightsSearchSummary](../../models/components/insightssearchsummary.md) | :heavy_minus_sign: | N/A | +| `chatSummary` | [components.InsightsChatSummary](../../models/components/insightschatsummary.md) | :heavy_minus_sign: | N/A | +| `searchActiveUsers` | [components.CurrentActiveUsers](../../models/components/currentactiveusers.md) | :heavy_minus_sign: | N/A | +| `assistantActiveUsers` | [components.CurrentActiveUsers](../../models/components/currentactiveusers.md) | :heavy_minus_sign: | N/A | +| `agentsActiveUsers` | [components.CurrentActiveUsers](../../models/components/currentactiveusers.md) | :heavy_minus_sign: | N/A | +| `mcpActiveUsers` | [components.CurrentActiveUsers](../../models/components/currentactiveusers.md) | :heavy_minus_sign: | N/A | +| `extensionSummary` | [components.CurrentActiveUsers](../../models/components/currentactiveusers.md) | :heavy_minus_sign: | N/A | +| `ugcSummary` | [components.CurrentActiveUsers](../../models/components/currentactiveusers.md) | :heavy_minus_sign: | N/A | +| `lastUpdatedTs` | *number* | :heavy_minus_sign: | Unix timestamp of the last update for the insights data in the response. | +| ~~`searchSessionSatisfaction`~~ | *number* | :heavy_minus_sign: | : warning: ** DEPRECATED **: Deprecated on 2026-05-13, removal scheduled for 2027-01-15: This property is no longer supported. Please contact Support for alternatives..

Search session satisfaction rate, over the specified time period in the specified departments. | +| `monthlyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | +| `weeklyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | +| `dailyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | +| `searchMonthlyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | +| `searchWeeklyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | +| `searchDailyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | +| `assistantMonthlyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | +| `assistantWeeklyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | +| `assistantDailyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | +| `agentsMonthlyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | +| `agentsWeeklyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | +| `agentsDailyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | +| `mcpMonthlyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | +| `mcpWeeklyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | +| `mcpDailyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | +| `searchesTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | +| `assistantInteractionsTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | +| `agentRunsTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | +| `mcpCallsTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | +| `searchDatasourceCounts` | Record | :heavy_minus_sign: | Counts of search result clicks, by datasource, over the specified time period in the specified departments. | +| `chatDatasourceCounts` | Record | :heavy_minus_sign: | Counts of cited documents in chat, by datasource, over the specified time period in the specified departments. | +| `perUserInsights` | [components.PerUserInsight](../../models/components/peruserinsight.md)[] | :heavy_minus_sign: | 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. | \ No newline at end of file diff --git a/docs/models/components/insightsrequest.md b/docs/models/components/insightsrequest.md index c9aa5bed..e7768746 100644 --- a/docs/models/components/insightsrequest.md +++ b/docs/models/components/insightsrequest.md @@ -10,9 +10,11 @@ let value: InsightsRequest = {}; ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `overviewRequest` | [components.InsightsOverviewRequest](../../models/components/insightsoverviewrequest.md) | :heavy_minus_sign: | N/A | -| `assistantRequest` | [components.InsightsAssistantRequest](../../models/components/insightsassistantrequest.md) | :heavy_minus_sign: | N/A | -| `agentsRequest` | [components.AgentsInsightsV2Request](../../models/components/agentsinsightsv2request.md) | :heavy_minus_sign: | N/A | -| `disablePerUserInsights` | *boolean* | :heavy_minus_sign: | If true, suppresses the generation of per-user Insights in the response. Default is false. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `overviewRequest` | [components.InsightsOverviewRequest](../../models/components/insightsoverviewrequest.md) | :heavy_minus_sign: | N/A | +| `assistantRequest` | [components.InsightsAssistantRequest](../../models/components/insightsassistantrequest.md) | :heavy_minus_sign: | N/A | +| `agentsRequest` | [components.AgentsInsightsV2Request](../../models/components/agentsinsightsv2request.md) | :heavy_minus_sign: | N/A | +| `mcpRequest` | [components.McpInsightsRequest](../../models/components/mcpinsightsrequest.md) | :heavy_minus_sign: | N/A | +| `mcpBreakdownRequest` | [components.McpBreakdownInsightsRequest](../../models/components/mcpbreakdowninsightsrequest.md) | :heavy_minus_sign: | N/A | +| `disablePerUserInsights` | *boolean* | :heavy_minus_sign: | If true, suppresses the generation of per-user Insights in the response. Default is false. | \ No newline at end of file diff --git a/docs/models/components/insightsresponse.md b/docs/models/components/insightsresponse.md index e241b389..c3adc898 100644 --- a/docs/models/components/insightsresponse.md +++ b/docs/models/components/insightsresponse.md @@ -46,6 +46,20 @@ let value: InsightsResponse = { iconType: "GLYPH", name: "user", }, + owner: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + topUseCasesInsights: [ + { + topAgentIcon: { + color: "#343CED", + key: "person_icon", + iconType: "GLYPH", + name: "user", + }, }, ], agentsUsageByDepartmentInsights: [ @@ -77,14 +91,26 @@ let value: InsightsResponse = { }, ], }, + mcpBreakdownResponse: { + usersBreakdown: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `gleanAssist` | [components.GleanAssistInsightsResponse](../../models/components/gleanassistinsightsresponse.md) | :heavy_minus_sign: | N/A | -| `overviewResponse` | [components.InsightsOverviewResponse](../../models/components/insightsoverviewresponse.md) | :heavy_minus_sign: | N/A | -| `assistantResponse` | [components.AssistantInsightsResponse](../../models/components/assistantinsightsresponse.md) | :heavy_minus_sign: | N/A | -| `agentsResponse` | [components.AgentsInsightsV2Response](../../models/components/agentsinsightsv2response.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `gleanAssist` | [components.GleanAssistInsightsResponse](../../models/components/gleanassistinsightsresponse.md) | :heavy_minus_sign: | N/A | +| `overviewResponse` | [components.InsightsOverviewResponse](../../models/components/insightsoverviewresponse.md) | :heavy_minus_sign: | N/A | +| `assistantResponse` | [components.AssistantInsightsResponse](../../models/components/assistantinsightsresponse.md) | :heavy_minus_sign: | N/A | +| `agentsResponse` | [components.AgentsInsightsV2Response](../../models/components/agentsinsightsv2response.md) | :heavy_minus_sign: | N/A | +| `mcpResponse` | [components.McpInsightsResponse](../../models/components/mcpinsightsresponse.md) | :heavy_minus_sign: | N/A | +| `mcpBreakdownResponse` | [components.McpBreakdownInsightsResponse](../../models/components/mcpbreakdowninsightsresponse.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/insightssearchsummary.md b/docs/models/components/insightssearchsummary.md index 9c530585..871d4d28 100644 --- a/docs/models/components/insightssearchsummary.md +++ b/docs/models/components/insightssearchsummary.md @@ -12,7 +12,7 @@ let value: InsightsSearchSummary = {}; | Field | Type | Required | Description | | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -| `monthlyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Monthly Active Users, in the specified departments. | -| `weeklyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Weekly Active Users, in the specified departments. | +| `monthlyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Monthly Active Users. | +| `weeklyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Weekly Active Users. | | `numSearches` | *number* | :heavy_minus_sign: | Total number of searches by users over the specified time period. | | `numSearchUsers` | *number* | :heavy_minus_sign: | Total number of distinct users who searched over the specified time period. | \ No newline at end of file diff --git a/docs/models/components/justificationtype.md b/docs/models/components/justificationtype.md index f883e89b..ff2c4583 100644 --- a/docs/models/components/justificationtype.md +++ b/docs/models/components/justificationtype.md @@ -7,7 +7,7 @@ Type of the justification. ```typescript import { JustificationType } from "@gleanwork/api-client/models/components"; -let value: JustificationType = "PEOPLE_CELEBRATIONS"; +let value: JustificationType = "ZERO_STATE_CHAT_TOOL_SUGGESTION"; // Open enum: unrecognized values are captured as Unrecognized ``` @@ -15,5 +15,5 @@ let value: JustificationType = "PEOPLE_CELEBRATIONS"; ## Values ```typescript -"FREQUENTLY_ACCESSED" | "RECENTLY_ACCESSED" | "TRENDING_DOCUMENT" | "VERIFICATION_REMINDER" | "SUGGESTED_DOCUMENT" | "EMPTY_STATE_SUGGESTION" | "FRECENCY_SCORED" | "SERVER_GENERATED" | "USE_CASE" | "UPDATE_SINCE_LAST_VIEW" | "RECENTLY_STARTED" | "EVENT" | "USER_MENTION" | "ANNOUNCEMENT" | "EXTERNAL_ANNOUNCEMENT" | "POPULARITY_BASED_TRENDING" | "COMPANY_RESOURCE" | "EVENT_DOCUMENT_FROM_CONTENT" | "EVENT_DOCUMENT_FROM_SEARCH" | "VISIT_AFFINITY_SCORED" | "SUGGESTED_APP" | "SUGGESTED_PERSON" | "ACTIVITY_HIGHLIGHT" | "SAVED_SEARCH" | "SUGGESTED_CHANNEL" | "PEOPLE_CELEBRATIONS" | "SOCIAL_LINK" | "ZERO_STATE_CHAT_SUGGESTION" | "ZERO_STATE_CHAT_TOOL_SUGGESTION" | "ZERO_STATE_PROMPT_TEMPLATE_SUGGESTION" | "ZERO_STATE_STATIC_WORKFLOW_SUGGESTION" | "ZERO_STATE_AGENT_SUGGESTION" | "PERSONALIZED_CHAT_SUGGESTION" | "DAILY_DIGEST" | "TASK" | "PLAN_MY_DAY" | "END_MY_DAY" | "STARTER_KIT_EXTENSION" | "STARTER_KIT_ORG_CHART" | "STARTER_KIT_ADD_DOC" | "MEETING_RECAP" | "ACTIVE_DISCUSSION" | "MID_DAY_CATCH_UP" | "QUERY_SUGGESTION" | "WEEKLY_MEETINGS" | "FOLLOW_UP" | "MILESTONE_TIMELINE_CHECK" | "PROJECT_DISCUSSION_DIGEST" | "PROJECT_NEXT_STEP" | Unrecognized +"FREQUENTLY_ACCESSED" | "RECENTLY_ACCESSED" | "TRENDING_DOCUMENT" | "VERIFICATION_REMINDER" | "SUGGESTED_DOCUMENT" | "EMPTY_STATE_SUGGESTION" | "FRECENCY_SCORED" | "SERVER_GENERATED" | "USE_CASE" | "UPDATE_SINCE_LAST_VIEW" | "RECENTLY_STARTED" | "EVENT" | "USER_MENTION" | "ANNOUNCEMENT" | "EXTERNAL_ANNOUNCEMENT" | "POPULARITY_BASED_TRENDING" | "COMPANY_RESOURCE" | "EVENT_DOCUMENT_FROM_CONTENT" | "EVENT_DOCUMENT_FROM_SEARCH" | "VISIT_AFFINITY_SCORED" | "SUGGESTED_APP" | "SUGGESTED_PERSON" | "ACTIVITY_HIGHLIGHT" | "SAVED_SEARCH" | "SUGGESTED_CHANNEL" | "PEOPLE_CELEBRATIONS" | "SOCIAL_LINK" | "ZERO_STATE_CHAT_SUGGESTION" | "ZERO_STATE_CHAT_TOOL_SUGGESTION" | "ZERO_STATE_PROMPT_TEMPLATE_SUGGESTION" | "ZERO_STATE_STATIC_WORKFLOW_SUGGESTION" | "ZERO_STATE_AGENT_SUGGESTION" | "PERSONALIZED_CHAT_SUGGESTION" | "DAILY_DIGEST" | "TASK" | "PLAN_MY_DAY" | "END_MY_DAY" | "STARTER_KIT_EXTENSION" | "STARTER_KIT_ORG_CHART" | "STARTER_KIT_ADD_DOC" | "MEETING_RECAP" | "ACTIVE_DISCUSSION" | "MID_DAY_CATCH_UP" | "QUERY_SUGGESTION" | "COWORK_CUJ_PROMO" | "WEEKLY_MEETINGS" | "FOLLOW_UP" | "MILESTONE_TIMELINE_CHECK" | "PROJECT_DISCUSSION_DIGEST" | "PROJECT_FOCUS_BLOCK" | "PROJECT_NEXT_STEP" | "DEMO_CARD" | "OOO_PLANNER" | "OOO_CATCH_UP" | Unrecognized ``` \ No newline at end of file diff --git a/docs/models/components/lifecycleevent.md b/docs/models/components/lifecycleevent.md new file mode 100644 index 00000000..bcbc10bd --- /dev/null +++ b/docs/models/components/lifecycleevent.md @@ -0,0 +1,19 @@ +# LifeCycleEvent + +## Example Usage + +```typescript +import { LifeCycleEvent } from "@gleanwork/api-client/models/components"; + +let value: LifeCycleEvent = { + event: "INDEXED", + timestamp: "2021-08-06T17:58:01.000Z", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `event` | [components.LifeCycleEventEvent](../../models/components/lifecycleeventevent.md) | :heavy_minus_sign: | Type of event | INDEXED | +| `timestamp` | *string* | :heavy_minus_sign: | Timestamp of the event | 2021-08-06T17:58:01.000Z | \ No newline at end of file diff --git a/docs/models/components/lifecycleeventevent.md b/docs/models/components/lifecycleeventevent.md new file mode 100644 index 00000000..68444f13 --- /dev/null +++ b/docs/models/components/lifecycleeventevent.md @@ -0,0 +1,19 @@ +# LifeCycleEventEvent + +Type of event + +## Example Usage + +```typescript +import { LifeCycleEventEvent } from "@gleanwork/api-client/models/components"; + +let value: LifeCycleEventEvent = "INDEXED"; + +// Open enum: unrecognized values are captured as Unrecognized +``` + +## Values + +```typescript +"UPLOADED" | "INDEXED" | "DELETION_REQUESTED" | "DELETED" | Unrecognized +``` \ No newline at end of file diff --git a/docs/models/components/mcpbreakdowninsightsrequest.md b/docs/models/components/mcpbreakdowninsightsrequest.md new file mode 100644 index 00000000..dd325ee2 --- /dev/null +++ b/docs/models/components/mcpbreakdowninsightsrequest.md @@ -0,0 +1,22 @@ +# McpBreakdownInsightsRequest + +## Example Usage + +```typescript +import { McpBreakdownInsightsRequest } from "@gleanwork/api-client/models/components"; + +let value: McpBreakdownInsightsRequest = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `departments` | *string*[] | :heavy_minus_sign: | Departments for which Insights are requested. | +| `managerIds` | *string*[] | :heavy_minus_sign: | Manager user IDs whose teams should be filtered for. Empty array means no filtering. | +| `managerEmails` | *string*[] | :heavy_minus_sign: | Manager emails whose teams should be filtered for. Empty array means no filtering. | +| `dayRange` | [components.Period](../../models/components/period.md) | :heavy_minus_sign: | N/A | +| `breakdownType` | [components.BreakdownType](../../models/components/breakdowntype.md) | :heavy_minus_sign: | Type of breakdown to return. | +| `hostApplications` | *string*[] | :heavy_minus_sign: | Host applications to filter by. Empty array means all host applications. | +| `tools` | *string*[] | :heavy_minus_sign: | MCP tools to filter by. Empty array means all tools. | +| `servers` | *string*[] | :heavy_minus_sign: | MCP servers to filter by. Empty array means all servers. | \ No newline at end of file diff --git a/docs/models/components/mcpbreakdowninsightsresponse.md b/docs/models/components/mcpbreakdowninsightsresponse.md new file mode 100644 index 00000000..07347faf --- /dev/null +++ b/docs/models/components/mcpbreakdowninsightsresponse.md @@ -0,0 +1,27 @@ +# McpBreakdownInsightsResponse + +## Example Usage + +```typescript +import { McpBreakdownInsightsResponse } from "@gleanwork/api-client/models/components"; + +let value: McpBreakdownInsightsResponse = { + usersBreakdown: [ + { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `usersBreakdown` | [components.McpUserBreakdown](../../models/components/mcpuserbreakdown.md)[] | :heavy_minus_sign: | N/A | +| `hostApplicationsBreakdown` | [components.McpHostApplicationBreakdown](../../models/components/mcphostapplicationbreakdown.md)[] | :heavy_minus_sign: | N/A | +| `toolsBreakdown` | [components.McpToolBreakdown](../../models/components/mcptoolbreakdown.md)[] | :heavy_minus_sign: | N/A | +| `serversBreakdown` | [components.McpServerBreakdown](../../models/components/mcpserverbreakdown.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/mcphostapplicationbreakdown.md b/docs/models/components/mcphostapplicationbreakdown.md new file mode 100644 index 00000000..f1d07fb7 --- /dev/null +++ b/docs/models/components/mcphostapplicationbreakdown.md @@ -0,0 +1,17 @@ +# McpHostApplicationBreakdown + +## Example Usage + +```typescript +import { McpHostApplicationBreakdown } from "@gleanwork/api-client/models/components"; + +let value: McpHostApplicationBreakdown = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | +| `hostApplication` | *string* | :heavy_minus_sign: | Host application name. | +| `totalCalls` | *number* | :heavy_minus_sign: | Total number of MCP calls made from this host application in the specified time period. | +| `activeUsers` | *number* | :heavy_minus_sign: | Total number of active users from this host application in the specified time period. | \ No newline at end of file diff --git a/docs/models/components/mcpinsightsrequest.md b/docs/models/components/mcpinsightsrequest.md new file mode 100644 index 00000000..2aa774f2 --- /dev/null +++ b/docs/models/components/mcpinsightsrequest.md @@ -0,0 +1,18 @@ +# McpInsightsRequest + +## Example Usage + +```typescript +import { McpInsightsRequest } from "@gleanwork/api-client/models/components"; + +let value: McpInsightsRequest = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `departments` | *string*[] | :heavy_minus_sign: | Departments for which Insights are requested. | +| `managerIds` | *string*[] | :heavy_minus_sign: | Manager user IDs whose teams should be filtered for. Empty array means no filtering. | +| `managerEmails` | *string*[] | :heavy_minus_sign: | Manager emails whose teams should be filtered for. Empty array means no filtering. | +| `dayRange` | [components.Period](../../models/components/period.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/mcpinsightsresponse.md b/docs/models/components/mcpinsightsresponse.md new file mode 100644 index 00000000..f0f34f3e --- /dev/null +++ b/docs/models/components/mcpinsightsresponse.md @@ -0,0 +1,22 @@ +# McpInsightsResponse + +## Example Usage + +```typescript +import { McpInsightsResponse } from "@gleanwork/api-client/models/components"; + +let value: McpInsightsResponse = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `monthlyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Monthly Active Users. | +| `weeklyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Weekly Active Users. | +| `dailyActiveUsers` | *number* | :heavy_minus_sign: | Number of current Daily Active Users. | +| `monthlyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | +| `weeklyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | +| `dailyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | +| `overallDailyActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md) | :heavy_minus_sign: | N/A | +| `topHostApplicationsActiveUserTimeseries` | [components.LabeledCountInfo](../../models/components/labeledcountinfo.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/mcpserverbreakdown.md b/docs/models/components/mcpserverbreakdown.md new file mode 100644 index 00000000..84bee10e --- /dev/null +++ b/docs/models/components/mcpserverbreakdown.md @@ -0,0 +1,18 @@ +# McpServerBreakdown + +## Example Usage + +```typescript +import { McpServerBreakdown } from "@gleanwork/api-client/models/components"; + +let value: McpServerBreakdown = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `server` | *string* | :heavy_minus_sign: | MCP server name. | +| `totalCalls` | *number* | :heavy_minus_sign: | Total number of MCP calls for this server in the specified time period. | +| `activeUsers` | *number* | :heavy_minus_sign: | Total number of active users for this server in the specified time period. | +| `hostApplications` | *string*[] | :heavy_minus_sign: | Host applications using this server in the specified time period. | \ No newline at end of file diff --git a/docs/models/components/mcptoolbreakdown.md b/docs/models/components/mcptoolbreakdown.md new file mode 100644 index 00000000..57e37800 --- /dev/null +++ b/docs/models/components/mcptoolbreakdown.md @@ -0,0 +1,18 @@ +# McpToolBreakdown + +## Example Usage + +```typescript +import { McpToolBreakdown } from "@gleanwork/api-client/models/components"; + +let value: McpToolBreakdown = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `tool` | *string* | :heavy_minus_sign: | MCP tool name. | +| `totalCalls` | *number* | :heavy_minus_sign: | Total number of MCP calls for this tool in the specified time period. | +| `activeUsers` | *number* | :heavy_minus_sign: | Total number of active users for this tool in the specified time period. | +| `hostApplications` | *string*[] | :heavy_minus_sign: | Host applications using this tool in the specified time period. | \ No newline at end of file diff --git a/docs/models/components/mcpuserbreakdown.md b/docs/models/components/mcpuserbreakdown.md new file mode 100644 index 00000000..f07ae8de --- /dev/null +++ b/docs/models/components/mcpuserbreakdown.md @@ -0,0 +1,24 @@ +# McpUserBreakdown + +## Example Usage + +```typescript +import { McpUserBreakdown } from "@gleanwork/api-client/models/components"; + +let value: McpUserBreakdown = { + person: { + name: "George Clooney", + obfuscatedId: "abc123", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `person` | [components.Person](../../models/components/person.md) | :heavy_minus_sign: | N/A | {
"name": "George Clooney",
"obfuscatedId": "abc123"
} | +| `totalCalls` | *number* | :heavy_minus_sign: | Total number of MCP calls made by this user in the specified time period. | | +| `hostApplications` | *string*[] | :heavy_minus_sign: | Host applications used by this user in the specified time period. | | +| `tools` | *string*[] | :heavy_minus_sign: | MCP tools used by this user in the specified time period. | | +| `servers` | *string*[] | :heavy_minus_sign: | MCP servers used by this user in the specified time period. | | \ No newline at end of file diff --git a/docs/models/components/peragentinsight.md b/docs/models/components/peragentinsight.md index 59dd58f2..16818244 100644 --- a/docs/models/components/peragentinsight.md +++ b/docs/models/components/peragentinsight.md @@ -12,6 +12,10 @@ let value: PerAgentInsight = { iconType: "GLYPH", name: "user", }, + owner: { + name: "George Clooney", + obfuscatedId: "abc123", + }, }; ``` @@ -26,4 +30,5 @@ let value: PerAgentInsight = { | `userCount` | *number* | :heavy_minus_sign: | Total number of users for this agent over the specified time period. | | | `runCount` | *number* | :heavy_minus_sign: | Total number of runs for this agent over the specified time period. | | | `upvoteCount` | *number* | :heavy_minus_sign: | Total number of upvotes for this agent over the specified time period. | | -| `downvoteCount` | *number* | :heavy_minus_sign: | Total number of downvotes for this agent over the specified time period. | | \ No newline at end of file +| `downvoteCount` | *number* | :heavy_minus_sign: | Total number of downvotes for this agent over the specified time period. | | +| `owner` | [components.Person](../../models/components/person.md) | :heavy_minus_sign: | N/A | {
"name": "George Clooney",
"obfuscatedId": "abc123"
} | \ No newline at end of file diff --git a/docs/models/components/peruserinsight.md b/docs/models/components/peruserinsight.md index 027acc7a..b6f3e18e 100644 --- a/docs/models/components/peruserinsight.md +++ b/docs/models/components/peruserinsight.md @@ -25,4 +25,5 @@ let value: PerUserInsight = { | `numDaysActive` | *number* | :heavy_minus_sign: | Total number of days this user was an Active User over the specified time period. | | | `numSummarizations` | *number* | :heavy_minus_sign: | Total number of summarized items by this user over the specified time period. | | | `numAiAnswers` | *number* | :heavy_minus_sign: | Total number of AI Answers interacted with by this user over the specified time period. | | -| `numAgentRuns` | *number* | :heavy_minus_sign: | Total number of agent runs for this user over the specified time period. | | \ No newline at end of file +| `numAgentRuns` | *number* | :heavy_minus_sign: | Total number of agent runs for this user over the specified time period. | | +| `numMcpCalls` | *number* | :heavy_minus_sign: | Total number of MCP calls for this user over the specified time period. | | \ No newline at end of file diff --git a/docs/models/components/propertydefinition.md b/docs/models/components/propertydefinition.md index 99ccc816..6b71eb50 100644 --- a/docs/models/components/propertydefinition.md +++ b/docs/models/components/propertydefinition.md @@ -15,7 +15,7 @@ let value: PropertyDefinition = {}; | `name` | *string* | :heavy_minus_sign: | The name of the property in the `DocumentMetadata` (e.g. 'createTime', 'updateTime', 'author', 'container'). In the future, this will support custom properties too. | | `displayLabel` | *string* | :heavy_minus_sign: | The user friendly label for the property. | | `displayLabelPlural` | *string* | :heavy_minus_sign: | The user friendly label for the property that will be used if a plural context. | -| `propertyType` | [components.PropertyType](../../models/components/propertytype.md) | :heavy_minus_sign: | The type of custom property - this governs the search and faceting behavior. Note that MULTIPICKLIST is not yet supported. | +| `propertyType` | [components.PropertyDefinitionPropertyType](../../models/components/propertydefinitionpropertytype.md) | :heavy_minus_sign: | The type of custom property - this governs the search and faceting behavior. Note that MULTIPICKLIST is not yet supported. | | `uiOptions` | [components.UiOptions](../../models/components/uioptions.md) | :heavy_minus_sign: | N/A | | `hideUiFacet` | *boolean* | :heavy_minus_sign: | If true then the property will not show up as a facet in the UI. | | `uiFacetOrder` | *number* | :heavy_minus_sign: | Will be used to set the order of facets in the UI, if present. If set for one facet, must be set for all non-hidden UI facets. Must take on an integer value from 1 (shown at the top) to N (shown last), where N is the number of non-hidden UI facets. These facets will be ordered below the built-in "Type" and "Tag" operators. | diff --git a/docs/models/components/propertytype.md b/docs/models/components/propertydefinitionpropertytype.md similarity index 67% rename from docs/models/components/propertytype.md rename to docs/models/components/propertydefinitionpropertytype.md index 9560bec8..2b91b916 100644 --- a/docs/models/components/propertytype.md +++ b/docs/models/components/propertydefinitionpropertytype.md @@ -1,13 +1,13 @@ -# PropertyType +# PropertyDefinitionPropertyType The type of custom property - this governs the search and faceting behavior. Note that MULTIPICKLIST is not yet supported. ## Example Usage ```typescript -import { PropertyType } from "@gleanwork/api-client/models/components"; +import { PropertyDefinitionPropertyType } from "@gleanwork/api-client/models/components"; -let value: PropertyType = "INT"; +let value: PropertyDefinitionPropertyType = "DATE"; // Open enum: unrecognized values are captured as Unrecognized ``` diff --git a/docs/models/components/rotatedatasourcecredentialsrequest.md b/docs/models/components/rotatedatasourcecredentialsrequest.md new file mode 100644 index 00000000..5faec783 --- /dev/null +++ b/docs/models/components/rotatedatasourcecredentialsrequest.md @@ -0,0 +1,25 @@ +# RotateDatasourceCredentialsRequest + +Request to rotate the credentials used by a datasource instance. Replaces the active credential material with the supplied values. +`credentials.values` must contain only keys recognized as credential material for the datasource type (for example `clientSecret` for OAuth, `apiToken` for API-token auth, `privateKey` for certificate auth). Unrecognized keys, or keys that correspond to non-credential configuration, cause a 400; use the configure endpoint to change non-credential config. + + +## Example Usage + +```typescript +import { RotateDatasourceCredentialsRequest } from "@gleanwork/api-client/models/components"; + +let value: RotateDatasourceCredentialsRequest = { + credentials: { + values: { + "key": {}, + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `credentials` | [components.DatasourceInstanceConfiguration](../../models/components/datasourceinstanceconfiguration.md) | :heavy_check_mark: | Configuration for a datasource instance | \ No newline at end of file diff --git a/docs/models/components/successresponse.md b/docs/models/components/successresponse.md new file mode 100644 index 00000000..f5b98169 --- /dev/null +++ b/docs/models/components/successresponse.md @@ -0,0 +1,17 @@ +# SuccessResponse + +Success response for custom metadata operations + +## Example Usage + +```typescript +import { SuccessResponse } from "@gleanwork/api-client/models/components"; + +let value: SuccessResponse = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| `success` | *boolean* | :heavy_minus_sign: | Indicates if the operation was successful | \ No newline at end of file diff --git a/docs/models/components/ugctype.md b/docs/models/components/ugctype.md index 06d1d62f..243bf0c8 100644 --- a/docs/models/components/ugctype.md +++ b/docs/models/components/ugctype.md @@ -5,7 +5,7 @@ ```typescript import { UgcType } from "@gleanwork/api-client/models/components"; -let value: UgcType = "PRISM_VIEWS_TYPE"; +let value: UgcType = "PINS_TYPE"; // Open enum: unrecognized values are captured as Unrecognized ``` @@ -13,5 +13,5 @@ let value: UgcType = "PRISM_VIEWS_TYPE"; ## Values ```typescript -"AGENT_TYPE" | "ANNOUNCEMENTS_TYPE" | "ANSWERS_TYPE" | "CHATS_TYPE" | "COLLECTIONS_TYPE" | "EMAIL_TYPE" | "HTML_CODE_TYPE" | "IMAGE_TYPE" | "MESSAGE_TYPE" | "PAPER_TYPE" | "PRISM_VIEWS_TYPE" | "PROMPT_TEMPLATES_TYPE" | "PINS_TYPE" | "SCRIBES_TYPE" | "SHORTCUTS_TYPE" | "SLIDE_TYPE" | "SPREADSHEET_TYPE" | "WORKFLOWS_TYPE" | Unrecognized +"AGENT_TYPE" | "ANNOUNCEMENTS_TYPE" | "ANSWERS_TYPE" | "CHATS_TYPE" | "COLLECTIONS_TYPE" | "EMAIL_TYPE" | "HTML_CODE_TYPE" | "IMAGE_TYPE" | "MESSAGE_TYPE" | "PAPER_TYPE" | "PRISM_VIEWS_TYPE" | "PROMPT_TEMPLATES_TYPE" | "PINS_TYPE" | "SCRIBES_TYPE" | "SHORTCUTS_TYPE" | "SLIDE_TYPE" | "SPREADSHEET_TYPE" | "INLINE_HTML_TYPE" | "PODCAST_TYPE" | "WORKFLOWS_TYPE" | Unrecognized ``` \ No newline at end of file diff --git a/docs/models/components/workflow.md b/docs/models/components/workflow.md index 1e7f2ffd..69a5b969 100644 --- a/docs/models/components/workflow.md +++ b/docs/models/components/workflow.md @@ -10,6 +10,10 @@ let value: Workflow = { name: "George Clooney", obfuscatedId: "abc123", }, + lastDraftSavedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, lastUpdatedBy: { name: "George Clooney", obfuscatedId: "abc123", @@ -19,13 +23,17 @@ let value: Workflow = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `name` | *string* | :heavy_minus_sign: | The name of the workflow. | | -| `author` | [components.Person](../../models/components/person.md) | :heavy_minus_sign: | N/A | {
"name": "George Clooney",
"obfuscatedId": "abc123"
} | -| `createTimestamp` | *number* | :heavy_minus_sign: | Server Unix timestamp of the creation time. | | -| `lastUpdateTimestamp` | *number* | :heavy_minus_sign: | Server Unix timestamp of the last update time. | | -| `lastDraftSavedAt` | *number* | :heavy_minus_sign: | Server Unix timestamp of the last time the draft was saved. | | -| `lastUpdatedBy` | [components.Person](../../models/components/person.md) | :heavy_minus_sign: | N/A | {
"name": "George Clooney",
"obfuscatedId": "abc123"
} | -| `permissions` | [components.ObjectPermissions](../../models/components/objectpermissions.md) | :heavy_minus_sign: | N/A | | -| `id` | *string* | :heavy_minus_sign: | The ID of the workflow. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | +| `name` | *string* | :heavy_minus_sign: | The name of the workflow. | | +| `author` | [components.Person](../../models/components/person.md) | :heavy_minus_sign: | N/A | {
"name": "George Clooney",
"obfuscatedId": "abc123"
} | +| `createTimestamp` | *number* | :heavy_minus_sign: | Server Unix timestamp of the creation time. | | +| `lastUpdateTimestamp` | *number* | :heavy_minus_sign: | Server Unix timestamp of the last update time. | | +| `lastDraftSavedAt` | *number* | :heavy_minus_sign: | Server Unix timestamp of the last time the draft was saved. | | +| `lastDraftSavedBy` | [components.Person](../../models/components/person.md) | :heavy_minus_sign: | N/A | {
"name": "George Clooney",
"obfuscatedId": "abc123"
} | +| `lastDraftGitAuthorId` | *string* | :heavy_minus_sign: | 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` | [components.Person](../../models/components/person.md) | :heavy_minus_sign: | N/A | {
"name": "George Clooney",
"obfuscatedId": "abc123"
} | +| `permissions` | [components.ObjectPermissions](../../models/components/objectpermissions.md) | :heavy_minus_sign: | N/A | | +| `id` | *string* | :heavy_minus_sign: | The ID of the workflow. | | +| `verified` | *boolean* | :heavy_minus_sign: | When present, indicates this workflow is admin-verified. Set via the dedicated admin settings endpoint, not by regular edits. | | +| `showOrganizationAsAuthor` | *boolean* | :heavy_minus_sign: | When true, displays organization name instead of author name in agent card. Set via the dedicated admin settings endpoint, not by regular edits. | | \ No newline at end of file diff --git a/docs/models/components/workflowresult.md b/docs/models/components/workflowresult.md index 8a71b78d..22bafceb 100644 --- a/docs/models/components/workflowresult.md +++ b/docs/models/components/workflowresult.md @@ -11,6 +11,10 @@ let value: WorkflowResult = { name: "George Clooney", obfuscatedId: "abc123", }, + lastDraftSavedBy: { + name: "George Clooney", + obfuscatedId: "abc123", + }, lastUpdatedBy: { name: "George Clooney", obfuscatedId: "abc123", diff --git a/docs/models/errors/errorinforesponse.md b/docs/models/errors/errorinforesponse.md new file mode 100644 index 00000000..a6fee8cf --- /dev/null +++ b/docs/models/errors/errorinforesponse.md @@ -0,0 +1,18 @@ +# ErrorInfoResponse + +Error response for custom metadata operations + +## Example Usage + +```typescript +import { ErrorInfoResponse } from "@gleanwork/api-client/models/errors"; + +// No examples available for this model +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `error` | *string* | :heavy_check_mark: | Error message describing what went wrong | +| `message` | *string* | :heavy_minus_sign: | Additional details about the error | \ No newline at end of file diff --git a/docs/models/operations/authorizeactionpackrequest.md b/docs/models/operations/authorizeactionpackrequest.md new file mode 100644 index 00000000..907b4dde --- /dev/null +++ b/docs/models/operations/authorizeactionpackrequest.md @@ -0,0 +1,21 @@ +# AuthorizeActionPackRequest + +## Example Usage + +```typescript +import { AuthorizeActionPackRequest } from "@gleanwork/api-client/models/operations"; + +let value: AuthorizeActionPackRequest = { + actionPackId: "", + authorizeActionPackRequest: { + returnUrl: "https://well-worn-planula.com/", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `actionPackId` | *string* | :heavy_check_mark: | ID of the action pack to query or authorize. | +| `authorizeActionPackRequest` | [components.AuthorizeActionPackRequest](../../models/components/authorizeactionpackrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/deleterestapiindexcustommetadataschemagroupnamerequest.md b/docs/models/operations/deleterestapiindexcustommetadataschemagroupnamerequest.md new file mode 100644 index 00000000..1bc51350 --- /dev/null +++ b/docs/models/operations/deleterestapiindexcustommetadataschemagroupnamerequest.md @@ -0,0 +1,17 @@ +# DeleteRestApiIndexCustomMetadataSchemaGroupNameRequest + +## Example Usage + +```typescript +import { DeleteRestApiIndexCustomMetadataSchemaGroupNameRequest } from "@gleanwork/api-client/models/operations"; + +let value: DeleteRestApiIndexCustomMetadataSchemaGroupNameRequest = { + groupName: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `groupName` | *string* | :heavy_check_mark: | Name of the metadata group schema | \ No newline at end of file diff --git a/docs/models/operations/deleterestapiindexdocumentdocidcustommetadatagroupnamerequest.md b/docs/models/operations/deleterestapiindexdocumentdocidcustommetadatagroupnamerequest.md new file mode 100644 index 00000000..c951a75e --- /dev/null +++ b/docs/models/operations/deleterestapiindexdocumentdocidcustommetadatagroupnamerequest.md @@ -0,0 +1,19 @@ +# DeleteRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest + +## Example Usage + +```typescript +import { DeleteRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest } from "@gleanwork/api-client/models/operations"; + +let value: DeleteRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest = { + docId: "", + groupName: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `docId` | *string* | :heavy_check_mark: | Unique Glean identifier of the document | +| `groupName` | *string* | :heavy_check_mark: | Name of the metadata group as specified while adding schema | \ No newline at end of file diff --git a/docs/models/operations/editagentrequest.md b/docs/models/operations/editagentrequest.md new file mode 100644 index 00000000..d84b9cf4 --- /dev/null +++ b/docs/models/operations/editagentrequest.md @@ -0,0 +1,21 @@ +# EditAgentRequest + +## Example Usage + +```typescript +import { EditAgentRequest } from "@gleanwork/api-client/models/operations"; + +let value: EditAgentRequest = { + agentId: "", + editWorkflowRequest: {}, +}; +``` + +## Fields + +| Field | 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. | +| `agentId` | *string* | :heavy_check_mark: | The ID of the agent. | +| `editWorkflowRequest` | [components.EditWorkflowRequest](../../models/components/editworkflowrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getactionpackauthstatusrequest.md b/docs/models/operations/getactionpackauthstatusrequest.md new file mode 100644 index 00000000..d99545df --- /dev/null +++ b/docs/models/operations/getactionpackauthstatusrequest.md @@ -0,0 +1,17 @@ +# GetActionPackAuthStatusRequest + +## Example Usage + +```typescript +import { GetActionPackAuthStatusRequest } from "@gleanwork/api-client/models/operations"; + +let value: GetActionPackAuthStatusRequest = { + actionPackId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `actionPackId` | *string* | :heavy_check_mark: | ID of the action pack to query or authorize. | \ No newline at end of file diff --git a/docs/models/operations/getchatfilerequest.md b/docs/models/operations/getchatfilerequest.md new file mode 100644 index 00000000..f50b0100 --- /dev/null +++ b/docs/models/operations/getchatfilerequest.md @@ -0,0 +1,18 @@ +# GetChatFileRequest + +## Example Usage + +```typescript +import { GetChatFileRequest } from "@gleanwork/api-client/models/operations"; + +let value: GetChatFileRequest = { + fileId: "", +}; +``` + +## Fields + +| Field | 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.
| \ No newline at end of file diff --git a/docs/models/operations/getdatasourcecredentialstatusrequest.md b/docs/models/operations/getdatasourcecredentialstatusrequest.md new file mode 100644 index 00000000..7801a01c --- /dev/null +++ b/docs/models/operations/getdatasourcecredentialstatusrequest.md @@ -0,0 +1,17 @@ +# GetDatasourceCredentialStatusRequest + +## Example Usage + +```typescript +import { GetDatasourceCredentialStatusRequest } from "@gleanwork/api-client/models/operations"; + +let value: GetDatasourceCredentialStatusRequest = { + datasourceInstanceId: "o365sharepoint_abc123", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `datasourceInstanceId` | *string* | :heavy_check_mark: | The full datasource instance identifier (e.g. o365sharepoint_abc123) | o365sharepoint_abc123 | \ No newline at end of file diff --git a/docs/models/operations/getpersonphotorequest.md b/docs/models/operations/getpersonphotorequest.md new file mode 100644 index 00000000..1445dbf9 --- /dev/null +++ b/docs/models/operations/getpersonphotorequest.md @@ -0,0 +1,18 @@ +# GetPersonPhotoRequest + +## Example Usage + +```typescript +import { GetPersonPhotoRequest } from "@gleanwork/api-client/models/operations"; + +let value: GetPersonPhotoRequest = { + personId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `personId` | *string* | :heavy_check_mark: | The obfuscated ID of the person whose photo to retrieve. | +| `ds` | *string* | :heavy_minus_sign: | 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.
| \ No newline at end of file diff --git a/docs/models/operations/getpersonphotoresponse.md b/docs/models/operations/getpersonphotoresponse.md new file mode 100644 index 00000000..8450a4fc --- /dev/null +++ b/docs/models/operations/getpersonphotoresponse.md @@ -0,0 +1,16 @@ +# GetPersonPhotoResponse + +## Example Usage + +```typescript +import { GetPersonPhotoResponse } from "@gleanwork/api-client/models/operations"; + +// No examples available for this model +``` + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| `headers` | Record | :heavy_check_mark: | N/A | +| `result` | *operations.GetPersonPhotoResponseResult* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getpersonphotoresponseresult.md b/docs/models/operations/getpersonphotoresponseresult.md new file mode 100644 index 00000000..6624f92a --- /dev/null +++ b/docs/models/operations/getpersonphotoresponseresult.md @@ -0,0 +1,17 @@ +# GetPersonPhotoResponseResult + + +## Supported Types + +### `ReadableStream` + +```typescript +const value: ReadableStream = await openAsBlob("example.file"); +``` + +### `ReadableStream` + +```typescript +const value: ReadableStream = await openAsBlob("example.file"); +``` + diff --git a/docs/models/operations/getrestapiindexcustommetadataschemagroupnamerequest.md b/docs/models/operations/getrestapiindexcustommetadataschemagroupnamerequest.md new file mode 100644 index 00000000..c8578edc --- /dev/null +++ b/docs/models/operations/getrestapiindexcustommetadataschemagroupnamerequest.md @@ -0,0 +1,17 @@ +# GetRestApiIndexCustomMetadataSchemaGroupNameRequest + +## Example Usage + +```typescript +import { GetRestApiIndexCustomMetadataSchemaGroupNameRequest } from "@gleanwork/api-client/models/operations"; + +let value: GetRestApiIndexCustomMetadataSchemaGroupNameRequest = { + groupName: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `groupName` | *string* | :heavy_check_mark: | Name of the metadata group schema | \ No newline at end of file diff --git a/docs/models/operations/postapiindexv1debugdatasourcedocumenteventsrequest.md b/docs/models/operations/postapiindexv1debugdatasourcedocumenteventsrequest.md new file mode 100644 index 00000000..5a249c59 --- /dev/null +++ b/docs/models/operations/postapiindexv1debugdatasourcedocumenteventsrequest.md @@ -0,0 +1,24 @@ +# PostApiIndexV1DebugDatasourceDocumentEventsRequest + +## Example Usage + +```typescript +import { PostApiIndexV1DebugDatasourceDocumentEventsRequest } from "@gleanwork/api-client/models/operations"; + +let value: PostApiIndexV1DebugDatasourceDocumentEventsRequest = { + datasource: "", + debugDocumentLifecycleRequest: { + objectType: "Article", + docId: "art123", + startDate: "2025-05-01", + maxEvents: 50, + }, +}; +``` + +## Fields + +| Field | 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 | \ No newline at end of file diff --git a/docs/models/operations/putrestapiindexcustommetadataschemagroupnamerequest.md b/docs/models/operations/putrestapiindexcustommetadataschemagroupnamerequest.md new file mode 100644 index 00000000..c5eda19a --- /dev/null +++ b/docs/models/operations/putrestapiindexcustommetadataschemagroupnamerequest.md @@ -0,0 +1,21 @@ +# PutRestApiIndexCustomMetadataSchemaGroupNameRequest + +## Example Usage + +```typescript +import { PutRestApiIndexCustomMetadataSchemaGroupNameRequest } from "@gleanwork/api-client/models/operations"; + +let value: PutRestApiIndexCustomMetadataSchemaGroupNameRequest = { + groupName: "", + customMetadataSchema: { + metadataKeys: [], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `groupName` | *string* | :heavy_check_mark: | Name of the metadata group schema | +| `customMetadataSchema` | [components.CustomMetadataSchema](../../models/components/custommetadataschema.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/putrestapiindexdocumentdocidcustommetadatagroupnamerequest.md b/docs/models/operations/putrestapiindexdocumentdocidcustommetadatagroupnamerequest.md new file mode 100644 index 00000000..e177d320 --- /dev/null +++ b/docs/models/operations/putrestapiindexdocumentdocidcustommetadatagroupnamerequest.md @@ -0,0 +1,25 @@ +# PutRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest + +## Example Usage + +```typescript +import { PutRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest } from "@gleanwork/api-client/models/operations"; + +let value: PutRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest = { + docId: "", + groupName: "", + customMetadataPutRequest: { + customMetadata: [ + {}, + ], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `docId` | *string* | :heavy_check_mark: | Unique Glean identifier of the document | +| `groupName` | *string* | :heavy_check_mark: | Name of the metadata group as specified while adding schema | +| `customMetadataPutRequest` | [components.CustomMetadataPutRequest](../../models/components/custommetadataputrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/rotatedatasourcecredentialsrequest.md b/docs/models/operations/rotatedatasourcecredentialsrequest.md new file mode 100644 index 00000000..d0c8c64c --- /dev/null +++ b/docs/models/operations/rotatedatasourcecredentialsrequest.md @@ -0,0 +1,25 @@ +# RotateDatasourceCredentialsRequest + +## Example Usage + +```typescript +import { RotateDatasourceCredentialsRequest } from "@gleanwork/api-client/models/operations"; + +let value: RotateDatasourceCredentialsRequest = { + datasourceInstanceId: "o365sharepoint_abc123", + rotateDatasourceCredentialsRequest: { + credentials: { + values: { + "key": {}, + }, + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `datasourceInstanceId` | *string* | :heavy_check_mark: | The full datasource instance identifier (e.g. o365sharepoint_abc123) | o365sharepoint_abc123 | +| `rotateDatasourceCredentialsRequest` | [components.RotateDatasourceCredentialsRequest](../../models/components/rotatedatasourcecredentialsrequest.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/sdks/agents/README.md b/docs/sdks/agents/README.md index c9260f0d..8600601e 100644 --- a/docs/sdks/agents/README.md +++ b/docs/sdks/agents/README.md @@ -1,22 +1,18 @@ -# Client.Agents +# Agents ## Overview ### Available Operations -* [retrieve](#retrieve) - Retrieve 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 +* [editAgent](#editagent) - Edit an agent -## retrieve +## editAgent -Returns details of an [agent](https://developers.glean.com/agents/agents-api) created in the Agent Builder. +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"; @@ -25,109 +21,9 @@ const glean = new Glean({ }); async function run() { - const result = await glean.client.agents.retrieve(""); + await glean.agents.editAgent({}, ""); - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientAgentsRetrieve } from "@gleanwork/api-client/funcs/clientAgentsRetrieve.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 clientAgentsRetrieve(glean, ""); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientAgentsRetrieve 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. - useClientAgentsRetrieve, - useClientAgentsRetrieveSuspense, - - // Utility for prefetching data during server-side rendering and in React - // Server Components that will be immediately available to client components - // using the hooks. - prefetchClientAgentsRetrieve, - - // Utilities to invalidate the query cache for this query in response to - // mutations and other user actions. - invalidateClientAgentsRetrieve, - invalidateAllClientAgentsRetrieve, -} from "@gleanwork/api-client/react-query/clientAgentsRetrieve.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `agentId` | *string* | :heavy_check_mark: | The ID of the agent. | -| `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.Agent](../../models/components/agent.md)\>** - -### 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. - -### 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.retrieveSchemas(""); - - console.log(result); } run(); @@ -139,7 +35,7 @@ The standalone function version of this method: ```typescript import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientAgentsRetrieveSchemas } from "@gleanwork/api-client/funcs/clientAgentsRetrieveSchemas.js"; +import { agentsEditAgent } from "@gleanwork/api-client/funcs/agentsEditAgent.js"; // Use `GleanCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -148,12 +44,12 @@ const glean = new GleanCore({ }); async function run() { - const res = await clientAgentsRetrieveSchemas(glean, ""); + const res = await agentsEditAgent(glean, {}, ""); if (res.ok) { const { value: result } = res; - console.log(result); + } else { - console.log("clientAgentsRetrieveSchemas failed:", res.error); + console.log("agentsEditAgent failed:", res.error); } } @@ -172,20 +68,9 @@ associated utilities. ```tsx import { - // Query hooks for fetching data. - useClientAgentsRetrieveSchemas, - useClientAgentsRetrieveSchemasSuspense, - - // Utility for prefetching data during server-side rendering and in React - // Server Components that will be immediately available to client components - // using the hooks. - prefetchClientAgentsRetrieveSchemas, - - // Utilities to invalidate the query cache for this query in response to - // mutations and other user actions. - invalidateClientAgentsRetrieveSchemas, - invalidateAllClientAgentsRetrieveSchemas, -} from "@gleanwork/api-client/react-query/clientAgentsRetrieveSchemas.js"; + // Mutation hook for triggering the API call. + useAgentsEditAgentMutation +} from "@gleanwork/api-client/react-query/agentsEditAgent.js"; ``` ### Parameters @@ -193,6 +78,7 @@ import { | 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. | @@ -201,303 +87,11 @@ import { ### Response -**Promise\<[components.AgentSchemas](../../models/components/agentschemas.md)\>** +**Promise\** ### Errors | Error Type | Status Code | Content Type | | -------------------- | -------------------- | -------------------- | -| errors.ErrorResponse | 404, 422 | application/json | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## list - -Search for [agents](https://developers.glean.com/agents/agents-api) by agent name. - -### 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.list({ - name: "HR Policy Agent", - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientAgentsList } from "@gleanwork/api-client/funcs/clientAgentsList.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 clientAgentsList(glean, { - name: "HR Policy Agent", - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientAgentsList 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. - useClientAgentsListMutation -} from "@gleanwork/api-client/react-query/clientAgentsList.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [components.SearchAgentsRequest](../../models/components/searchagentsrequest.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.SearchAgentsResponse](../../models/components/searchagentsresponse.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| -------------------- | -------------------- | -------------------- | -| errors.ErrorResponse | 404, 422 | application/json | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## runStream - -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. - -### 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.runStream({ - agentId: "", - messages: [ - { - role: "USER", - }, - ], - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientAgentsRunStream } from "@gleanwork/api-client/funcs/clientAgentsRunStream.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 clientAgentsRunStream(glean, { - agentId: "", - messages: [ - { - role: "USER", - }, - ], - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientAgentsRunStream 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. - useClientAgentsRunStreamMutation -} from "@gleanwork/api-client/react-query/clientAgentsRunStream.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [components.AgentRunCreate](../../models/components/agentruncreate.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\<[string](../../models/.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| -------------------- | -------------------- | -------------------- | -| errors.ErrorResponse | 404, 409, 422 | application/json | -| errors.GleanError | 4XX, 5XX | \*/\* | - -## run - -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. - -### 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.run({ - agentId: "", - messages: [ - { - role: "USER", - }, - ], - }); - - console.log(result); -} - -run(); -``` - -### Standalone function - -The standalone function version of this method: - -```typescript -import { GleanCore } from "@gleanwork/api-client/core.js"; -import { clientAgentsRun } from "@gleanwork/api-client/funcs/clientAgentsRun.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 clientAgentsRun(glean, { - agentId: "", - messages: [ - { - role: "USER", - }, - ], - }); - if (res.ok) { - const { value: result } = res; - console.log(result); - } else { - console.log("clientAgentsRun 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. - useClientAgentsRunMutation -} from "@gleanwork/api-client/react-query/clientAgentsRun.js"; -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [components.AgentRunCreate](../../models/components/agentruncreate.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.AgentRunWaitResponse](../../models/components/agentrunwaitresponse.md)\>** - -### Errors - -| Error Type | Status Code | Content Type | -| ----------------- | ----------------- | ----------------- | -| errors.GleanError | 4XX, 5XX | \*/\* | \ No newline at end of file +| errors.ErrorResponse | 404 | application/json | +| 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 306fd83d..b25804b1 100644 --- a/docs/sdks/chat/README.md +++ b/docs/sdks/chat/README.md @@ -1,106085 +1,19 @@ -# Client.Chat +# 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 +* [getChatFile](#getchatfile) - Download a chat file -## create +## getChatFile -Have a conversation with Glean AI. +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: 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 +### Example Usage - + ```typescript import { Glean } from "@gleanwork/api-client"; @@ -106088,10 +22,7 @@ const glean = new Glean({ }); async function run() { - const result = await glean.client.chat.createStream({ - messages: [], - timeoutMillis: 30000, - }); + const result = await glean.chat.getChatFile(""); console.log(result); } @@ -106105,7 +36,7 @@ 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"; +import { chatGetChatFile } from "@gleanwork/api-client/funcs/chatGetChatFile.js"; // Use `GleanCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -106114,15 +45,12 @@ const glean = new GleanCore({ }); async function run() { - const res = await clientChatCreateStream(glean, { - messages: [], - timeoutMillis: 30000, - }); + const res = await chatGetChatFile(glean, ""); if (res.ok) { const { value: result } = res; console.log(result); } else { - console.log("clientChatCreateStream failed:", res.error); + console.log("chatGetChatFile failed:", res.error); } } @@ -106141,92 +69,35 @@ associated utilities. ```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: + // Query hooks for fetching data. + useChatGetChatFile, + useChatGetChatFileSuspense, -```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"; + // 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"; ``` ### 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. | +| `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\<[string](../../models/.md)\>** +**Promise\<[ReadableStream](../../models/.md)\>** ### Errors diff --git a/docs/sdks/clientagents/README.md b/docs/sdks/clientagents/README.md new file mode 100644 index 00000000..c9260f0d --- /dev/null +++ b/docs/sdks/clientagents/README.md @@ -0,0 +1,503 @@ +# Client.Agents + +## Overview + +### Available Operations + +* [retrieve](#retrieve) - Retrieve 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 + +## retrieve + +Returns details of an [agent](https://developers.glean.com/agents/agents-api) created in the Agent Builder. + +### 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.retrieve(""); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientAgentsRetrieve } from "@gleanwork/api-client/funcs/clientAgentsRetrieve.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 clientAgentsRetrieve(glean, ""); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientAgentsRetrieve 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. + useClientAgentsRetrieve, + useClientAgentsRetrieveSuspense, + + // Utility for prefetching data during server-side rendering and in React + // Server Components that will be immediately available to client components + // using the hooks. + prefetchClientAgentsRetrieve, + + // Utilities to invalidate the query cache for this query in response to + // mutations and other user actions. + invalidateClientAgentsRetrieve, + invalidateAllClientAgentsRetrieve, +} from "@gleanwork/api-client/react-query/clientAgentsRetrieve.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `agentId` | *string* | :heavy_check_mark: | The ID of the agent. | +| `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.Agent](../../models/components/agent.md)\>** + +### 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. + +### 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.retrieveSchemas(""); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientAgentsRetrieveSchemas } from "@gleanwork/api-client/funcs/clientAgentsRetrieveSchemas.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 clientAgentsRetrieveSchemas(glean, ""); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientAgentsRetrieveSchemas 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. + useClientAgentsRetrieveSchemas, + useClientAgentsRetrieveSchemasSuspense, + + // Utility for prefetching data during server-side rendering and in React + // Server Components that will be immediately available to client components + // using the hooks. + prefetchClientAgentsRetrieveSchemas, + + // Utilities to invalidate the query cache for this query in response to + // mutations and other user actions. + invalidateClientAgentsRetrieveSchemas, + invalidateAllClientAgentsRetrieveSchemas, +} from "@gleanwork/api-client/react-query/clientAgentsRetrieveSchemas.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `agentId` | *string* | :heavy_check_mark: | The ID of the agent. | +| `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.AgentSchemas](../../models/components/agentschemas.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------- | -------------------- | -------------------- | +| errors.ErrorResponse | 404, 422 | application/json | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## list + +Search for [agents](https://developers.glean.com/agents/agents-api) by agent name. + +### 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.list({ + name: "HR Policy Agent", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientAgentsList } from "@gleanwork/api-client/funcs/clientAgentsList.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 clientAgentsList(glean, { + name: "HR Policy Agent", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientAgentsList 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. + useClientAgentsListMutation +} from "@gleanwork/api-client/react-query/clientAgentsList.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [components.SearchAgentsRequest](../../models/components/searchagentsrequest.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.SearchAgentsResponse](../../models/components/searchagentsresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------- | -------------------- | -------------------- | +| errors.ErrorResponse | 404, 422 | application/json | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## runStream + +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. + +### 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.runStream({ + agentId: "", + messages: [ + { + role: "USER", + }, + ], + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientAgentsRunStream } from "@gleanwork/api-client/funcs/clientAgentsRunStream.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 clientAgentsRunStream(glean, { + agentId: "", + messages: [ + { + role: "USER", + }, + ], + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientAgentsRunStream 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. + useClientAgentsRunStreamMutation +} from "@gleanwork/api-client/react-query/clientAgentsRunStream.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [components.AgentRunCreate](../../models/components/agentruncreate.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\<[string](../../models/.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------- | -------------------- | -------------------- | +| errors.ErrorResponse | 404, 409, 422 | application/json | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## run + +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. + +### 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.run({ + agentId: "", + messages: [ + { + role: "USER", + }, + ], + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { clientAgentsRun } from "@gleanwork/api-client/funcs/clientAgentsRun.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 clientAgentsRun(glean, { + agentId: "", + messages: [ + { + role: "USER", + }, + ], + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("clientAgentsRun 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. + useClientAgentsRunMutation +} from "@gleanwork/api-client/react-query/clientAgentsRun.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [components.AgentRunCreate](../../models/components/agentruncreate.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.AgentRunWaitResponse](../../models/components/agentrunwaitresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ----------------- | ----------------- | ----------------- | +| errors.GleanError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/clientchat/README.md b/docs/sdks/clientchat/README.md new file mode 100644 index 00000000..306fd83d --- /dev/null +++ b/docs/sdks/clientchat/README.md @@ -0,0 +1,106235 @@ +# 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/cliententities/README.md b/docs/sdks/cliententities/README.md new file mode 100644 index 00000000..b4b14176 --- /dev/null +++ b/docs/sdks/cliententities/README.md @@ -0,0 +1,226 @@ +# 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/clienttools/README.md b/docs/sdks/clienttools/README.md new file mode 100644 index 00000000..bdf02801 --- /dev/null +++ b/docs/sdks/clienttools/README.md @@ -0,0 +1,207 @@ +# 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/custommetadata/README.md b/docs/sdks/custommetadata/README.md new file mode 100644 index 00000000..ab3305a9 --- /dev/null +++ b/docs/sdks/custommetadata/README.md @@ -0,0 +1,479 @@ +# Indexing.CustomMetadata + +## Overview + +### Available Operations + +* [upsert](#upsert) - Add or update custom metadata +* [delete](#delete) - Remove custom metadata +* [getSchema](#getschema) - Retrieve metadata schema +* [upsertSchema](#upsertschema) - Create or update metadata schema +* [deleteSchema](#deleteschema) - Remove metadata schema + +## upsert + +Associates custom metadata with a specific document. Custom metadata enables you to enrich documents with additional structured information that can be used for search, filtering, and faceting. + +### 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.customMetadata.upsert({ + customMetadata: [], + }, "", ""); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { indexingCustomMetadataUpsert } from "@gleanwork/api-client/funcs/indexingCustomMetadataUpsert.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 indexingCustomMetadataUpsert(glean, { + customMetadata: [], + }, "", ""); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("indexingCustomMetadataUpsert 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. + useIndexingCustomMetadataUpsertMutation +} from "@gleanwork/api-client/react-query/indexingCustomMetadataUpsert.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `docId` | *string* | :heavy_check_mark: | Unique Glean identifier of the document | +| `groupName` | *string* | :heavy_check_mark: | Name of the metadata group as specified while adding schema | +| `customMetadataPutRequest` | [components.CustomMetadataPutRequest](../../models/components/custommetadataputrequest.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. | +| `options.serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. | + +### Response + +**Promise\<[components.SuccessResponse](../../models/components/successresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------ | ------------------------ | ------------------------ | +| errors.ErrorInfoResponse | 400, 401, 404, 429 | application/json | +| errors.ErrorInfoResponse | 500 | application/json | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## delete + +Removes all custom metadata for the specified metadata group from a document. + +### 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.customMetadata.delete("", ""); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { indexingCustomMetadataDelete } from "@gleanwork/api-client/funcs/indexingCustomMetadataDelete.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 indexingCustomMetadataDelete(glean, "", ""); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("indexingCustomMetadataDelete 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. + useIndexingCustomMetadataDeleteMutation +} from "@gleanwork/api-client/react-query/indexingCustomMetadataDelete.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `docId` | *string* | :heavy_check_mark: | Unique Glean identifier of the document | +| `groupName` | *string* | :heavy_check_mark: | Name of the metadata group as specified while adding schema | +| `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. | +| `options.serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. | + +### Response + +**Promise\<[components.SuccessResponse](../../models/components/successresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------ | ------------------------ | ------------------------ | +| errors.ErrorInfoResponse | 400, 401, 404, 429 | application/json | +| errors.ErrorInfoResponse | 500 | application/json | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## getSchema + +Retrieves the current schema definition for a metadata group. + +### 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.customMetadata.getSchema(""); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { indexingCustomMetadataGetSchema } from "@gleanwork/api-client/funcs/indexingCustomMetadataGetSchema.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 indexingCustomMetadataGetSchema(glean, ""); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("indexingCustomMetadataGetSchema 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. + useIndexingCustomMetadataGetSchema, + useIndexingCustomMetadataGetSchemaSuspense, + + // Utility for prefetching data during server-side rendering and in React + // Server Components that will be immediately available to client components + // using the hooks. + prefetchIndexingCustomMetadataGetSchema, + + // Utilities to invalidate the query cache for this query in response to + // mutations and other user actions. + invalidateIndexingCustomMetadataGetSchema, + invalidateAllIndexingCustomMetadataGetSchema, +} from "@gleanwork/api-client/react-query/indexingCustomMetadataGetSchema.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `groupName` | *string* | :heavy_check_mark: | Name of the metadata group schema | +| `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. | +| `options.serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. | + +### Response + +**Promise\<[components.CustomMetadataSchema](../../models/components/custommetadataschema.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------ | ------------------------ | ------------------------ | +| errors.ErrorInfoResponse | 401, 404, 429 | application/json | +| errors.ErrorInfoResponse | 500 | application/json | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## upsertSchema + +Defines or updates the schema for a metadata group. Schemas should be defined before indexing metadata. + +### 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.customMetadata.upsertSchema({ + metadataKeys: [], + }, ""); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { indexingCustomMetadataUpsertSchema } from "@gleanwork/api-client/funcs/indexingCustomMetadataUpsertSchema.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 indexingCustomMetadataUpsertSchema(glean, { + metadataKeys: [], + }, ""); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("indexingCustomMetadataUpsertSchema 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. + useIndexingCustomMetadataUpsertSchemaMutation +} from "@gleanwork/api-client/react-query/indexingCustomMetadataUpsertSchema.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `groupName` | *string* | :heavy_check_mark: | Name of the metadata group schema | +| `customMetadataSchema` | [components.CustomMetadataSchema](../../models/components/custommetadataschema.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. | +| `options.serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. | + +### Response + +**Promise\<[components.SuccessResponse](../../models/components/successresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------ | ------------------------ | ------------------------ | +| errors.ErrorInfoResponse | 400, 401, 409, 429 | application/json | +| errors.ErrorInfoResponse | 500 | application/json | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## deleteSchema + +Deletes the schema definition for a metadata group. This does not delete existing metadata values on documents. + +### 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.customMetadata.deleteSchema(""); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { GleanCore } from "@gleanwork/api-client/core.js"; +import { indexingCustomMetadataDeleteSchema } from "@gleanwork/api-client/funcs/indexingCustomMetadataDeleteSchema.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 indexingCustomMetadataDeleteSchema(glean, ""); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("indexingCustomMetadataDeleteSchema 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. + useIndexingCustomMetadataDeleteSchemaMutation +} from "@gleanwork/api-client/react-query/indexingCustomMetadataDeleteSchema.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `groupName` | *string* | :heavy_check_mark: | Name of the metadata group schema | +| `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. | +| `options.serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. | + +### Response + +**Promise\<[components.SuccessResponse](../../models/components/successresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------ | ------------------------ | ------------------------ | +| errors.ErrorInfoResponse | 400, 401, 404, 429 | application/json | +| errors.ErrorInfoResponse | 500 | application/json | +| errors.GleanError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/datasources/README.md b/docs/sdks/datasources/README.md index 8b2aab79..23c48bbd 100644 --- a/docs/sdks/datasources/README.md +++ b/docs/sdks/datasources/README.md @@ -8,6 +8,8 @@ Manage datasources. * [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 ## getDatasourceInstanceConfiguration @@ -206,6 +208,207 @@ import { ### Errors +| Error Type | Status Code | Content Type | +| -------------------- | -------------------- | -------------------- | +| errors.ErrorResponse | 400, 403, 404 | application/json | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## getDatasourceCredentialStatus + +Returns the current credential status for a datasource instance. Access is limited to callers with the ADMIN scope; the handler enforces this check. + + +### 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.datasources.getDatasourceCredentialStatus("o365sharepoint_abc123"); + + console.log(result); +} + +run(); +``` + +### Standalone function + +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"; + +// 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 datasourcesGetDatasourceCredentialStatus(glean, "o365sharepoint_abc123"); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("datasourcesGetDatasourceCredentialStatus 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. + useDatasourcesGetDatasourceCredentialStatus, + useDatasourcesGetDatasourceCredentialStatusSuspense, + + // 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, + + // 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"; +``` + +### Parameters + +| Parameter | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `datasourceInstanceId` | *string* | :heavy_check_mark: | The full datasource instance identifier (e.g. o365sharepoint_abc123) | o365sharepoint_abc123 | +| `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.DatasourceCredentialStatusResponse](../../models/components/datasourcecredentialstatusresponse.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| -------------------- | -------------------- | -------------------- | +| errors.ErrorResponse | 400, 403, 404 | application/json | +| errors.GleanError | 4XX, 5XX | \*/\* | + +## rotateDatasourceCredentials + +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}. + + +### 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.datasources.rotateDatasourceCredentials({ + credentials: { + values: { + "key": {}, + }, + }, + }, "o365sharepoint_abc123"); + + console.log(result); +} + +run(); +``` + +### Standalone function + +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"; + +// 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 datasourcesRotateDatasourceCredentials(glean, { + credentials: { + values: { + "key": {}, + }, + }, + }, "o365sharepoint_abc123"); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("datasourcesRotateDatasourceCredentials 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. + useDatasourcesRotateDatasourceCredentialsMutation +} from "@gleanwork/api-client/react-query/datasourcesRotateDatasourceCredentials.js"; +``` + +### Parameters + +| Parameter | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `datasourceInstanceId` | *string* | :heavy_check_mark: | The full datasource instance identifier (e.g. o365sharepoint_abc123) | o365sharepoint_abc123 | +| `rotateDatasourceCredentialsRequest` | [components.RotateDatasourceCredentialsRequest](../../models/components/rotatedatasourcecredentialsrequest.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.DatasourceCredentialStatusResponse](../../models/components/datasourcecredentialstatusresponse.md)\>** + +### Errors + | Error Type | Status Code | Content Type | | -------------------- | -------------------- | -------------------- | | errors.ErrorResponse | 400, 403, 404 | application/json | diff --git a/docs/sdks/entities/README.md b/docs/sdks/entities/README.md index b4b14176..16ea2080 100644 --- a/docs/sdks/entities/README.md +++ b/docs/sdks/entities/README.md @@ -1,140 +1,19 @@ -# Client.Entities +# Entities ## Overview ### Available Operations -* [list](#list) - List entities -* [readPeople](#readpeople) - Read people +* [getPersonPhoto](#getpersonphoto) - Get person photo -## list +## getPersonPhoto -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. +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. -### 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"; @@ -143,12 +22,7 @@ const glean = new Glean({ }); async function run() { - const result = await glean.client.entities.readPeople({ - obfuscatedIds: [ - "abc123", - "abc456", - ], - }); + const result = await glean.entities.getPersonPhoto(""); console.log(result); } @@ -162,7 +36,7 @@ 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"; +import { entitiesGetPersonPhoto } from "@gleanwork/api-client/funcs/entitiesGetPersonPhoto.js"; // Use `GleanCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -171,17 +45,12 @@ const glean = new GleanCore({ }); async function run() { - const res = await clientEntitiesReadPeople(glean, { - obfuscatedIds: [ - "abc123", - "abc456", - ], - }); + const res = await entitiesGetPersonPhoto(glean, ""); if (res.ok) { const { value: result } = res; console.log(result); } else { - console.log("clientEntitiesReadPeople failed:", res.error); + console.log("entitiesGetPersonPhoto failed:", res.error); } } @@ -200,24 +69,35 @@ associated utilities. ```tsx import { - // Mutation hook for triggering the API call. - useClientEntitiesReadPeopleMutation -} from "@gleanwork/api-client/react-query/clientEntitiesReadPeople.js"; + // Query hooks for fetching data. + useEntitiesGetPersonPhoto, + useEntitiesGetPersonPhotoSuspense, + + // 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, + + // 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"; ``` ### 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. | | +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `personId` | *string* | :heavy_check_mark: | The obfuscated ID of the person whose photo to retrieve. | +| `ds` | *string* | :heavy_minus_sign: | 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.
| +| `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)\>** +**Promise\<[operations.GetPersonPhotoResponse](../../models/operations/getpersonphotoresponse.md)\>** ### Errors diff --git a/docs/sdks/tools/README.md b/docs/sdks/tools/README.md index bdf02801..edba57ef 100644 --- a/docs/sdks/tools/README.md +++ b/docs/sdks/tools/README.md @@ -1,19 +1,22 @@ -# Client.Tools +# Tools ## Overview ### Available Operations -* [list](#list) - List available tools -* [run](#run) - Execute the specified tool +* [getActionPackAuthStatus](#getactionpackauthstatus) - Get end-user authentication status for an action pack. +* [authorizeActionPack](#authorizeactionpack) - Start the OAuth authorization flow for an action pack. -## list +## getActionPackAuthStatus + +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. -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"; @@ -22,7 +25,7 @@ const glean = new Glean({ }); async function run() { - const result = await glean.client.tools.list(); + const result = await glean.tools.getActionPackAuthStatus(""); console.log(result); } @@ -36,7 +39,7 @@ 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"; +import { toolsGetActionPackAuthStatus } from "@gleanwork/api-client/funcs/toolsGetActionPackAuthStatus.js"; // Use `GleanCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -45,12 +48,12 @@ const glean = new GleanCore({ }); async function run() { - const res = await clientToolsList(glean); + const res = await toolsGetActionPackAuthStatus(glean, ""); if (res.ok) { const { value: result } = res; console.log(result); } else { - console.log("clientToolsList failed:", res.error); + console.log("toolsGetActionPackAuthStatus failed:", res.error); } } @@ -70,33 +73,33 @@ associated utilities. ```tsx import { // Query hooks for fetching data. - useClientToolsList, - useClientToolsListSuspense, + useToolsGetActionPackAuthStatus, + useToolsGetActionPackAuthStatusSuspense, // 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, + prefetchToolsGetActionPackAuthStatus, // 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"; + invalidateToolsGetActionPackAuthStatus, + invalidateAllToolsGetActionPackAuthStatus, +} from "@gleanwork/api-client/react-query/toolsGetActionPackAuthStatus.js"; ``` ### Parameters | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `toolNames` | *string*[] | :heavy_minus_sign: | Optional array of tool names to filter by | +| `actionPackId` | *string* | :heavy_check_mark: | ID of the action pack to query or authorize. | | `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)\>** +**Promise\<[components.ActionPackAuthStatusResponse](../../models/components/actionpackauthstatusresponse.md)\>** ### Errors @@ -104,13 +107,20 @@ import { | ----------------- | ----------------- | ----------------- | | errors.GleanError | 4XX, 5XX | \*/\* | -## run +## authorizeActionPack + +Starts the third-party OAuth flow for the specified action pack and returns the +redirect URL that the client should navigate the end user to. After the OAuth +callback completes, the user's browser is redirected back to `returnUrl` with a +status query parameter (`?glean_action_auth=success|error&actionPackId=...`). + +`returnUrl` must match the tenant's configured return URL allowlist; otherwise the +request is rejected with 400. -Execute the specified tool with provided parameters ### Example Usage - + ```typescript import { Glean } from "@gleanwork/api-client"; @@ -119,15 +129,9 @@ const glean = new Glean({ }); async function run() { - const result = await glean.client.tools.run({ - name: "", - parameters: { - "key": { - name: "", - value: "", - }, - }, - }); + const result = await glean.tools.authorizeActionPack({ + returnUrl: "https://merry-allocation.org/", + }, ""); console.log(result); } @@ -141,7 +145,7 @@ 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"; +import { toolsAuthorizeActionPack } from "@gleanwork/api-client/funcs/toolsAuthorizeActionPack.js"; // Use `GleanCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -150,20 +154,14 @@ const glean = new GleanCore({ }); async function run() { - const res = await clientToolsRun(glean, { - name: "", - parameters: { - "key": { - name: "", - value: "", - }, - }, - }); + const res = await toolsAuthorizeActionPack(glean, { + returnUrl: "https://merry-allocation.org/", + }, ""); if (res.ok) { const { value: result } = res; console.log(result); } else { - console.log("clientToolsRun failed:", res.error); + console.log("toolsAuthorizeActionPack failed:", res.error); } } @@ -183,22 +181,23 @@ associated utilities. ```tsx import { // Mutation hook for triggering the API call. - useClientToolsRunMutation -} from "@gleanwork/api-client/react-query/clientToolsRun.js"; + useToolsAuthorizeActionPackMutation +} from "@gleanwork/api-client/react-query/toolsAuthorizeActionPack.js"; ``` ### Parameters | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [components.ToolsCallRequest](../../models/components/toolscallrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `actionPackId` | *string* | :heavy_check_mark: | ID of the action pack to query or authorize. | +| `authorizeActionPackRequest` | [components.AuthorizeActionPackRequest](../../models/components/authorizeactionpackrequest.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.ToolsCallResponse](../../models/components/toolscallresponse.md)\>** +**Promise\<[components.AuthorizeActionPackResponse](../../models/components/authorizeactionpackresponse.md)\>** ### Errors diff --git a/docs/sdks/troubleshooting/README.md b/docs/sdks/troubleshooting/README.md new file mode 100644 index 00000000..ae68493c --- /dev/null +++ b/docs/sdks/troubleshooting/README.md @@ -0,0 +1,106 @@ +# 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 21dddc6d..9d55e45f 100644 --- a/examples/package-lock.json +++ b/examples/package-lock.json @@ -18,7 +18,7 @@ }, "..": { "name": "@gleanwork/api-client", - "version": "0.14.19", + "version": "0.15.0", "dependencies": { "zod": "^3.25.0 || ^4.0.0" }, diff --git a/jsr.json b/jsr.json index bf9bf277..a7a506e5 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "@gleanwork/api-client", - "version": "0.14.19", + "version": "0.15.0", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/package-lock.json b/package-lock.json index 87fc6da6..119ad6cf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@gleanwork/api-client", - "version": "0.14.19", + "version": "0.15.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@gleanwork/api-client", - "version": "0.14.19", + "version": "0.15.0", "dependencies": { "zod": "^3.25.0 || ^4.0.0" }, diff --git a/package.json b/package.json index 1ecfe890..adc87745 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gleanwork/api-client", - "version": "0.14.19", + "version": "0.15.0", "author": "Speakeasy", "tshy": { "sourceDialects": [ diff --git a/src/__tests__/chat.test.ts b/src/__tests__/chat.test.ts new file mode 100644 index 00000000..6937dd9f --- /dev/null +++ b/src/__tests__/chat.test.ts @@ -0,0 +1,21 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: bf83434eb7e7 + */ + +import { expect, test } from "vitest"; +import { Glean } from "../index.js"; +import { createTestHTTPClient } from "./testclient.js"; + +test("Chat Get Chat File", async () => { + const testHttpClient = createTestHTTPClient("getChatFile"); + + 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.chat.getChatFile(""); + expect(result).toBeDefined(); +}); diff --git a/src/__tests__/custommetadata.test.ts b/src/__tests__/custommetadata.test.ts new file mode 100644 index 00000000..265beab1 --- /dev/null +++ b/src/__tests__/custommetadata.test.ts @@ -0,0 +1,101 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: cc528d845e70 + */ + +import { expect, test } from "vitest"; +import { Glean } from "../index.js"; +import { createTestHTTPClient } from "./testclient.js"; + +test("Custommetadata Put /Rest/api/index/document/{doc Id}/custom Metadata/{group Name}", async () => { + const testHttpClient = createTestHTTPClient( + "put_/rest/api/index/document/{docId}/custom-metadata/{groupName}", + ); + + const glean = new Glean({ + httpClient: testHttpClient, + apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", + }); + + const result = await glean.indexing.customMetadata.upsert( + { + customMetadata: [], + }, + "", + "", + { + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + }, + ); + expect(result).toBeDefined(); +}); + +test("Custommetadata Delete /Rest/api/index/document/{doc Id}/custom Metadata/{group Name}", async () => { + const testHttpClient = createTestHTTPClient( + "delete_/rest/api/index/document/{docId}/custom-metadata/{groupName}", + ); + + const glean = new Glean({ + httpClient: testHttpClient, + apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", + }); + + const result = await glean.indexing.customMetadata.delete("", "", { + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + }); + expect(result).toBeDefined(); +}); + +test("Custommetadata Get /Rest/api/index/custom Metadata/schema/{group Name}", async () => { + const testHttpClient = createTestHTTPClient( + "get_/rest/api/index/custom-metadata/schema/{groupName}", + ); + + const glean = new Glean({ + httpClient: testHttpClient, + apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", + }); + + const result = await glean.indexing.customMetadata.getSchema("", { + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + }); + expect(result).toBeDefined(); +}); + +test("Custommetadata Put /Rest/api/index/custom Metadata/schema/{group Name}", async () => { + const testHttpClient = createTestHTTPClient( + "put_/rest/api/index/custom-metadata/schema/{groupName}", + ); + + const glean = new Glean({ + httpClient: testHttpClient, + apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", + }); + + const result = await glean.indexing.customMetadata.upsertSchema( + { + metadataKeys: [], + }, + "", + { + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + }, + ); + expect(result).toBeDefined(); +}); + +test("Custommetadata Delete /Rest/api/index/custom Metadata/schema/{group Name}", async () => { + const testHttpClient = createTestHTTPClient( + "delete_/rest/api/index/custom-metadata/schema/{groupName}", + ); + + const glean = new Glean({ + httpClient: testHttpClient, + apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", + }); + + const result = await glean.indexing.customMetadata.deleteSchema("", { + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + }); + expect(result).toBeDefined(); +}); diff --git a/src/__tests__/datasources.test.ts b/src/__tests__/datasources.test.ts index 87d490eb..27025fea 100644 --- a/src/__tests__/datasources.test.ts +++ b/src/__tests__/datasources.test.ts @@ -99,3 +99,37 @@ test("Datasources Update Datasource Instance Configuration", async () => { ); 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 55646395..cc37bc60 100644 --- a/src/__tests__/entities.test.ts +++ b/src/__tests__/entities.test.ts @@ -5,6 +5,7 @@ import { assert, expect, it, test } from "vitest"; import { Glean } from "../index.js"; +import { GetPersonPhotoAcceptEnum } from "../sdk/entities.js"; import { createTestHTTPClient } from "./testclient.js"; test("Entities Listentities", async () => { @@ -60,3 +61,18 @@ it.skip("Entities Teams", async () => { "incomplete test found please make sure to address the following errors: [`workflow step teams.test referencing operation teams not found in document`]", ); }); + +test("Entities Get Person Photo", async () => { + const testHttpClient = createTestHTTPClient("getPersonPhoto"); + + 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.entities.getPersonPhoto("", undefined, { + acceptHeaderOverride: GetPersonPhotoAcceptEnum.imagePng, + }); + expect(result).toBeDefined(); +}); diff --git a/src/__tests__/messages.test.ts b/src/__tests__/messages.test.ts index 41c0b3c9..f3905434 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: "GCHAT", + datasource: "FACEBOOKWORKPLACE", }); expect(result).toBeDefined(); }); diff --git a/src/__tests__/mockserver/internal/handler/generated_handlers.go b/src/__tests__/mockserver/internal/handler/generated_handlers.go index ca6e8f1f..c4e30027 100644 --- a/src/__tests__/mockserver/internal/handler/generated_handlers.go +++ b/src/__tests__/mockserver/internal/handler/generated_handlers.go @@ -13,12 +13,19 @@ import ( // GeneratedHandlers returns all generated handlers. func GeneratedHandlers(ctx context.Context, dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) []*GeneratedHandler { 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, "/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)), NewGeneratedHandler(ctx, http.MethodGet, "/rest/api/v1/agents/{agent_id}/schemas", pathGetRestAPIV1AgentsAgentIDSchemas(dir, rt)), + NewGeneratedHandler(ctx, http.MethodGet, "/rest/api/v1/chat-files/{fileId}", pathGetRestAPIV1ChatFilesFileID(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/rest/api/v1/configure/datasources/{datasourceId}/instances/{instanceId}", pathGetRestAPIV1ConfigureDatasourcesDatasourceIDInstancesInstanceID(dir, rt)), + NewGeneratedHandler(ctx, http.MethodGet, "/rest/api/v1/datasource/{datasourceInstanceId}/credentialstatus", pathGetRestAPIV1DatasourceDatasourceInstanceIDCredentialstatus(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/rest/api/v1/governance/data/findings/exports", pathGetRestAPIV1GovernanceDataFindingsExports(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/rest/api/v1/governance/data/policies", pathGetRestAPIV1GovernanceDataPolicies(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/rest/api/v1/governance/data/policies/{id}", pathGetRestAPIV1GovernanceDataPoliciesID(dir, 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/index/v1/adddatasource", pathPostAPIIndexV1Adddatasource(dir, rt)), @@ -46,6 +53,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, "/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)), NewGeneratedHandler(ctx, http.MethodPost, "/rest/api/v1/addverificationreminder", pathPostRestAPIV1Addverificationreminder(dir, rt)), @@ -58,6 +66,7 @@ func GeneratedHandlers(ctx context.Context, dir *logging.HTTPFileDirectory, rt * NewGeneratedHandler(ctx, http.MethodPost, "/rest/api/v1/createauthtoken", pathPostRestAPIV1Createauthtoken(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/rest/api/v1/createcollection", pathPostRestAPIV1Createcollection(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/rest/api/v1/createshortcut", pathPostRestAPIV1Createshortcut(dir, rt)), + NewGeneratedHandler(ctx, http.MethodPost, "/rest/api/v1/datasource/{datasourceInstanceId}/credentials", pathPostRestAPIV1DatasourceDatasourceInstanceIDCredentials(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/rest/api/v1/deleteallchats", pathPostRestAPIV1Deleteallchats(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/rest/api/v1/deleteannouncement", pathPostRestAPIV1Deleteannouncement(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/rest/api/v1/deleteanswer", pathPostRestAPIV1Deleteanswer(dir, rt)), @@ -101,5 +110,7 @@ func GeneratedHandlers(ctx context.Context, dir *logging.HTTPFileDirectory, rt * NewGeneratedHandler(ctx, http.MethodPost, "/rest/api/v1/updateannouncement", pathPostRestAPIV1Updateannouncement(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/rest/api/v1/updateshortcut", pathPostRestAPIV1Updateshortcut(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/rest/api/v1/verify", pathPostRestAPIV1Verify(dir, rt)), + NewGeneratedHandler(ctx, http.MethodPut, "/rest/api/index/custom-metadata/schema/{groupName}", pathPutRestAPIIndexCustomMetadataSchemaGroupName(dir, rt)), + NewGeneratedHandler(ctx, http.MethodPut, "/rest/api/index/document/{docId}/custom-metadata/{groupName}", pathPutRestAPIIndexDocumentDocIDCustomMetadataGroupName(dir, rt)), } } diff --git a/src/__tests__/mockserver/internal/handler/pathdeleterestapiindexcustommetadataschemagroupname.go b/src/__tests__/mockserver/internal/handler/pathdeleterestapiindexcustommetadataschemagroupname.go new file mode 100644 index 00000000..626813a1 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathdeleterestapiindexcustommetadataschemagroupname.go @@ -0,0 +1,66 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: ef047f0e0f32 + +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 pathDeleteRestAPIIndexCustomMetadataSchemaGroupName(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 "delete_/rest/api/index/custom-metadata/schema/{groupName}[0]": + dir.HandlerFunc("delete_/rest/api/index/custom-metadata/schema/{groupName}", testDeleteRestAPIIndexCustomMetadataSchemaGroupNameDeleteRestAPIIndexCustomMetadataSchemaGroupName0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testDeleteRestAPIIndexCustomMetadataSchemaGroupNameDeleteRestAPIIndexCustomMetadataSchemaGroupName0(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.SuccessResponse = &components.SuccessResponse{ + Success: types.Bool(true), + } + 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/pathdeleterestapiindexdocumentdocidcustommetadatagroupname.go b/src/__tests__/mockserver/internal/handler/pathdeleterestapiindexdocumentdocidcustommetadatagroupname.go new file mode 100644 index 00000000..5508b764 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathdeleterestapiindexdocumentdocidcustommetadatagroupname.go @@ -0,0 +1,66 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: cca19fb5005a + +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 pathDeleteRestAPIIndexDocumentDocIDCustomMetadataGroupName(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 "delete_/rest/api/index/document/{docId}/custom-metadata/{groupName}[0]": + dir.HandlerFunc("delete_/rest/api/index/document/{docId}/custom-metadata/{groupName}", testDeleteRestAPIIndexDocumentDocIDCustomMetadataGroupNameDeleteRestAPIIndexDocumentDocIDCustomMetadataGroupName0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testDeleteRestAPIIndexDocumentDocIDCustomMetadataGroupNameDeleteRestAPIIndexDocumentDocIDCustomMetadataGroupName0(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.SuccessResponse = &components.SuccessResponse{ + Success: types.Bool(true), + } + 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/pathgetrestapiindexcustommetadataschemagroupname.go b/src/__tests__/mockserver/internal/handler/pathgetrestapiindexcustommetadataschemagroupname.go new file mode 100644 index 00000000..2f88c234 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathgetrestapiindexcustommetadataschemagroupname.go @@ -0,0 +1,65 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 68f9bc7ddc35 + +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 pathGetRestAPIIndexCustomMetadataSchemaGroupName(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 "get_/rest/api/index/custom-metadata/schema/{groupName}[0]": + dir.HandlerFunc("get_/rest/api/index/custom-metadata/schema/{groupName}", testGetRestAPIIndexCustomMetadataSchemaGroupNameGetRestAPIIndexCustomMetadataSchemaGroupName0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testGetRestAPIIndexCustomMetadataSchemaGroupNameGetRestAPIIndexCustomMetadataSchemaGroupName0(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.CustomMetadataSchema = &components.CustomMetadataSchema{ + MetadataKeys: []components.CustomMetadataPropertyDefinition{}, + } + 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/pathgetrestapiv1actionsactionpackactionpackidauth.go b/src/__tests__/mockserver/internal/handler/pathgetrestapiv1actionsactionpackactionpackidauth.go new file mode 100644 index 00000000..c4fdbf35 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathgetrestapiv1actionsactionpackactionpackidauth.go @@ -0,0 +1,68 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 479adebd57c8 + +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 pathGetRestAPIV1ActionsActionpackActionPackIDAuth(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 "getActionPackAuthStatus[0]": + dir.HandlerFunc("getActionPackAuthStatus", testGetActionPackAuthStatusGetActionPackAuthStatus0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testGetActionPackAuthStatusGetActionPackAuthStatus0(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.ActionPackAuthStatusResponse = &components.ActionPackAuthStatusResponse{ + ActionPack: components.ActionPackAuthStatus{ + Authenticated: true, + AuthType: components.ActionAuthTypeAuthUserOauth, + }, + } + 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/pathgetrestapiv1chatfilesfileid.go b/src/__tests__/mockserver/internal/handler/pathgetrestapiv1chatfilesfileid.go new file mode 100644 index 00000000..be7ba320 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathgetrestapiv1chatfilesfileid.go @@ -0,0 +1,52 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: fec2df39d630 + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/handler/values" + "mockserver/internal/logging" + "mockserver/internal/tracking" + "net/http" +) + +func pathGetRestAPIV1ChatFilesFileID(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 "getChatFile[0]": + dir.HandlerFunc("getChatFile", testGetChatFileGetChatFile0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testGetChatFileGetChatFile0(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/octet-stream"}); 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 + } + respBodyBytes := values.ReadFileToBytes("./testdata/example.file") + w.Header().Set("Content-Type", "application/octet-stream") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathgetrestapiv1datasourcedatasourceinstanceidcredentialstatus.go b/src/__tests__/mockserver/internal/handler/pathgetrestapiv1datasourcedatasourceinstanceidcredentialstatus.go new file mode 100644 index 00000000..55d157f3 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathgetrestapiv1datasourcedatasourceinstanceidcredentialstatus.go @@ -0,0 +1,65 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: b211015821ce + +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 pathGetRestAPIV1DatasourceDatasourceInstanceIDCredentialstatus(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 "getDatasourceCredentialStatus[0]": + dir.HandlerFunc("getDatasourceCredentialStatus", testGetDatasourceCredentialStatusGetDatasourceCredentialStatus0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testGetDatasourceCredentialStatusGetDatasourceCredentialStatus0(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.DatasourceCredentialStatusResponse = &components.DatasourceCredentialStatusResponse{ + Status: components.DatasourceCredentialStatusValid, + } + 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/pathgetrestapiv1peoplepersonidphoto.go b/src/__tests__/mockserver/internal/handler/pathgetrestapiv1peoplepersonidphoto.go new file mode 100644 index 00000000..ee342728 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathgetrestapiv1peoplepersonidphoto.go @@ -0,0 +1,52 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 3b059ad09057 + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/handler/values" + "mockserver/internal/logging" + "mockserver/internal/tracking" + "net/http" +) + +func pathGetRestAPIV1PeoplePersonIDPhoto(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 "getPersonPhoto[0]": + dir.HandlerFunc("getPersonPhoto", testGetPersonPhotoGetPersonPhoto0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testGetPersonPhotoGetPersonPhoto0(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{"image/jpeg;q=1", "image/png;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 + } + respBodyBytes := values.ReadFileToBytes("./testdata/example.file") + w.Header().Set("Content-Type", "image/png") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathpostrestapiv1actionsactionpackactionpackidauth.go b/src/__tests__/mockserver/internal/handler/pathpostrestapiv1actionsactionpackactionpackidauth.go new file mode 100644 index 00000000..c81097e4 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathpostrestapiv1actionsactionpackactionpackidauth.go @@ -0,0 +1,70 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 4444898143aa + +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 pathPostRestAPIV1ActionsActionpackActionPackIDAuth(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 "authorizeActionPack[0]": + dir.HandlerFunc("authorizeActionPack", testAuthorizeActionPackAuthorizeActionPack0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testAuthorizeActionPackAuthorizeActionPack0(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.AuthorizeActionPackResponse = &components.AuthorizeActionPackResponse{ + RedirectURL: "https://unconscious-diversity.net", + } + 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/pathpostrestapiv1datasourcedatasourceinstanceidcredentials.go b/src/__tests__/mockserver/internal/handler/pathpostrestapiv1datasourcedatasourceinstanceidcredentials.go new file mode 100644 index 00000000..02eb33d1 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathpostrestapiv1datasourcedatasourceinstanceidcredentials.go @@ -0,0 +1,70 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 81b73e5eaecc + +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 pathPostRestAPIV1DatasourceDatasourceInstanceIDCredentials(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 "rotateDatasourceCredentials[0]": + dir.HandlerFunc("rotateDatasourceCredentials", testRotateDatasourceCredentialsRotateDatasourceCredentials0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testRotateDatasourceCredentialsRotateDatasourceCredentials0(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.DatasourceCredentialStatusResponse = &components.DatasourceCredentialStatusResponse{ + Status: components.DatasourceCredentialStatusMissing, + } + 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/pathputrestapiindexcustommetadataschemagroupname.go b/src/__tests__/mockserver/internal/handler/pathputrestapiindexcustommetadataschemagroupname.go new file mode 100644 index 00000000..cbeac910 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathputrestapiindexcustommetadataschemagroupname.go @@ -0,0 +1,71 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: f389b38657f4 + +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 pathPutRestAPIIndexCustomMetadataSchemaGroupName(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 "put_/rest/api/index/custom-metadata/schema/{groupName}[0]": + dir.HandlerFunc("put_/rest/api/index/custom-metadata/schema/{groupName}", testPutRestAPIIndexCustomMetadataSchemaGroupNamePutRestAPIIndexCustomMetadataSchemaGroupName0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testPutRestAPIIndexCustomMetadataSchemaGroupNamePutRestAPIIndexCustomMetadataSchemaGroupName0(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.SuccessResponse = &components.SuccessResponse{ + Success: types.Bool(true), + } + 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/pathputrestapiindexdocumentdocidcustommetadatagroupname.go b/src/__tests__/mockserver/internal/handler/pathputrestapiindexdocumentdocidcustommetadatagroupname.go new file mode 100644 index 00000000..b2e68587 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathputrestapiindexdocumentdocidcustommetadatagroupname.go @@ -0,0 +1,71 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: d76f59d94c50 + +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 pathPutRestAPIIndexDocumentDocIDCustomMetadataGroupName(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 "put_/rest/api/index/document/{docId}/custom-metadata/{groupName}[0]": + dir.HandlerFunc("put_/rest/api/index/document/{docId}/custom-metadata/{groupName}", testPutRestAPIIndexDocumentDocIDCustomMetadataGroupNamePutRestAPIIndexDocumentDocIDCustomMetadataGroupName0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testPutRestAPIIndexDocumentDocIDCustomMetadataGroupNamePutRestAPIIndexDocumentDocIDCustomMetadataGroupName0(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.SuccessResponse = &components.SuccessResponse{ + Success: types.Bool(true), + } + 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/actionauthtype.go b/src/__tests__/mockserver/internal/sdk/models/components/actionauthtype.go new file mode 100644 index 00000000..4e6cd12f --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/actionauthtype.go @@ -0,0 +1,42 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: a87edf85157a + +package components + +import ( + "encoding/json" + "fmt" +) + +// ActionAuthType - 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. +type ActionAuthType string + +const ( + ActionAuthTypeAuthUserOauth ActionAuthType = "AUTH_USER_OAUTH" + ActionAuthTypeAuthAdmin ActionAuthType = "AUTH_ADMIN" + ActionAuthTypeAuthNone ActionAuthType = "AUTH_NONE" +) + +func (e ActionAuthType) ToPointer() *ActionAuthType { + return &e +} +func (e *ActionAuthType) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "AUTH_USER_OAUTH": + fallthrough + case "AUTH_ADMIN": + fallthrough + case "AUTH_NONE": + *e = ActionAuthType(v) + return nil + default: + return fmt.Errorf("invalid value for ActionAuthType: %v", v) + } +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/actionpackauthstatus.go b/src/__tests__/mockserver/internal/sdk/models/components/actionpackauthstatus.go new file mode 100644 index 00000000..6e5e1d8d --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/actionpackauthstatus.go @@ -0,0 +1,29 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: db25e2dc49f5 + +package components + +type ActionPackAuthStatus struct { + // Whether the calling user is already authenticated to the tool backing the action pack. + Authenticated bool `json:"authenticated"` + // 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. + // + AuthType ActionAuthType `json:"authType"` +} + +func (o *ActionPackAuthStatus) GetAuthenticated() bool { + if o == nil { + return false + } + return o.Authenticated +} + +func (o *ActionPackAuthStatus) GetAuthType() ActionAuthType { + if o == nil { + return ActionAuthType("") + } + return o.AuthType +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/actionpackauthstatusresponse.go b/src/__tests__/mockserver/internal/sdk/models/components/actionpackauthstatusresponse.go new file mode 100644 index 00000000..cae96028 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/actionpackauthstatusresponse.go @@ -0,0 +1,15 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 25ad3350e934 + +package components + +type ActionPackAuthStatusResponse struct { + ActionPack ActionPackAuthStatus `json:"actionPack"` +} + +func (o *ActionPackAuthStatusResponse) GetActionPack() ActionPackAuthStatus { + if o == nil { + return ActionPackAuthStatus{} + } + return o.ActionPack +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/addcollectionitemserror.go b/src/__tests__/mockserver/internal/sdk/models/components/addcollectionitemserror.go index 0167d2f5..535a3e69 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/addcollectionitemserror.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/addcollectionitemserror.go @@ -12,6 +12,7 @@ type AddCollectionItemsErrorErrorType string const ( AddCollectionItemsErrorErrorTypeExistingItem AddCollectionItemsErrorErrorType = "EXISTING_ITEM" + AddCollectionItemsErrorErrorTypeCorruptItem AddCollectionItemsErrorErrorType = "CORRUPT_ITEM" ) func (e AddCollectionItemsErrorErrorType) ToPointer() *AddCollectionItemsErrorErrorType { @@ -24,6 +25,8 @@ func (e *AddCollectionItemsErrorErrorType) UnmarshalJSON(data []byte) error { } switch v { case "EXISTING_ITEM": + fallthrough + case "CORRUPT_ITEM": *e = AddCollectionItemsErrorErrorType(v) return nil default: diff --git a/src/__tests__/mockserver/internal/sdk/models/components/agentsinsightsv2request.go b/src/__tests__/mockserver/internal/sdk/models/components/agentsinsightsv2request.go index 17ce690c..9d245e8b 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/agentsinsightsv2request.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/agentsinsightsv2request.go @@ -8,7 +8,9 @@ type AgentsInsightsV2Request struct { AgentIds []string `json:"agentIds,omitempty"` // Departments for which Insights are requested. Departments []string `json:"departments,omitempty"` - DayRange *Period `json:"dayRange,omitempty"` + // Manager emails whose teams should be filtered for. Empty array means no filtering. + ManagerEmails []string `json:"managerEmails,omitempty"` + DayRange *Period `json:"dayRange,omitempty"` } func (o *AgentsInsightsV2Request) GetAgentIds() []string { @@ -25,6 +27,13 @@ func (o *AgentsInsightsV2Request) GetDepartments() []string { return o.Departments } +func (o *AgentsInsightsV2Request) GetManagerEmails() []string { + if o == nil { + return nil + } + return o.ManagerEmails +} + func (o *AgentsInsightsV2Request) GetDayRange() *Period { if o == nil { return nil diff --git a/src/__tests__/mockserver/internal/sdk/models/components/agentsinsightsv2response.go b/src/__tests__/mockserver/internal/sdk/models/components/agentsinsightsv2response.go index 11999740..2ce9f1b1 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/agentsinsightsv2response.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/agentsinsightsv2response.go @@ -4,9 +4,9 @@ package components type AgentsInsightsV2Response struct { - // Number of current Monthly Active Users, in the specified departments. + // Number of current Monthly Active Users. MonthlyActiveUsers *int64 `json:"monthlyActiveUsers,omitempty"` - // Number of current Weekly Active Users, in the specified departments. + // Number of current Weekly Active Users. WeeklyActiveUsers *int64 `json:"weeklyActiveUsers,omitempty"` MonthlyActiveUserTimeseries *LabeledCountInfo `json:"monthlyActiveUserTimeseries,omitempty"` WeeklyActiveUserTimeseries *LabeledCountInfo `json:"weeklyActiveUserTimeseries,omitempty"` @@ -14,6 +14,7 @@ type AgentsInsightsV2Response struct { // Total number of shared agents. SharedAgentsCount *int64 `json:"sharedAgentsCount,omitempty"` TopAgentsInsights []PerAgentInsight `json:"topAgentsInsights,omitempty"` + TopUseCasesInsights []AgentUseCaseInsight `json:"topUseCasesInsights,omitempty"` AgentsUsageByDepartmentInsights []AgentsUsageByDepartmentInsight `json:"agentsUsageByDepartmentInsights,omitempty"` AgentUsersInsights []AgentUsersInsight `json:"agentUsersInsights,omitempty"` // Insights for agents time saved over the specified time period. @@ -75,6 +76,13 @@ func (o *AgentsInsightsV2Response) GetTopAgentsInsights() []PerAgentInsight { return o.TopAgentsInsights } +func (o *AgentsInsightsV2Response) GetTopUseCasesInsights() []AgentUseCaseInsight { + if o == nil { + return nil + } + return o.TopUseCasesInsights +} + func (o *AgentsInsightsV2Response) GetAgentsUsageByDepartmentInsights() []AgentsUsageByDepartmentInsight { if o == nil { return nil diff --git a/src/__tests__/mockserver/internal/sdk/models/components/agentusecaseinsight.go b/src/__tests__/mockserver/internal/sdk/models/components/agentusecaseinsight.go new file mode 100644 index 00000000..430accd3 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/agentusecaseinsight.go @@ -0,0 +1,79 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 365fce97bbf7 + +package components + +type AgentUseCaseInsight struct { + // Use case name + UseCase *string `json:"useCase,omitempty"` + // Total number of runs for this use case over the specified time period. + RunCount *int64 `json:"runCount,omitempty"` + // Percentage change in runs compared to the previous equivalent time period. + Trend *float32 `json:"trend,omitempty"` + // Comma-separated list of the top departments using this use case. + TopDepartments *string `json:"topDepartments,omitempty"` + // ID of the most-used agent for this use case. + TopAgentID *string `json:"topAgentId,omitempty"` + // Name of the most-used agent for this use case. + TopAgentName *string `json:"topAgentName,omitempty"` + // Defines how to render an icon + TopAgentIcon *IconConfig `json:"topAgentIcon,omitempty"` + // Indicates whether the top agent has been deleted. + TopAgentIsDeleted *bool `json:"topAgentIsDeleted,omitempty"` +} + +func (o *AgentUseCaseInsight) GetUseCase() *string { + if o == nil { + return nil + } + return o.UseCase +} + +func (o *AgentUseCaseInsight) GetRunCount() *int64 { + if o == nil { + return nil + } + return o.RunCount +} + +func (o *AgentUseCaseInsight) GetTrend() *float32 { + if o == nil { + return nil + } + return o.Trend +} + +func (o *AgentUseCaseInsight) GetTopDepartments() *string { + if o == nil { + return nil + } + return o.TopDepartments +} + +func (o *AgentUseCaseInsight) GetTopAgentID() *string { + if o == nil { + return nil + } + return o.TopAgentID +} + +func (o *AgentUseCaseInsight) GetTopAgentName() *string { + if o == nil { + return nil + } + return o.TopAgentName +} + +func (o *AgentUseCaseInsight) GetTopAgentIcon() *IconConfig { + if o == nil { + return nil + } + return o.TopAgentIcon +} + +func (o *AgentUseCaseInsight) GetTopAgentIsDeleted() *bool { + if o == nil { + return nil + } + return o.TopAgentIsDeleted +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/announcement.go b/src/__tests__/mockserver/internal/sdk/models/components/announcement.go index 272cf358..2d1b4216 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/announcement.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/announcement.go @@ -114,6 +114,8 @@ type Announcement struct { // The opaque id of the associated draft. DraftID *int64 `json:"draftId,omitempty"` Permissions *ObjectPermissions `json:"permissions,omitempty"` + // An opaque token that represents this particular UGC. To be used for `/feedback` reporting. + TrackingToken *string `json:"trackingToken,omitempty"` // The opaque id of the announcement. ID *int64 `json:"id,omitempty"` Author *Person `json:"author,omitempty"` @@ -251,6 +253,13 @@ func (o *Announcement) GetPermissions() *ObjectPermissions { return o.Permissions } +func (o *Announcement) GetTrackingToken() *string { + if o == nil { + return nil + } + return o.TrackingToken +} + func (o *Announcement) GetID() *int64 { if o == nil { return nil diff --git a/src/__tests__/mockserver/internal/sdk/models/components/answer.go b/src/__tests__/mockserver/internal/sdk/models/components/answer.go index 13dfa8c2..c6170b53 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/answer.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/answer.go @@ -61,9 +61,11 @@ type Answer struct { SourceDocumentSpec *DocumentSpecUnion `json:"sourceDocumentSpec,omitempty"` SourceType *AnswerSourceType `json:"sourceType,omitempty"` Permissions *ObjectPermissions `json:"permissions,omitempty"` - CombinedAnswerText *StructuredText `json:"combinedAnswerText,omitempty"` - Likes *AnswerLikes `json:"likes,omitempty"` - Author *Person `json:"author,omitempty"` + // An opaque token that represents this particular UGC. To be used for `/feedback` reporting. + TrackingToken *string `json:"trackingToken,omitempty"` + CombinedAnswerText *StructuredText `json:"combinedAnswerText,omitempty"` + Likes *AnswerLikes `json:"likes,omitempty"` + Author *Person `json:"author,omitempty"` // The time the answer was created in ISO format (ISO 8601). CreateTime *time.Time `json:"createTime,omitempty"` // The time the answer was last updated in ISO format (ISO 8601). @@ -179,6 +181,13 @@ func (o *Answer) GetPermissions() *ObjectPermissions { return o.Permissions } +func (o *Answer) GetTrackingToken() *string { + if o == nil { + return nil + } + return o.TrackingToken +} + func (o *Answer) GetCombinedAnswerText() *StructuredText { if o == nil { return nil diff --git a/src/__tests__/mockserver/internal/sdk/models/components/answerresult.go b/src/__tests__/mockserver/internal/sdk/models/components/answerresult.go index a1e0d88b..9c27d78c 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/answerresult.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/answerresult.go @@ -5,7 +5,9 @@ package components type AnswerResult struct { Answer Answer `json:"answer"` - // An opaque token that represents this particular Answer. To be used for `/feedback` reporting. + // Use `answer.trackingToken` instead. + // + // Deprecated: Deprecated on 2026-05-07, removal scheduled for 2027-01-15: Use `answer.trackingToken` instead.. TrackingToken *string `json:"trackingToken,omitempty"` } diff --git a/src/__tests__/mockserver/internal/sdk/models/components/assistantinsightsresponse.go b/src/__tests__/mockserver/internal/sdk/models/components/assistantinsightsresponse.go index e4dac72f..f48df570 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/assistantinsightsresponse.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/assistantinsightsresponse.go @@ -4,9 +4,9 @@ package components type AssistantInsightsResponse struct { - // Number of current Monthly Active Users, in the specified departments. + // Number of current Monthly Active Users. MonthlyActiveUsers *int64 `json:"monthlyActiveUsers,omitempty"` - // Number of current Weekly Active Users, in the specified departments. + // Number of current Weekly Active Users. WeeklyActiveUsers *int64 `json:"weeklyActiveUsers,omitempty"` // Unix timestamp of the last update for the insights data in the response. LastUpdatedTs *int64 `json:"lastUpdatedTs,omitempty"` diff --git a/src/__tests__/mockserver/internal/sdk/models/components/authorizeactionpackrequest.go b/src/__tests__/mockserver/internal/sdk/models/components/authorizeactionpackrequest.go new file mode 100644 index 00000000..352df3c0 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/authorizeactionpackrequest.go @@ -0,0 +1,18 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: db63660d8f6e + +package components + +type AuthorizeActionPackRequest struct { + // 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. + // + ReturnURL string `json:"returnUrl"` +} + +func (o *AuthorizeActionPackRequest) GetReturnURL() string { + if o == nil { + return "" + } + return o.ReturnURL +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/authorizeactionpackresponse.go b/src/__tests__/mockserver/internal/sdk/models/components/authorizeactionpackresponse.go new file mode 100644 index 00000000..153960dd --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/authorizeactionpackresponse.go @@ -0,0 +1,18 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 9fbec925f40d + +package components + +type AuthorizeActionPackResponse struct { + // 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. + // + RedirectURL string `json:"redirectUrl"` +} + +func (o *AuthorizeActionPackResponse) GetRedirectURL() string { + if o == nil { + return "" + } + return o.RedirectURL +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/chatsuggestion.go b/src/__tests__/mockserver/internal/sdk/models/components/chatsuggestion.go index d00bdcdf..f49ad2b6 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/chatsuggestion.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/chatsuggestion.go @@ -6,8 +6,12 @@ package components type ChatSuggestion struct { // The actionable chat query to run when the user selects this suggestion. Query *string `json:"query,omitempty"` + // Button text to show for the suggestion action. + Cta *string `json:"cta,omitempty"` // Targeted Glean Chat feature for the suggestion. Feature *string `json:"feature,omitempty"` + // Document IDs that grounded the suggestion. + SourceDocumentIds []string `json:"sourceDocumentIds,omitempty"` } func (o *ChatSuggestion) GetQuery() *string { @@ -17,9 +21,23 @@ func (o *ChatSuggestion) GetQuery() *string { return o.Query } +func (o *ChatSuggestion) GetCta() *string { + if o == nil { + return nil + } + return o.Cta +} + func (o *ChatSuggestion) GetFeature() *string { if o == nil { return nil } return o.Feature } + +func (o *ChatSuggestion) GetSourceDocumentIds() []string { + if o == nil { + return nil + } + return o.SourceDocumentIds +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/collection.go b/src/__tests__/mockserver/internal/sdk/models/components/collection.go index 9d72eaec..2fe0c468 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/collection.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/collection.go @@ -29,6 +29,8 @@ type Collection struct { // The datasource type this Collection can hold. AllowedDatasource *string `json:"allowedDatasource,omitempty"` Permissions *ObjectPermissions `json:"permissions,omitempty"` + // An opaque token that represents this particular UGC. To be used for `/feedback` reporting. + TrackingToken *string `json:"trackingToken,omitempty"` // The unique ID of the Collection. ID int64 `json:"id"` CreateTime *time.Time `json:"createTime,omitempty"` @@ -138,6 +140,13 @@ func (o *Collection) GetPermissions() *ObjectPermissions { return o.Permissions } +func (o *Collection) GetTrackingToken() *string { + if o == nil { + return nil + } + return o.TrackingToken +} + func (o *Collection) GetID() int64 { if o == nil { return 0 diff --git a/src/__tests__/mockserver/internal/sdk/models/components/collectionerror.go b/src/__tests__/mockserver/internal/sdk/models/components/collectionerror.go index 63ddc194..5fc337e4 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/collectionerror.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/collectionerror.go @@ -19,6 +19,7 @@ const ( CollectionErrorErrorCodeHeightViolation CollectionErrorErrorCode = "HEIGHT_VIOLATION" CollectionErrorErrorCodeWidthViolation CollectionErrorErrorCode = "WIDTH_VIOLATION" CollectionErrorErrorCodeNoPermissions CollectionErrorErrorCode = "NO_PERMISSIONS" + CollectionErrorErrorCodeCorruptItem CollectionErrorErrorCode = "CORRUPT_ITEM" ) func (e CollectionErrorErrorCode) ToPointer() *CollectionErrorErrorCode { @@ -43,6 +44,8 @@ func (e *CollectionErrorErrorCode) UnmarshalJSON(data []byte) error { case "WIDTH_VIOLATION": fallthrough case "NO_PERMISSIONS": + fallthrough + case "CORRUPT_ITEM": *e = CollectionErrorErrorCode(v) return nil default: diff --git a/src/__tests__/mockserver/internal/sdk/models/components/currentactiveusers.go b/src/__tests__/mockserver/internal/sdk/models/components/currentactiveusers.go index 12663c38..54a9e9e9 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/currentactiveusers.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/currentactiveusers.go @@ -4,9 +4,9 @@ package components type CurrentActiveUsers struct { - // Number of current Monthly Active Users, in the specified departments. + // Number of current Monthly Active Users. MonthlyActiveUsers *int64 `json:"monthlyActiveUsers,omitempty"` - // Number of current Weekly Active Users, in the specified departments. + // Number of current Weekly Active Users. WeeklyActiveUsers *int64 `json:"weeklyActiveUsers,omitempty"` } diff --git a/src/__tests__/mockserver/internal/sdk/models/components/custommetadatapropertydefinition.go b/src/__tests__/mockserver/internal/sdk/models/components/custommetadatapropertydefinition.go new file mode 100644 index 00000000..cdaad8b6 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/custommetadatapropertydefinition.go @@ -0,0 +1,73 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: e36bba77dcd2 + +package components + +import ( + "encoding/json" + "fmt" +) + +// CustomMetadataPropertyDefinitionPropertyType - The type of metadata key. This governs the search and faceting behavior. +type CustomMetadataPropertyDefinitionPropertyType string + +const ( + CustomMetadataPropertyDefinitionPropertyTypeText CustomMetadataPropertyDefinitionPropertyType = "TEXT" + CustomMetadataPropertyDefinitionPropertyTypePicklist CustomMetadataPropertyDefinitionPropertyType = "PICKLIST" + CustomMetadataPropertyDefinitionPropertyTypeTextlist CustomMetadataPropertyDefinitionPropertyType = "TEXTLIST" + CustomMetadataPropertyDefinitionPropertyTypeMultipicklist CustomMetadataPropertyDefinitionPropertyType = "MULTIPICKLIST" +) + +func (e CustomMetadataPropertyDefinitionPropertyType) ToPointer() *CustomMetadataPropertyDefinitionPropertyType { + return &e +} +func (e *CustomMetadataPropertyDefinitionPropertyType) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "TEXT": + fallthrough + case "PICKLIST": + fallthrough + case "TEXTLIST": + fallthrough + case "MULTIPICKLIST": + *e = CustomMetadataPropertyDefinitionPropertyType(v) + return nil + default: + return fmt.Errorf("invalid value for CustomMetadataPropertyDefinitionPropertyType: %v", v) + } +} + +// CustomMetadataPropertyDefinition - The definition for a key within a Custom Metadata schema. Only the fields applicable to Custom Metadata are exposed. +type CustomMetadataPropertyDefinition struct { + // The name of the metadata key. + Name string `json:"name"` + // The type of metadata key. This governs the search and faceting behavior. + PropertyType CustomMetadataPropertyDefinitionPropertyType `json:"propertyType"` + // If true then the property will not be indexed for retrieval and ranking. + SkipIndexing *bool `json:"skipIndexing,omitempty"` +} + +func (o *CustomMetadataPropertyDefinition) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *CustomMetadataPropertyDefinition) GetPropertyType() CustomMetadataPropertyDefinitionPropertyType { + if o == nil { + return CustomMetadataPropertyDefinitionPropertyType("") + } + return o.PropertyType +} + +func (o *CustomMetadataPropertyDefinition) GetSkipIndexing() *bool { + if o == nil { + return nil + } + return o.SkipIndexing +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/custommetadataputrequest.go b/src/__tests__/mockserver/internal/sdk/models/components/custommetadataputrequest.go new file mode 100644 index 00000000..2aac73e4 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/custommetadataputrequest.go @@ -0,0 +1,17 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 9c9e5a8e2c6a + +package components + +// CustomMetadataPutRequest - Request body for adding or updating custom metadata on a document +type CustomMetadataPutRequest struct { + // Array of custom metadata key-value pairs + CustomMetadata []CustomProperty `json:"customMetadata"` +} + +func (o *CustomMetadataPutRequest) GetCustomMetadata() []CustomProperty { + if o == nil { + return []CustomProperty{} + } + return o.CustomMetadata +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/custommetadataschema.go b/src/__tests__/mockserver/internal/sdk/models/components/custommetadataschema.go new file mode 100644 index 00000000..ae444c0a --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/custommetadataschema.go @@ -0,0 +1,17 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 34ba445884a4 + +package components + +// CustomMetadataSchema - Schema for custom metadata containing metadata key definitions +type CustomMetadataSchema struct { + // Array of metadata key definitions + MetadataKeys []CustomMetadataPropertyDefinition `json:"metadataKeys"` +} + +func (o *CustomMetadataSchema) GetMetadataKeys() []CustomMetadataPropertyDefinition { + if o == nil { + return []CustomMetadataPropertyDefinition{} + } + return o.MetadataKeys +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/datasourcecredentialstatus.go b/src/__tests__/mockserver/internal/sdk/models/components/datasourcecredentialstatus.go new file mode 100644 index 00000000..bc3b4ea2 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/datasourcecredentialstatus.go @@ -0,0 +1,45 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 3d50460e0e75 + +package components + +import ( + "encoding/json" + "fmt" +) + +// DatasourceCredentialStatus - Lifecycle state of the credentials installed for a datasource instance. Mirrors the internal admin Status enum so the handler can surface the same health signals already tracked today. EXPIRING_SOON is represented as VALID_WITH_WARNINGS (with detail in `message`); EXPIRED is surfaced as INVALID plus a non-null `expiresAt` in the past. +type DatasourceCredentialStatus string + +const ( + DatasourceCredentialStatusValid DatasourceCredentialStatus = "VALID" + DatasourceCredentialStatusValidWithWarnings DatasourceCredentialStatus = "VALID_WITH_WARNINGS" + DatasourceCredentialStatusValidating DatasourceCredentialStatus = "VALIDATING" + DatasourceCredentialStatusInvalid DatasourceCredentialStatus = "INVALID" + DatasourceCredentialStatusMissing DatasourceCredentialStatus = "MISSING" +) + +func (e DatasourceCredentialStatus) ToPointer() *DatasourceCredentialStatus { + return &e +} +func (e *DatasourceCredentialStatus) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "VALID": + fallthrough + case "VALID_WITH_WARNINGS": + fallthrough + case "VALIDATING": + fallthrough + case "INVALID": + fallthrough + case "MISSING": + *e = DatasourceCredentialStatus(v) + return nil + default: + return fmt.Errorf("invalid value for DatasourceCredentialStatus: %v", v) + } +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/datasourcecredentialstatusresponse.go b/src/__tests__/mockserver/internal/sdk/models/components/datasourcecredentialstatusresponse.go new file mode 100644 index 00000000..a584afdc --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/datasourcecredentialstatusresponse.go @@ -0,0 +1,62 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 056edd590a0e + +package components + +import ( + "mockserver/internal/sdk/utils" + "time" +) + +// DatasourceCredentialStatusResponse - Status of the credentials currently installed for a datasource instance. +type DatasourceCredentialStatusResponse struct { + // Lifecycle state of the credentials installed for a datasource instance. Mirrors the internal admin Status enum so the handler can surface the same health signals already tracked today. EXPIRING_SOON is represented as VALID_WITH_WARNINGS (with detail in `message`); EXPIRED is surfaced as INVALID plus a non-null `expiresAt` in the past. + // + Status DatasourceCredentialStatus `json:"status"` + // When the credentials were last rotated. Omitted when not known. + LastRotatedAt *time.Time `json:"lastRotatedAt,omitempty"` + // When the active credentials expire. Omitted when not known or not applicable to this credential type. + // + ExpiresAt *time.Time `json:"expiresAt,omitempty"` + // Optional human-readable detail about the current credential status. + Message *string `json:"message,omitempty"` +} + +func (d DatasourceCredentialStatusResponse) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(d, "", false) +} + +func (d *DatasourceCredentialStatusResponse) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &d, "", false, []string{"status"}); err != nil { + return err + } + return nil +} + +func (o *DatasourceCredentialStatusResponse) GetStatus() DatasourceCredentialStatus { + if o == nil { + return DatasourceCredentialStatus("") + } + return o.Status +} + +func (o *DatasourceCredentialStatusResponse) GetLastRotatedAt() *time.Time { + if o == nil { + return nil + } + return o.LastRotatedAt +} + +func (o *DatasourceCredentialStatusResponse) GetExpiresAt() *time.Time { + if o == nil { + return nil + } + return o.ExpiresAt +} + +func (o *DatasourceCredentialStatusResponse) GetMessage() *string { + if o == nil { + return nil + } + return o.Message +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/debugdocumentlifecyclerequest.go b/src/__tests__/mockserver/internal/sdk/models/components/debugdocumentlifecyclerequest.go new file mode 100644 index 00000000..a9d97801 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/debugdocumentlifecyclerequest.go @@ -0,0 +1,44 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: c5a347c7e39b + +package components + +// DebugDocumentLifecycleRequest - Describes the request body of the /debug/{datasource}/document/events API call. +type DebugDocumentLifecycleRequest struct { + // Object type of the document to get lifecycle events for. + ObjectType string `json:"objectType"` + // Glean Document ID within the datasource to get lifecycle events for. + DocID string `json:"docId"` + // The start date for events to be fetched. Cannot be more than 30 days (default 7 days) in the past. + StartDate *string `json:"startDate,omitempty"` + // Max number of events to be fetched. Cannot be more than 100 (default 20). + MaxEvents *int64 `json:"maxEvents,omitempty"` +} + +func (o *DebugDocumentLifecycleRequest) GetObjectType() string { + if o == nil { + return "" + } + return o.ObjectType +} + +func (o *DebugDocumentLifecycleRequest) GetDocID() string { + if o == nil { + return "" + } + return o.DocID +} + +func (o *DebugDocumentLifecycleRequest) GetStartDate() *string { + if o == nil { + return nil + } + return o.StartDate +} + +func (o *DebugDocumentLifecycleRequest) GetMaxEvents() *int64 { + if o == nil { + return nil + } + return o.MaxEvents +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/debugdocumentlifecycleresponse.go b/src/__tests__/mockserver/internal/sdk/models/components/debugdocumentlifecycleresponse.go new file mode 100644 index 00000000..66240f12 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/debugdocumentlifecycleresponse.go @@ -0,0 +1,17 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: e4c48173199e + +package components + +// DebugDocumentLifecycleResponse - Describes the response body of the /debug/{datasource}/document/events API call +type DebugDocumentLifecycleResponse struct { + // List of lifecycle events corresponding to the document + LifeCycleEvents []LifeCycleEvent `json:"lifeCycleEvents,omitempty"` +} + +func (o *DebugDocumentLifecycleResponse) GetLifeCycleEvents() []LifeCycleEvent { + if o == nil { + return nil + } + return o.LifeCycleEvents +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/editcollectionresponse.go b/src/__tests__/mockserver/internal/sdk/models/components/editcollectionresponse.go index e06e4df7..4f0a3dae 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/editcollectionresponse.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/editcollectionresponse.go @@ -20,6 +20,7 @@ const ( EditCollectionResponseErrorCodeHeightViolation EditCollectionResponseErrorCode = "HEIGHT_VIOLATION" EditCollectionResponseErrorCodeWidthViolation EditCollectionResponseErrorCode = "WIDTH_VIOLATION" EditCollectionResponseErrorCodeNoPermissions EditCollectionResponseErrorCode = "NO_PERMISSIONS" + EditCollectionResponseErrorCodeCorruptItem EditCollectionResponseErrorCode = "CORRUPT_ITEM" ) func (e EditCollectionResponseErrorCode) ToPointer() *EditCollectionResponseErrorCode { @@ -44,6 +45,8 @@ func (e *EditCollectionResponseErrorCode) UnmarshalJSON(data []byte) error { case "WIDTH_VIOLATION": fallthrough case "NO_PERMISSIONS": + fallthrough + case "CORRUPT_ITEM": *e = EditCollectionResponseErrorCode(v) return nil default: @@ -72,6 +75,8 @@ type EditCollectionResponse struct { // The datasource type this Collection can hold. AllowedDatasource *string `json:"allowedDatasource,omitempty"` Permissions *ObjectPermissions `json:"permissions,omitempty"` + // An opaque token that represents this particular UGC. To be used for `/feedback` reporting. + TrackingToken *string `json:"trackingToken,omitempty"` // The unique ID of the Collection. ID int64 `json:"id"` CreateTime *time.Time `json:"createTime,omitempty"` @@ -184,6 +189,13 @@ func (o *EditCollectionResponse) GetPermissions() *ObjectPermissions { return o.Permissions } +func (o *EditCollectionResponse) GetTrackingToken() *string { + if o == nil { + return nil + } + return o.TrackingToken +} + func (o *EditCollectionResponse) GetID() int64 { if o == nil { return 0 diff --git a/src/__tests__/mockserver/internal/sdk/models/components/editworkflowrequest.go b/src/__tests__/mockserver/internal/sdk/models/components/editworkflowrequest.go new file mode 100644 index 00000000..66905be2 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/editworkflowrequest.go @@ -0,0 +1,25 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: ea4b3871d4ad + +package components + +type EditWorkflowRequest struct { + // The name of the workflow. + Name *string `json:"name,omitempty"` + // The workflow ID we want to update. + ID *string `json:"id,omitempty"` +} + +func (o *EditWorkflowRequest) GetName() *string { + if o == nil { + return nil + } + return o.Name +} + +func (o *EditWorkflowRequest) GetID() *string { + if o == nil { + return nil + } + return o.ID +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/feedback.go b/src/__tests__/mockserver/internal/sdk/models/components/feedback.go index 97523033..3ec537a3 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/feedback.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/feedback.go @@ -15,6 +15,8 @@ type FeedbackCategory string const ( FeedbackCategoryAnnouncement FeedbackCategory = "ANNOUNCEMENT" + FeedbackCategoryAnswers FeedbackCategory = "ANSWERS" + FeedbackCategoryArtifacts FeedbackCategory = "ARTIFACTS" FeedbackCategoryAutocomplete FeedbackCategory = "AUTOCOMPLETE" FeedbackCategoryCollections FeedbackCategory = "COLLECTIONS" FeedbackCategoryFeed FeedbackCategory = "FEED" @@ -39,6 +41,10 @@ func (e *FeedbackCategory) UnmarshalJSON(data []byte) error { switch v { case "ANNOUNCEMENT": fallthrough + case "ANSWERS": + fallthrough + case "ARTIFACTS": + fallthrough case "AUTOCOMPLETE": fallthrough case "COLLECTIONS": @@ -67,48 +73,48 @@ func (e *FeedbackCategory) UnmarshalJSON(data []byte) error { } } -// Event - The action the user took within a Glean client with respect to the object referred to by the given `trackingToken`. -type Event string +// FeedbackEvent - The action the user took within a Glean client with respect to the object referred to by the given `trackingToken`. +type FeedbackEvent string const ( - EventClick Event = "CLICK" - EventContainerClick Event = "CONTAINER_CLICK" - EventCopyLink Event = "COPY_LINK" - EventCreate Event = "CREATE" - EventDismiss Event = "DISMISS" - EventDownvote Event = "DOWNVOTE" - EventEmail Event = "EMAIL" - EventExecute Event = "EXECUTE" - EventFilter Event = "FILTER" - EventFirstToken Event = "FIRST_TOKEN" - EventFocusIn Event = "FOCUS_IN" - EventLastToken Event = "LAST_TOKEN" - EventManualFeedback Event = "MANUAL_FEEDBACK" - EventManualFeedbackSideBySide Event = "MANUAL_FEEDBACK_SIDE_BY_SIDE" - EventFeedbackTimeSaved Event = "FEEDBACK_TIME_SAVED" - EventMarkAsRead Event = "MARK_AS_READ" - EventMessage Event = "MESSAGE" - EventMiddleClick Event = "MIDDLE_CLICK" - EventPageBlur Event = "PAGE_BLUR" - EventPageFocus Event = "PAGE_FOCUS" - EventPageLeave Event = "PAGE_LEAVE" - EventPreview Event = "PREVIEW" - EventRelatedClick Event = "RELATED_CLICK" - EventRightClick Event = "RIGHT_CLICK" - EventSectionClick Event = "SECTION_CLICK" - EventSeen Event = "SEEN" - EventSelect Event = "SELECT" - EventShare Event = "SHARE" - EventShowMore Event = "SHOW_MORE" - EventUpvote Event = "UPVOTE" - EventView Event = "VIEW" - EventVisible Event = "VISIBLE" + FeedbackEventClick FeedbackEvent = "CLICK" + FeedbackEventContainerClick FeedbackEvent = "CONTAINER_CLICK" + FeedbackEventCopyLink FeedbackEvent = "COPY_LINK" + FeedbackEventCreate FeedbackEvent = "CREATE" + FeedbackEventDismiss FeedbackEvent = "DISMISS" + FeedbackEventDownvote FeedbackEvent = "DOWNVOTE" + FeedbackEventEmail FeedbackEvent = "EMAIL" + FeedbackEventExecute FeedbackEvent = "EXECUTE" + FeedbackEventFilter FeedbackEvent = "FILTER" + FeedbackEventFirstToken FeedbackEvent = "FIRST_TOKEN" + FeedbackEventFocusIn FeedbackEvent = "FOCUS_IN" + FeedbackEventLastToken FeedbackEvent = "LAST_TOKEN" + FeedbackEventManualFeedback FeedbackEvent = "MANUAL_FEEDBACK" + FeedbackEventManualFeedbackSideBySide FeedbackEvent = "MANUAL_FEEDBACK_SIDE_BY_SIDE" + FeedbackEventFeedbackTimeSaved FeedbackEvent = "FEEDBACK_TIME_SAVED" + FeedbackEventMarkAsRead FeedbackEvent = "MARK_AS_READ" + FeedbackEventMessage FeedbackEvent = "MESSAGE" + FeedbackEventMiddleClick FeedbackEvent = "MIDDLE_CLICK" + FeedbackEventPageBlur FeedbackEvent = "PAGE_BLUR" + FeedbackEventPageFocus FeedbackEvent = "PAGE_FOCUS" + FeedbackEventPageLeave FeedbackEvent = "PAGE_LEAVE" + FeedbackEventPreview FeedbackEvent = "PREVIEW" + FeedbackEventRelatedClick FeedbackEvent = "RELATED_CLICK" + FeedbackEventRightClick FeedbackEvent = "RIGHT_CLICK" + FeedbackEventSectionClick FeedbackEvent = "SECTION_CLICK" + FeedbackEventSeen FeedbackEvent = "SEEN" + FeedbackEventSelect FeedbackEvent = "SELECT" + FeedbackEventShare FeedbackEvent = "SHARE" + FeedbackEventShowMore FeedbackEvent = "SHOW_MORE" + FeedbackEventUpvote FeedbackEvent = "UPVOTE" + FeedbackEventView FeedbackEvent = "VIEW" + FeedbackEventVisible FeedbackEvent = "VISIBLE" ) -func (e Event) ToPointer() *Event { +func (e FeedbackEvent) ToPointer() *FeedbackEvent { return &e } -func (e *Event) UnmarshalJSON(data []byte) error { +func (e *FeedbackEvent) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { return err @@ -177,10 +183,10 @@ func (e *Event) UnmarshalJSON(data []byte) error { case "VIEW": fallthrough case "VISIBLE": - *e = Event(v) + *e = FeedbackEvent(v) return nil default: - return fmt.Errorf("invalid value for Event: %v", v) + return fmt.Errorf("invalid value for FeedbackEvent: %v", v) } } @@ -218,7 +224,7 @@ type Feedback struct { // A list of server-generated trackingTokens to which this event applies. TrackingTokens []string `json:"trackingTokens"` // The action the user took within a Glean client with respect to the object referred to by the given `trackingToken`. - Event Event `json:"event"` + Event FeedbackEvent `json:"event"` // Position of the element in the case that the client controls order (such as feed and autocomplete). Position *int64 `json:"position,omitempty"` // 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. @@ -280,9 +286,9 @@ func (o *Feedback) GetTrackingTokens() []string { return o.TrackingTokens } -func (o *Feedback) GetEvent() Event { +func (o *Feedback) GetEvent() FeedbackEvent { if o == nil { - return Event("") + return FeedbackEvent("") } return o.Event } diff --git a/src/__tests__/mockserver/internal/sdk/models/components/feedentry.go b/src/__tests__/mockserver/internal/sdk/models/components/feedentry.go index 35caf9b9..f8c015fa 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/feedentry.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/feedentry.go @@ -101,11 +101,16 @@ const ( JustificationTypeActiveDiscussion JustificationType = "ACTIVE_DISCUSSION" JustificationTypeMidDayCatchUp JustificationType = "MID_DAY_CATCH_UP" JustificationTypeQuerySuggestion JustificationType = "QUERY_SUGGESTION" + JustificationTypeCoworkCujPromo JustificationType = "COWORK_CUJ_PROMO" JustificationTypeWeeklyMeetings JustificationType = "WEEKLY_MEETINGS" JustificationTypeFollowUp JustificationType = "FOLLOW_UP" JustificationTypeMilestoneTimelineCheck JustificationType = "MILESTONE_TIMELINE_CHECK" JustificationTypeProjectDiscussionDigest JustificationType = "PROJECT_DISCUSSION_DIGEST" + JustificationTypeProjectFocusBlock JustificationType = "PROJECT_FOCUS_BLOCK" JustificationTypeProjectNextStep JustificationType = "PROJECT_NEXT_STEP" + JustificationTypeDemoCard JustificationType = "DEMO_CARD" + JustificationTypeOooPlanner JustificationType = "OOO_PLANNER" + JustificationTypeOooCatchUp JustificationType = "OOO_CATCH_UP" ) func (e JustificationType) ToPointer() *JustificationType { @@ -205,6 +210,8 @@ func (e *JustificationType) UnmarshalJSON(data []byte) error { fallthrough case "QUERY_SUGGESTION": fallthrough + case "COWORK_CUJ_PROMO": + fallthrough case "WEEKLY_MEETINGS": fallthrough case "FOLLOW_UP": @@ -213,7 +220,15 @@ func (e *JustificationType) UnmarshalJSON(data []byte) error { fallthrough case "PROJECT_DISCUSSION_DIGEST": fallthrough + case "PROJECT_FOCUS_BLOCK": + fallthrough case "PROJECT_NEXT_STEP": + fallthrough + case "DEMO_CARD": + fallthrough + case "OOO_PLANNER": + fallthrough + case "OOO_CATCH_UP": *e = JustificationType(v) return nil default: diff --git a/src/__tests__/mockserver/internal/sdk/models/components/feedrequest.go b/src/__tests__/mockserver/internal/sdk/models/components/feedrequest.go index e003cc2e..6aa7fcf0 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/feedrequest.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/feedrequest.go @@ -42,11 +42,16 @@ const ( FeedRequestCategoryStarterKit FeedRequestCategory = "STARTER_KIT" FeedRequestCategoryMidDayCatchUp FeedRequestCategory = "MID_DAY_CATCH_UP" FeedRequestCategoryQuerySuggestion FeedRequestCategory = "QUERY_SUGGESTION" + FeedRequestCategoryCoworkCujPromo FeedRequestCategory = "COWORK_CUJ_PROMO" FeedRequestCategoryWeeklyMeetings FeedRequestCategory = "WEEKLY_MEETINGS" FeedRequestCategoryFollowUp FeedRequestCategory = "FOLLOW_UP" FeedRequestCategoryMilestoneTimelineCheck FeedRequestCategory = "MILESTONE_TIMELINE_CHECK" FeedRequestCategoryProjectDiscussionDigest FeedRequestCategory = "PROJECT_DISCUSSION_DIGEST" + FeedRequestCategoryProjectFocusBlock FeedRequestCategory = "PROJECT_FOCUS_BLOCK" FeedRequestCategoryProjectNextStep FeedRequestCategory = "PROJECT_NEXT_STEP" + FeedRequestCategoryDemoCard FeedRequestCategory = "DEMO_CARD" + FeedRequestCategoryOooPlanner FeedRequestCategory = "OOO_PLANNER" + FeedRequestCategoryOooCatchUp FeedRequestCategory = "OOO_CATCH_UP" ) func (e FeedRequestCategory) ToPointer() *FeedRequestCategory { @@ -120,6 +125,8 @@ func (e *FeedRequestCategory) UnmarshalJSON(data []byte) error { fallthrough case "QUERY_SUGGESTION": fallthrough + case "COWORK_CUJ_PROMO": + fallthrough case "WEEKLY_MEETINGS": fallthrough case "FOLLOW_UP": @@ -128,7 +135,15 @@ func (e *FeedRequestCategory) UnmarshalJSON(data []byte) error { fallthrough case "PROJECT_DISCUSSION_DIGEST": fallthrough + case "PROJECT_FOCUS_BLOCK": + fallthrough case "PROJECT_NEXT_STEP": + fallthrough + case "DEMO_CARD": + fallthrough + case "OOO_PLANNER": + fallthrough + case "OOO_CATCH_UP": *e = FeedRequestCategory(v) return nil default: diff --git a/src/__tests__/mockserver/internal/sdk/models/components/feedresult.go b/src/__tests__/mockserver/internal/sdk/models/components/feedresult.go index 4c0e58ed..a6784e34 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/feedresult.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/feedresult.go @@ -43,11 +43,16 @@ const ( FeedResultCategoryStarterKit FeedResultCategory = "STARTER_KIT" FeedResultCategoryMidDayCatchUp FeedResultCategory = "MID_DAY_CATCH_UP" FeedResultCategoryQuerySuggestion FeedResultCategory = "QUERY_SUGGESTION" + FeedResultCategoryCoworkCujPromo FeedResultCategory = "COWORK_CUJ_PROMO" FeedResultCategoryWeeklyMeetings FeedResultCategory = "WEEKLY_MEETINGS" FeedResultCategoryFollowUp FeedResultCategory = "FOLLOW_UP" FeedResultCategoryMilestoneTimelineCheck FeedResultCategory = "MILESTONE_TIMELINE_CHECK" FeedResultCategoryProjectDiscussionDigest FeedResultCategory = "PROJECT_DISCUSSION_DIGEST" + FeedResultCategoryProjectFocusBlock FeedResultCategory = "PROJECT_FOCUS_BLOCK" FeedResultCategoryProjectNextStep FeedResultCategory = "PROJECT_NEXT_STEP" + FeedResultCategoryDemoCard FeedResultCategory = "DEMO_CARD" + FeedResultCategoryOooPlanner FeedResultCategory = "OOO_PLANNER" + FeedResultCategoryOooCatchUp FeedResultCategory = "OOO_CATCH_UP" ) func (e FeedResultCategory) ToPointer() *FeedResultCategory { @@ -121,6 +126,8 @@ func (e *FeedResultCategory) UnmarshalJSON(data []byte) error { fallthrough case "QUERY_SUGGESTION": fallthrough + case "COWORK_CUJ_PROMO": + fallthrough case "WEEKLY_MEETINGS": fallthrough case "FOLLOW_UP": @@ -129,7 +136,15 @@ func (e *FeedResultCategory) UnmarshalJSON(data []byte) error { fallthrough case "PROJECT_DISCUSSION_DIGEST": fallthrough + case "PROJECT_FOCUS_BLOCK": + fallthrough case "PROJECT_NEXT_STEP": + fallthrough + case "DEMO_CARD": + fallthrough + case "OOO_PLANNER": + fallthrough + case "OOO_CATCH_UP": *e = FeedResultCategory(v) return nil default: diff --git a/src/__tests__/mockserver/internal/sdk/models/components/getcollectionresponse.go b/src/__tests__/mockserver/internal/sdk/models/components/getcollectionresponse.go index 964d8f8b..aaaf51dc 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/getcollectionresponse.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/getcollectionresponse.go @@ -4,11 +4,13 @@ package components type GetCollectionResponse struct { - Collection *Collection `json:"collection,omitempty"` - RootCollection *Collection `json:"rootCollection,omitempty"` - // An opaque token that represents this particular Collection. To be used for `/feedback` reporting. - TrackingToken *string `json:"trackingToken,omitempty"` - Error *CollectionError `json:"error,omitempty"` + Collection *Collection `json:"collection,omitempty"` + RootCollection *Collection `json:"rootCollection,omitempty"` + Error *CollectionError `json:"error,omitempty"` + // Use `collection.trackingToken` instead. + // + // Deprecated: Deprecated on 2026-05-07, removal scheduled for 2027-01-15: Use `collection.trackingToken` instead.. + TrackingToken *string `json:"trackingToken,omitempty"` } func (o *GetCollectionResponse) GetCollection() *Collection { @@ -25,16 +27,16 @@ func (o *GetCollectionResponse) GetRootCollection() *Collection { return o.RootCollection } -func (o *GetCollectionResponse) GetTrackingToken() *string { +func (o *GetCollectionResponse) GetError() *CollectionError { if o == nil { return nil } - return o.TrackingToken + return o.Error } -func (o *GetCollectionResponse) GetError() *CollectionError { +func (o *GetCollectionResponse) GetTrackingToken() *string { if o == nil { return nil } - return o.Error + return o.TrackingToken } diff --git a/src/__tests__/mockserver/internal/sdk/models/components/insightsassistantrequest.go b/src/__tests__/mockserver/internal/sdk/models/components/insightsassistantrequest.go index 8c9246d9..8c6c7530 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/insightsassistantrequest.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/insightsassistantrequest.go @@ -6,7 +6,9 @@ package components type InsightsAssistantRequest struct { // Departments for which Insights are requested. Departments []string `json:"departments,omitempty"` - DayRange *Period `json:"dayRange,omitempty"` + // Manager emails whose teams should be filtered for. Empty array means no filtering. + ManagerEmails []string `json:"managerEmails,omitempty"` + DayRange *Period `json:"dayRange,omitempty"` } func (o *InsightsAssistantRequest) GetDepartments() []string { @@ -16,6 +18,13 @@ func (o *InsightsAssistantRequest) GetDepartments() []string { return o.Departments } +func (o *InsightsAssistantRequest) GetManagerEmails() []string { + if o == nil { + return nil + } + return o.ManagerEmails +} + func (o *InsightsAssistantRequest) GetDayRange() *Period { if o == nil { return nil diff --git a/src/__tests__/mockserver/internal/sdk/models/components/insightschatsummary.go b/src/__tests__/mockserver/internal/sdk/models/components/insightschatsummary.go index 5ac9aa23..e65d0326 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/insightschatsummary.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/insightschatsummary.go @@ -4,9 +4,9 @@ package components type InsightsChatSummary struct { - // Number of current Monthly Active Users, in the specified departments. + // Number of current Monthly Active Users. MonthlyActiveUsers *int64 `json:"monthlyActiveUsers,omitempty"` - // Number of current Weekly Active Users, in the specified departments. + // Number of current Weekly Active Users. WeeklyActiveUsers *int64 `json:"weeklyActiveUsers,omitempty"` // Total number of chats by users over the specified time period. NumChats *int64 `json:"numChats,omitempty"` diff --git a/src/__tests__/mockserver/internal/sdk/models/components/insightsoverviewrequest.go b/src/__tests__/mockserver/internal/sdk/models/components/insightsoverviewrequest.go index d5b6853d..1268193c 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/insightsoverviewrequest.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/insightsoverviewrequest.go @@ -6,7 +6,9 @@ package components type InsightsOverviewRequest struct { // Departments for which Insights are requested. Departments []string `json:"departments,omitempty"` - DayRange *Period `json:"dayRange,omitempty"` + // Manager emails whose teams should be filtered for. Empty array means no filtering. + ManagerEmails []string `json:"managerEmails,omitempty"` + DayRange *Period `json:"dayRange,omitempty"` } func (o *InsightsOverviewRequest) GetDepartments() []string { @@ -16,6 +18,13 @@ func (o *InsightsOverviewRequest) GetDepartments() []string { return o.Departments } +func (o *InsightsOverviewRequest) GetManagerEmails() []string { + if o == nil { + return nil + } + return o.ManagerEmails +} + func (o *InsightsOverviewRequest) GetDayRange() *Period { if o == nil { return nil diff --git a/src/__tests__/mockserver/internal/sdk/models/components/insightsoverviewresponse.go b/src/__tests__/mockserver/internal/sdk/models/components/insightsoverviewresponse.go index acff8167..22393d1e 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/insightsoverviewresponse.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/insightsoverviewresponse.go @@ -4,9 +4,9 @@ package components type InsightsOverviewResponse struct { - // Number of current Monthly Active Users, in the specified departments. + // Number of current Monthly Active Users. MonthlyActiveUsers *int64 `json:"monthlyActiveUsers,omitempty"` - // Number of current Weekly Active Users, in the specified departments. + // Number of current Weekly Active Users. WeeklyActiveUsers *int64 `json:"weeklyActiveUsers,omitempty"` // Department name(s). Departments []string `json:"departments,omitempty"` @@ -19,11 +19,14 @@ type InsightsOverviewResponse struct { SearchActiveUsers *CurrentActiveUsers `json:"searchActiveUsers,omitempty"` AssistantActiveUsers *CurrentActiveUsers `json:"assistantActiveUsers,omitempty"` AgentsActiveUsers *CurrentActiveUsers `json:"agentsActiveUsers,omitempty"` + McpActiveUsers *CurrentActiveUsers `json:"mcpActiveUsers,omitempty"` ExtensionSummary *CurrentActiveUsers `json:"extensionSummary,omitempty"` UgcSummary *CurrentActiveUsers `json:"ugcSummary,omitempty"` // Unix timestamp of the last update for the insights data in the response. LastUpdatedTs *int64 `json:"lastUpdatedTs,omitempty"` // Search session satisfaction rate, over the specified time period in the specified departments. + // + // Deprecated: Deprecated on 2026-05-13, removal scheduled for 2027-01-15: This property is no longer supported. Please contact Support for alternatives.. SearchSessionSatisfaction *float32 `json:"searchSessionSatisfaction,omitempty"` MonthlyActiveUserTimeseries *LabeledCountInfo `json:"monthlyActiveUserTimeseries,omitempty"` WeeklyActiveUserTimeseries *LabeledCountInfo `json:"weeklyActiveUserTimeseries,omitempty"` @@ -37,9 +40,13 @@ type InsightsOverviewResponse struct { AgentsMonthlyActiveUserTimeseries *LabeledCountInfo `json:"agentsMonthlyActiveUserTimeseries,omitempty"` AgentsWeeklyActiveUserTimeseries *LabeledCountInfo `json:"agentsWeeklyActiveUserTimeseries,omitempty"` AgentsDailyActiveUserTimeseries *LabeledCountInfo `json:"agentsDailyActiveUserTimeseries,omitempty"` + McpMonthlyActiveUserTimeseries *LabeledCountInfo `json:"mcpMonthlyActiveUserTimeseries,omitempty"` + McpWeeklyActiveUserTimeseries *LabeledCountInfo `json:"mcpWeeklyActiveUserTimeseries,omitempty"` + McpDailyActiveUserTimeseries *LabeledCountInfo `json:"mcpDailyActiveUserTimeseries,omitempty"` SearchesTimeseries *LabeledCountInfo `json:"searchesTimeseries,omitempty"` AssistantInteractionsTimeseries *LabeledCountInfo `json:"assistantInteractionsTimeseries,omitempty"` AgentRunsTimeseries *LabeledCountInfo `json:"agentRunsTimeseries,omitempty"` + McpCallsTimeseries *LabeledCountInfo `json:"mcpCallsTimeseries,omitempty"` // Counts of search result clicks, by datasource, over the specified time period in the specified departments. SearchDatasourceCounts map[string]int64 `json:"searchDatasourceCounts,omitempty"` // Counts of cited documents in chat, by datasource, over the specified time period in the specified departments. @@ -118,6 +125,13 @@ func (o *InsightsOverviewResponse) GetAgentsActiveUsers() *CurrentActiveUsers { return o.AgentsActiveUsers } +func (o *InsightsOverviewResponse) GetMcpActiveUsers() *CurrentActiveUsers { + if o == nil { + return nil + } + return o.McpActiveUsers +} + func (o *InsightsOverviewResponse) GetExtensionSummary() *CurrentActiveUsers { if o == nil { return nil @@ -230,6 +244,27 @@ func (o *InsightsOverviewResponse) GetAgentsDailyActiveUserTimeseries() *Labeled return o.AgentsDailyActiveUserTimeseries } +func (o *InsightsOverviewResponse) GetMcpMonthlyActiveUserTimeseries() *LabeledCountInfo { + if o == nil { + return nil + } + return o.McpMonthlyActiveUserTimeseries +} + +func (o *InsightsOverviewResponse) GetMcpWeeklyActiveUserTimeseries() *LabeledCountInfo { + if o == nil { + return nil + } + return o.McpWeeklyActiveUserTimeseries +} + +func (o *InsightsOverviewResponse) GetMcpDailyActiveUserTimeseries() *LabeledCountInfo { + if o == nil { + return nil + } + return o.McpDailyActiveUserTimeseries +} + func (o *InsightsOverviewResponse) GetSearchesTimeseries() *LabeledCountInfo { if o == nil { return nil @@ -251,6 +286,13 @@ func (o *InsightsOverviewResponse) GetAgentRunsTimeseries() *LabeledCountInfo { return o.AgentRunsTimeseries } +func (o *InsightsOverviewResponse) GetMcpCallsTimeseries() *LabeledCountInfo { + if o == nil { + return nil + } + return o.McpCallsTimeseries +} + func (o *InsightsOverviewResponse) GetSearchDatasourceCounts() map[string]int64 { if o == nil { return nil diff --git a/src/__tests__/mockserver/internal/sdk/models/components/insightsrequest.go b/src/__tests__/mockserver/internal/sdk/models/components/insightsrequest.go index 47442db7..e2b68210 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/insightsrequest.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/insightsrequest.go @@ -4,9 +4,11 @@ package components type InsightsRequest struct { - OverviewRequest *InsightsOverviewRequest `json:"overviewRequest,omitempty"` - AssistantRequest *InsightsAssistantRequest `json:"assistantRequest,omitempty"` - AgentsRequest *AgentsInsightsV2Request `json:"agentsRequest,omitempty"` + OverviewRequest *InsightsOverviewRequest `json:"overviewRequest,omitempty"` + AssistantRequest *InsightsAssistantRequest `json:"assistantRequest,omitempty"` + AgentsRequest *AgentsInsightsV2Request `json:"agentsRequest,omitempty"` + McpRequest *McpInsightsRequest `json:"mcpRequest,omitempty"` + McpBreakdownRequest *McpBreakdownInsightsRequest `json:"mcpBreakdownRequest,omitempty"` // If true, suppresses the generation of per-user Insights in the response. Default is false. DisablePerUserInsights *bool `json:"disablePerUserInsights,omitempty"` } @@ -32,6 +34,20 @@ func (o *InsightsRequest) GetAgentsRequest() *AgentsInsightsV2Request { return o.AgentsRequest } +func (o *InsightsRequest) GetMcpRequest() *McpInsightsRequest { + if o == nil { + return nil + } + return o.McpRequest +} + +func (o *InsightsRequest) GetMcpBreakdownRequest() *McpBreakdownInsightsRequest { + if o == nil { + return nil + } + return o.McpBreakdownRequest +} + func (o *InsightsRequest) GetDisablePerUserInsights() *bool { if o == nil { return nil diff --git a/src/__tests__/mockserver/internal/sdk/models/components/insightsresponse.go b/src/__tests__/mockserver/internal/sdk/models/components/insightsresponse.go index 67d9b133..a04776e8 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/insightsresponse.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/insightsresponse.go @@ -4,10 +4,12 @@ package components type InsightsResponse struct { - GleanAssist *GleanAssistInsightsResponse `json:"gleanAssist,omitempty"` - OverviewResponse *InsightsOverviewResponse `json:"overviewResponse,omitempty"` - AssistantResponse *AssistantInsightsResponse `json:"assistantResponse,omitempty"` - AgentsResponse *AgentsInsightsV2Response `json:"agentsResponse,omitempty"` + GleanAssist *GleanAssistInsightsResponse `json:"gleanAssist,omitempty"` + OverviewResponse *InsightsOverviewResponse `json:"overviewResponse,omitempty"` + AssistantResponse *AssistantInsightsResponse `json:"assistantResponse,omitempty"` + AgentsResponse *AgentsInsightsV2Response `json:"agentsResponse,omitempty"` + McpResponse *McpInsightsResponse `json:"mcpResponse,omitempty"` + McpBreakdownResponse *McpBreakdownInsightsResponse `json:"mcpBreakdownResponse,omitempty"` } func (o *InsightsResponse) GetGleanAssist() *GleanAssistInsightsResponse { @@ -37,3 +39,17 @@ func (o *InsightsResponse) GetAgentsResponse() *AgentsInsightsV2Response { } return o.AgentsResponse } + +func (o *InsightsResponse) GetMcpResponse() *McpInsightsResponse { + if o == nil { + return nil + } + return o.McpResponse +} + +func (o *InsightsResponse) GetMcpBreakdownResponse() *McpBreakdownInsightsResponse { + if o == nil { + return nil + } + return o.McpBreakdownResponse +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/insightssearchsummary.go b/src/__tests__/mockserver/internal/sdk/models/components/insightssearchsummary.go index 80a07164..00835eeb 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/insightssearchsummary.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/insightssearchsummary.go @@ -4,9 +4,9 @@ package components type InsightsSearchSummary struct { - // Number of current Monthly Active Users, in the specified departments. + // Number of current Monthly Active Users. MonthlyActiveUsers *int64 `json:"monthlyActiveUsers,omitempty"` - // Number of current Weekly Active Users, in the specified departments. + // Number of current Weekly Active Users. WeeklyActiveUsers *int64 `json:"weeklyActiveUsers,omitempty"` // Total number of searches by users over the specified time period. NumSearches *int64 `json:"numSearches,omitempty"` diff --git a/src/__tests__/mockserver/internal/sdk/models/components/lifecycleevent.go b/src/__tests__/mockserver/internal/sdk/models/components/lifecycleevent.go new file mode 100644 index 00000000..e39c42fe --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/lifecycleevent.go @@ -0,0 +1,63 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 4e216ca31dd8 + +package components + +import ( + "encoding/json" + "fmt" +) + +// LifeCycleEventEvent - Type of event +type LifeCycleEventEvent string + +const ( + LifeCycleEventEventUploaded LifeCycleEventEvent = "UPLOADED" + LifeCycleEventEventIndexed LifeCycleEventEvent = "INDEXED" + LifeCycleEventEventDeletionRequested LifeCycleEventEvent = "DELETION_REQUESTED" + LifeCycleEventEventDeleted LifeCycleEventEvent = "DELETED" +) + +func (e LifeCycleEventEvent) ToPointer() *LifeCycleEventEvent { + return &e +} +func (e *LifeCycleEventEvent) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "UPLOADED": + fallthrough + case "INDEXED": + fallthrough + case "DELETION_REQUESTED": + fallthrough + case "DELETED": + *e = LifeCycleEventEvent(v) + return nil + default: + return fmt.Errorf("invalid value for LifeCycleEventEvent: %v", v) + } +} + +type LifeCycleEvent struct { + // Type of event + Event *LifeCycleEventEvent `json:"event,omitempty"` + // Timestamp of the event + Timestamp *string `json:"timestamp,omitempty"` +} + +func (o *LifeCycleEvent) GetEvent() *LifeCycleEventEvent { + if o == nil { + return nil + } + return o.Event +} + +func (o *LifeCycleEvent) GetTimestamp() *string { + if o == nil { + return nil + } + return o.Timestamp +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/mcpbreakdowninsightsrequest.go b/src/__tests__/mockserver/internal/sdk/models/components/mcpbreakdowninsightsrequest.go new file mode 100644 index 00000000..538c2176 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/mcpbreakdowninsightsrequest.go @@ -0,0 +1,116 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 08c7c799dc56 + +package components + +import ( + "encoding/json" + "fmt" +) + +// BreakdownType - Type of breakdown to return. +type BreakdownType string + +const ( + BreakdownTypeUsers BreakdownType = "USERS" + BreakdownTypeHostApplications BreakdownType = "HOST_APPLICATIONS" + BreakdownTypeTools BreakdownType = "TOOLS" + BreakdownTypeServers BreakdownType = "SERVERS" +) + +func (e BreakdownType) ToPointer() *BreakdownType { + return &e +} +func (e *BreakdownType) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "USERS": + fallthrough + case "HOST_APPLICATIONS": + fallthrough + case "TOOLS": + fallthrough + case "SERVERS": + *e = BreakdownType(v) + return nil + default: + return fmt.Errorf("invalid value for BreakdownType: %v", v) + } +} + +type McpBreakdownInsightsRequest struct { + // Departments for which Insights are requested. + Departments []string `json:"departments,omitempty"` + // Manager user IDs whose teams should be filtered for. Empty array means no filtering. + ManagerIds []string `json:"managerIds,omitempty"` + // Manager emails whose teams should be filtered for. Empty array means no filtering. + ManagerEmails []string `json:"managerEmails,omitempty"` + DayRange *Period `json:"dayRange,omitempty"` + // Type of breakdown to return. + BreakdownType *BreakdownType `json:"breakdownType,omitempty"` + // Host applications to filter by. Empty array means all host applications. + HostApplications []string `json:"hostApplications,omitempty"` + // MCP tools to filter by. Empty array means all tools. + Tools []string `json:"tools,omitempty"` + // MCP servers to filter by. Empty array means all servers. + Servers []string `json:"servers,omitempty"` +} + +func (o *McpBreakdownInsightsRequest) GetDepartments() []string { + if o == nil { + return nil + } + return o.Departments +} + +func (o *McpBreakdownInsightsRequest) GetManagerIds() []string { + if o == nil { + return nil + } + return o.ManagerIds +} + +func (o *McpBreakdownInsightsRequest) GetManagerEmails() []string { + if o == nil { + return nil + } + return o.ManagerEmails +} + +func (o *McpBreakdownInsightsRequest) GetDayRange() *Period { + if o == nil { + return nil + } + return o.DayRange +} + +func (o *McpBreakdownInsightsRequest) GetBreakdownType() *BreakdownType { + if o == nil { + return nil + } + return o.BreakdownType +} + +func (o *McpBreakdownInsightsRequest) GetHostApplications() []string { + if o == nil { + return nil + } + return o.HostApplications +} + +func (o *McpBreakdownInsightsRequest) GetTools() []string { + if o == nil { + return nil + } + return o.Tools +} + +func (o *McpBreakdownInsightsRequest) GetServers() []string { + if o == nil { + return nil + } + return o.Servers +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/mcpbreakdowninsightsresponse.go b/src/__tests__/mockserver/internal/sdk/models/components/mcpbreakdowninsightsresponse.go new file mode 100644 index 00000000..5978b9ae --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/mcpbreakdowninsightsresponse.go @@ -0,0 +1,39 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 3f55ede45b4f + +package components + +type McpBreakdownInsightsResponse struct { + UsersBreakdown []McpUserBreakdown `json:"usersBreakdown,omitempty"` + HostApplicationsBreakdown []McpHostApplicationBreakdown `json:"hostApplicationsBreakdown,omitempty"` + ToolsBreakdown []McpToolBreakdown `json:"toolsBreakdown,omitempty"` + ServersBreakdown []McpServerBreakdown `json:"serversBreakdown,omitempty"` +} + +func (o *McpBreakdownInsightsResponse) GetUsersBreakdown() []McpUserBreakdown { + if o == nil { + return nil + } + return o.UsersBreakdown +} + +func (o *McpBreakdownInsightsResponse) GetHostApplicationsBreakdown() []McpHostApplicationBreakdown { + if o == nil { + return nil + } + return o.HostApplicationsBreakdown +} + +func (o *McpBreakdownInsightsResponse) GetToolsBreakdown() []McpToolBreakdown { + if o == nil { + return nil + } + return o.ToolsBreakdown +} + +func (o *McpBreakdownInsightsResponse) GetServersBreakdown() []McpServerBreakdown { + if o == nil { + return nil + } + return o.ServersBreakdown +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/mcphostapplicationbreakdown.go b/src/__tests__/mockserver/internal/sdk/models/components/mcphostapplicationbreakdown.go new file mode 100644 index 00000000..dd9c8e57 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/mcphostapplicationbreakdown.go @@ -0,0 +1,34 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 1cb76a7bd475 + +package components + +type McpHostApplicationBreakdown struct { + // Host application name. + HostApplication *string `json:"hostApplication,omitempty"` + // Total number of MCP calls made from this host application in the specified time period. + TotalCalls *int64 `json:"totalCalls,omitempty"` + // Total number of active users from this host application in the specified time period. + ActiveUsers *int64 `json:"activeUsers,omitempty"` +} + +func (o *McpHostApplicationBreakdown) GetHostApplication() *string { + if o == nil { + return nil + } + return o.HostApplication +} + +func (o *McpHostApplicationBreakdown) GetTotalCalls() *int64 { + if o == nil { + return nil + } + return o.TotalCalls +} + +func (o *McpHostApplicationBreakdown) GetActiveUsers() *int64 { + if o == nil { + return nil + } + return o.ActiveUsers +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/mcpinsightsrequest.go b/src/__tests__/mockserver/internal/sdk/models/components/mcpinsightsrequest.go new file mode 100644 index 00000000..f8eb05ad --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/mcpinsightsrequest.go @@ -0,0 +1,42 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: b4c77cc25ba6 + +package components + +type McpInsightsRequest struct { + // Departments for which Insights are requested. + Departments []string `json:"departments,omitempty"` + // Manager user IDs whose teams should be filtered for. Empty array means no filtering. + ManagerIds []string `json:"managerIds,omitempty"` + // Manager emails whose teams should be filtered for. Empty array means no filtering. + ManagerEmails []string `json:"managerEmails,omitempty"` + DayRange *Period `json:"dayRange,omitempty"` +} + +func (o *McpInsightsRequest) GetDepartments() []string { + if o == nil { + return nil + } + return o.Departments +} + +func (o *McpInsightsRequest) GetManagerIds() []string { + if o == nil { + return nil + } + return o.ManagerIds +} + +func (o *McpInsightsRequest) GetManagerEmails() []string { + if o == nil { + return nil + } + return o.ManagerEmails +} + +func (o *McpInsightsRequest) GetDayRange() *Period { + if o == nil { + return nil + } + return o.DayRange +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/mcpinsightsresponse.go b/src/__tests__/mockserver/internal/sdk/models/components/mcpinsightsresponse.go new file mode 100644 index 00000000..3a59fa28 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/mcpinsightsresponse.go @@ -0,0 +1,74 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 16674114fdeb + +package components + +type McpInsightsResponse struct { + // Number of current Monthly Active Users. + MonthlyActiveUsers *int64 `json:"monthlyActiveUsers,omitempty"` + // Number of current Weekly Active Users. + WeeklyActiveUsers *int64 `json:"weeklyActiveUsers,omitempty"` + // Number of current Daily Active Users. + DailyActiveUsers *int64 `json:"dailyActiveUsers,omitempty"` + MonthlyActiveUserTimeseries *LabeledCountInfo `json:"monthlyActiveUserTimeseries,omitempty"` + WeeklyActiveUserTimeseries *LabeledCountInfo `json:"weeklyActiveUserTimeseries,omitempty"` + DailyActiveUserTimeseries *LabeledCountInfo `json:"dailyActiveUserTimeseries,omitempty"` + OverallDailyActiveUserTimeseries *LabeledCountInfo `json:"overallDailyActiveUserTimeseries,omitempty"` + TopHostApplicationsActiveUserTimeseries []LabeledCountInfo `json:"topHostApplicationsActiveUserTimeseries,omitempty"` +} + +func (o *McpInsightsResponse) GetMonthlyActiveUsers() *int64 { + if o == nil { + return nil + } + return o.MonthlyActiveUsers +} + +func (o *McpInsightsResponse) GetWeeklyActiveUsers() *int64 { + if o == nil { + return nil + } + return o.WeeklyActiveUsers +} + +func (o *McpInsightsResponse) GetDailyActiveUsers() *int64 { + if o == nil { + return nil + } + return o.DailyActiveUsers +} + +func (o *McpInsightsResponse) GetMonthlyActiveUserTimeseries() *LabeledCountInfo { + if o == nil { + return nil + } + return o.MonthlyActiveUserTimeseries +} + +func (o *McpInsightsResponse) GetWeeklyActiveUserTimeseries() *LabeledCountInfo { + if o == nil { + return nil + } + return o.WeeklyActiveUserTimeseries +} + +func (o *McpInsightsResponse) GetDailyActiveUserTimeseries() *LabeledCountInfo { + if o == nil { + return nil + } + return o.DailyActiveUserTimeseries +} + +func (o *McpInsightsResponse) GetOverallDailyActiveUserTimeseries() *LabeledCountInfo { + if o == nil { + return nil + } + return o.OverallDailyActiveUserTimeseries +} + +func (o *McpInsightsResponse) GetTopHostApplicationsActiveUserTimeseries() []LabeledCountInfo { + if o == nil { + return nil + } + return o.TopHostApplicationsActiveUserTimeseries +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/mcpserverbreakdown.go b/src/__tests__/mockserver/internal/sdk/models/components/mcpserverbreakdown.go new file mode 100644 index 00000000..813b5395 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/mcpserverbreakdown.go @@ -0,0 +1,43 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 1d13c8ba827a + +package components + +type McpServerBreakdown struct { + // MCP server name. + Server *string `json:"server,omitempty"` + // Total number of MCP calls for this server in the specified time period. + TotalCalls *int64 `json:"totalCalls,omitempty"` + // Total number of active users for this server in the specified time period. + ActiveUsers *int64 `json:"activeUsers,omitempty"` + // Host applications using this server in the specified time period. + HostApplications []string `json:"hostApplications,omitempty"` +} + +func (o *McpServerBreakdown) GetServer() *string { + if o == nil { + return nil + } + return o.Server +} + +func (o *McpServerBreakdown) GetTotalCalls() *int64 { + if o == nil { + return nil + } + return o.TotalCalls +} + +func (o *McpServerBreakdown) GetActiveUsers() *int64 { + if o == nil { + return nil + } + return o.ActiveUsers +} + +func (o *McpServerBreakdown) GetHostApplications() []string { + if o == nil { + return nil + } + return o.HostApplications +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/mcptoolbreakdown.go b/src/__tests__/mockserver/internal/sdk/models/components/mcptoolbreakdown.go new file mode 100644 index 00000000..9dc41078 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/mcptoolbreakdown.go @@ -0,0 +1,43 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 74264019ae56 + +package components + +type McpToolBreakdown struct { + // MCP tool name. + Tool *string `json:"tool,omitempty"` + // Total number of MCP calls for this tool in the specified time period. + TotalCalls *int64 `json:"totalCalls,omitempty"` + // Total number of active users for this tool in the specified time period. + ActiveUsers *int64 `json:"activeUsers,omitempty"` + // Host applications using this tool in the specified time period. + HostApplications []string `json:"hostApplications,omitempty"` +} + +func (o *McpToolBreakdown) GetTool() *string { + if o == nil { + return nil + } + return o.Tool +} + +func (o *McpToolBreakdown) GetTotalCalls() *int64 { + if o == nil { + return nil + } + return o.TotalCalls +} + +func (o *McpToolBreakdown) GetActiveUsers() *int64 { + if o == nil { + return nil + } + return o.ActiveUsers +} + +func (o *McpToolBreakdown) GetHostApplications() []string { + if o == nil { + return nil + } + return o.HostApplications +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/mcpuserbreakdown.go b/src/__tests__/mockserver/internal/sdk/models/components/mcpuserbreakdown.go new file mode 100644 index 00000000..c446e0f7 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/mcpuserbreakdown.go @@ -0,0 +1,51 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 55c3b8e19cc0 + +package components + +type McpUserBreakdown struct { + Person *Person `json:"person,omitempty"` + // Total number of MCP calls made by this user in the specified time period. + TotalCalls *int64 `json:"totalCalls,omitempty"` + // Host applications used by this user in the specified time period. + HostApplications []string `json:"hostApplications,omitempty"` + // MCP tools used by this user in the specified time period. + Tools []string `json:"tools,omitempty"` + // MCP servers used by this user in the specified time period. + Servers []string `json:"servers,omitempty"` +} + +func (o *McpUserBreakdown) GetPerson() *Person { + if o == nil { + return nil + } + return o.Person +} + +func (o *McpUserBreakdown) GetTotalCalls() *int64 { + if o == nil { + return nil + } + return o.TotalCalls +} + +func (o *McpUserBreakdown) GetHostApplications() []string { + if o == nil { + return nil + } + return o.HostApplications +} + +func (o *McpUserBreakdown) GetTools() []string { + if o == nil { + return nil + } + return o.Tools +} + +func (o *McpUserBreakdown) GetServers() []string { + if o == nil { + return nil + } + return o.Servers +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/peragentinsight.go b/src/__tests__/mockserver/internal/sdk/models/components/peragentinsight.go index e760db36..f525802c 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/peragentinsight.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/peragentinsight.go @@ -19,7 +19,8 @@ type PerAgentInsight struct { // Total number of upvotes for this agent over the specified time period. UpvoteCount *int64 `json:"upvoteCount,omitempty"` // Total number of downvotes for this agent over the specified time period. - DownvoteCount *int64 `json:"downvoteCount,omitempty"` + DownvoteCount *int64 `json:"downvoteCount,omitempty"` + Owner *Person `json:"owner,omitempty"` } func (o *PerAgentInsight) GetAgentID() *string { @@ -77,3 +78,10 @@ func (o *PerAgentInsight) GetDownvoteCount() *int64 { } return o.DownvoteCount } + +func (o *PerAgentInsight) GetOwner() *Person { + if o == nil { + return nil + } + return o.Owner +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/peruserinsight.go b/src/__tests__/mockserver/internal/sdk/models/components/peruserinsight.go index 66878a5b..88868eb1 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/peruserinsight.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/peruserinsight.go @@ -21,6 +21,8 @@ type PerUserInsight struct { NumAiAnswers *int64 `json:"numAiAnswers,omitempty"` // Total number of agent runs for this user over the specified time period. NumAgentRuns *int64 `json:"numAgentRuns,omitempty"` + // Total number of MCP calls for this user over the specified time period. + NumMcpCalls *int64 `json:"numMcpCalls,omitempty"` } func (o *PerUserInsight) GetPerson() *Person { @@ -85,3 +87,10 @@ func (o *PerUserInsight) GetNumAgentRuns() *int64 { } return o.NumAgentRuns } + +func (o *PerUserInsight) GetNumMcpCalls() *int64 { + if o == nil { + return nil + } + return o.NumMcpCalls +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/propertydefinition.go b/src/__tests__/mockserver/internal/sdk/models/components/propertydefinition.go index a82f3ecf..7d2352ce 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/propertydefinition.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/propertydefinition.go @@ -8,23 +8,23 @@ import ( "fmt" ) -// PropertyType - The type of custom property - this governs the search and faceting behavior. Note that MULTIPICKLIST is not yet supported. -type PropertyType string +// PropertyDefinitionPropertyType - The type of custom property - this governs the search and faceting behavior. Note that MULTIPICKLIST is not yet supported. +type PropertyDefinitionPropertyType string const ( - PropertyTypeText PropertyType = "TEXT" - PropertyTypeDate PropertyType = "DATE" - PropertyTypeInt PropertyType = "INT" - PropertyTypeUserid PropertyType = "USERID" - PropertyTypePicklist PropertyType = "PICKLIST" - PropertyTypeTextlist PropertyType = "TEXTLIST" - PropertyTypeMultipicklist PropertyType = "MULTIPICKLIST" + PropertyDefinitionPropertyTypeText PropertyDefinitionPropertyType = "TEXT" + PropertyDefinitionPropertyTypeDate PropertyDefinitionPropertyType = "DATE" + PropertyDefinitionPropertyTypeInt PropertyDefinitionPropertyType = "INT" + PropertyDefinitionPropertyTypeUserid PropertyDefinitionPropertyType = "USERID" + PropertyDefinitionPropertyTypePicklist PropertyDefinitionPropertyType = "PICKLIST" + PropertyDefinitionPropertyTypeTextlist PropertyDefinitionPropertyType = "TEXTLIST" + PropertyDefinitionPropertyTypeMultipicklist PropertyDefinitionPropertyType = "MULTIPICKLIST" ) -func (e PropertyType) ToPointer() *PropertyType { +func (e PropertyDefinitionPropertyType) ToPointer() *PropertyDefinitionPropertyType { return &e } -func (e *PropertyType) UnmarshalJSON(data []byte) error { +func (e *PropertyDefinitionPropertyType) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { return err @@ -43,10 +43,10 @@ func (e *PropertyType) UnmarshalJSON(data []byte) error { case "TEXTLIST": fallthrough case "MULTIPICKLIST": - *e = PropertyType(v) + *e = PropertyDefinitionPropertyType(v) return nil default: - return fmt.Errorf("invalid value for PropertyType: %v", v) + return fmt.Errorf("invalid value for PropertyDefinitionPropertyType: %v", v) } } @@ -87,8 +87,8 @@ type PropertyDefinition struct { // The user friendly label for the property that will be used if a plural context. DisplayLabelPlural *string `json:"displayLabelPlural,omitempty"` // The type of custom property - this governs the search and faceting behavior. Note that MULTIPICKLIST is not yet supported. - PropertyType *PropertyType `json:"propertyType,omitempty"` - UIOptions *UIOptions `json:"uiOptions,omitempty"` + PropertyType *PropertyDefinitionPropertyType `json:"propertyType,omitempty"` + UIOptions *UIOptions `json:"uiOptions,omitempty"` // If true then the property will not show up as a facet in the UI. HideUIFacet *bool `json:"hideUiFacet,omitempty"` // Will be used to set the order of facets in the UI, if present. If set for one facet, must be set for all non-hidden UI facets. Must take on an integer value from 1 (shown at the top) to N (shown last), where N is the number of non-hidden UI facets. These facets will be ordered below the built-in "Type" and "Tag" operators. @@ -120,7 +120,7 @@ func (o *PropertyDefinition) GetDisplayLabelPlural() *string { return o.DisplayLabelPlural } -func (o *PropertyDefinition) GetPropertyType() *PropertyType { +func (o *PropertyDefinition) GetPropertyType() *PropertyDefinitionPropertyType { if o == nil { return nil } diff --git a/src/__tests__/mockserver/internal/sdk/models/components/rotatedatasourcecredentialsrequest.go b/src/__tests__/mockserver/internal/sdk/models/components/rotatedatasourcecredentialsrequest.go new file mode 100644 index 00000000..565abef9 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/rotatedatasourcecredentialsrequest.go @@ -0,0 +1,18 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: e972d36b8159 + +package components + +// RotateDatasourceCredentialsRequest - Request to rotate the credentials used by a datasource instance. Replaces the active credential material with the supplied values. +// `credentials.values` must contain only keys recognized as credential material for the datasource type (for example `clientSecret` for OAuth, `apiToken` for API-token auth, `privateKey` for certificate auth). Unrecognized keys, or keys that correspond to non-credential configuration, cause a 400; use the configure endpoint to change non-credential config. +type RotateDatasourceCredentialsRequest struct { + // Configuration for a datasource instance + Credentials DatasourceInstanceConfiguration `json:"credentials"` +} + +func (o *RotateDatasourceCredentialsRequest) GetCredentials() DatasourceInstanceConfiguration { + if o == nil { + return DatasourceInstanceConfiguration{} + } + return o.Credentials +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/successresponse.go b/src/__tests__/mockserver/internal/sdk/models/components/successresponse.go new file mode 100644 index 00000000..e0bcdd82 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/successresponse.go @@ -0,0 +1,32 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: f509a4f00c5b + +package components + +import ( + "mockserver/internal/sdk/utils" +) + +// SuccessResponse - Success response for custom metadata operations +type SuccessResponse struct { + // Indicates if the operation was successful + Success *bool `default:"true" json:"success"` +} + +func (s SuccessResponse) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(s, "", false) +} + +func (s *SuccessResponse) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &s, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *SuccessResponse) GetSuccess() *bool { + if o == nil { + return nil + } + return o.Success +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/ugctype.go b/src/__tests__/mockserver/internal/sdk/models/components/ugctype.go index fbd11d98..76f3175d 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/ugctype.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/ugctype.go @@ -28,6 +28,8 @@ const ( UgcTypeShortcutsType UgcType = "SHORTCUTS_TYPE" UgcTypeSlideType UgcType = "SLIDE_TYPE" UgcTypeSpreadsheetType UgcType = "SPREADSHEET_TYPE" + UgcTypeInlineHTMLType UgcType = "INLINE_HTML_TYPE" + UgcTypePodcastType UgcType = "PODCAST_TYPE" UgcTypeWorkflowsType UgcType = "WORKFLOWS_TYPE" ) @@ -74,6 +76,10 @@ func (e *UgcType) UnmarshalJSON(data []byte) error { fallthrough case "SPREADSHEET_TYPE": fallthrough + case "INLINE_HTML_TYPE": + fallthrough + case "PODCAST_TYPE": + fallthrough case "WORKFLOWS_TYPE": *e = UgcType(v) return nil diff --git a/src/__tests__/mockserver/internal/sdk/models/components/workflow.go b/src/__tests__/mockserver/internal/sdk/models/components/workflow.go index 7eb6ccca..0e2f4ff7 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/workflow.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/workflow.go @@ -12,11 +12,18 @@ type Workflow struct { // Server Unix timestamp of the last update time. LastUpdateTimestamp *int64 `json:"lastUpdateTimestamp,omitempty"` // Server Unix timestamp of the last time the draft was saved. - LastDraftSavedAt *int64 `json:"lastDraftSavedAt,omitempty"` - LastUpdatedBy *Person `json:"lastUpdatedBy,omitempty"` - Permissions *ObjectPermissions `json:"permissions,omitempty"` + LastDraftSavedAt *int64 `json:"lastDraftSavedAt,omitempty"` + LastDraftSavedBy *Person `json:"lastDraftSavedBy,omitempty"` + // 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. + LastDraftGitAuthorID *string `json:"lastDraftGitAuthorId,omitempty"` + LastUpdatedBy *Person `json:"lastUpdatedBy,omitempty"` + Permissions *ObjectPermissions `json:"permissions,omitempty"` // The ID of the workflow. ID *string `json:"id,omitempty"` + // When present, indicates this workflow is admin-verified. Set via the dedicated admin settings endpoint, not by regular edits. + Verified *bool `json:"verified,omitempty"` + // When true, displays organization name instead of author name in agent card. Set via the dedicated admin settings endpoint, not by regular edits. + ShowOrganizationAsAuthor *bool `json:"showOrganizationAsAuthor,omitempty"` } func (o *Workflow) GetName() *string { @@ -54,6 +61,20 @@ func (o *Workflow) GetLastDraftSavedAt() *int64 { return o.LastDraftSavedAt } +func (o *Workflow) GetLastDraftSavedBy() *Person { + if o == nil { + return nil + } + return o.LastDraftSavedBy +} + +func (o *Workflow) GetLastDraftGitAuthorID() *string { + if o == nil { + return nil + } + return o.LastDraftGitAuthorID +} + func (o *Workflow) GetLastUpdatedBy() *Person { if o == nil { return nil @@ -74,3 +95,17 @@ func (o *Workflow) GetID() *string { } return o.ID } + +func (o *Workflow) GetVerified() *bool { + if o == nil { + return nil + } + return o.Verified +} + +func (o *Workflow) GetShowOrganizationAsAuthor() *bool { + if o == nil { + return nil + } + return o.ShowOrganizationAsAuthor +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/authorizeactionpack.go b/src/__tests__/mockserver/internal/sdk/models/operations/authorizeactionpack.go new file mode 100644 index 00000000..1e54931a --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/authorizeactionpack.go @@ -0,0 +1,48 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 3e30b97495c0 + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type AuthorizeActionPackRequest struct { + // ID of the action pack to query or authorize. + ActionPackID string `pathParam:"style=simple,explode=false,name=actionPackId"` + Body components.AuthorizeActionPackRequest `request:"mediaType=application/json"` +} + +func (o *AuthorizeActionPackRequest) GetActionPackID() string { + if o == nil { + return "" + } + return o.ActionPackID +} + +func (o *AuthorizeActionPackRequest) GetBody() components.AuthorizeActionPackRequest { + if o == nil { + return components.AuthorizeActionPackRequest{} + } + return o.Body +} + +type AuthorizeActionPackResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // Successful operation + AuthorizeActionPackResponse *components.AuthorizeActionPackResponse +} + +func (o *AuthorizeActionPackResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *AuthorizeActionPackResponse) GetAuthorizeActionPackResponse() *components.AuthorizeActionPackResponse { + if o == nil { + return nil + } + return o.AuthorizeActionPackResponse +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/deleterestapiindexcustommetadataschemagroupname.go b/src/__tests__/mockserver/internal/sdk/models/operations/deleterestapiindexcustommetadataschemagroupname.go new file mode 100644 index 00000000..a4764e6a --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/deleterestapiindexcustommetadataschemagroupname.go @@ -0,0 +1,40 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: fa893707ff78 + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type DeleteRestAPIIndexCustomMetadataSchemaGroupNameRequest struct { + // Name of the metadata group schema + GroupName string `pathParam:"style=simple,explode=false,name=groupName"` +} + +func (o *DeleteRestAPIIndexCustomMetadataSchemaGroupNameRequest) GetGroupName() string { + if o == nil { + return "" + } + return o.GroupName +} + +type DeleteRestAPIIndexCustomMetadataSchemaGroupNameResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // OK + SuccessResponse *components.SuccessResponse +} + +func (o *DeleteRestAPIIndexCustomMetadataSchemaGroupNameResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *DeleteRestAPIIndexCustomMetadataSchemaGroupNameResponse) GetSuccessResponse() *components.SuccessResponse { + if o == nil { + return nil + } + return o.SuccessResponse +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/deleterestapiindexdocumentdocidcustommetadatagroupname.go b/src/__tests__/mockserver/internal/sdk/models/operations/deleterestapiindexdocumentdocidcustommetadatagroupname.go new file mode 100644 index 00000000..9ab21311 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/deleterestapiindexdocumentdocidcustommetadatagroupname.go @@ -0,0 +1,49 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: c55437e99b19 + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type DeleteRestAPIIndexDocumentDocIDCustomMetadataGroupNameRequest struct { + // Unique Glean identifier of the document + DocID string `pathParam:"style=simple,explode=false,name=docId"` + // Name of the metadata group as specified while adding schema + GroupName string `pathParam:"style=simple,explode=false,name=groupName"` +} + +func (o *DeleteRestAPIIndexDocumentDocIDCustomMetadataGroupNameRequest) GetDocID() string { + if o == nil { + return "" + } + return o.DocID +} + +func (o *DeleteRestAPIIndexDocumentDocIDCustomMetadataGroupNameRequest) GetGroupName() string { + if o == nil { + return "" + } + return o.GroupName +} + +type DeleteRestAPIIndexDocumentDocIDCustomMetadataGroupNameResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // OK + SuccessResponse *components.SuccessResponse +} + +func (o *DeleteRestAPIIndexDocumentDocIDCustomMetadataGroupNameResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *DeleteRestAPIIndexDocumentDocIDCustomMetadataGroupNameResponse) GetSuccessResponse() *components.SuccessResponse { + if o == nil { + return nil + } + return o.SuccessResponse +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/editagent.go b/src/__tests__/mockserver/internal/sdk/models/operations/editagent.go new file mode 100644 index 00000000..ee445cbd --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/editagent.go @@ -0,0 +1,57 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 7a241225e318 + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type EditAgentRequest struct { + // 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`. + Locale *string `queryParam:"style=form,explode=true,name=locale"` + // The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. + TimezoneOffset *int64 `queryParam:"style=form,explode=true,name=timezoneOffset"` + // The ID of the agent. + AgentID string `pathParam:"style=simple,explode=false,name=agent_id"` + Body components.EditWorkflowRequest `request:"mediaType=application/json"` +} + +func (o *EditAgentRequest) GetLocale() *string { + if o == nil { + return nil + } + return o.Locale +} + +func (o *EditAgentRequest) GetTimezoneOffset() *int64 { + if o == nil { + return nil + } + return o.TimezoneOffset +} + +func (o *EditAgentRequest) GetAgentID() string { + if o == nil { + return "" + } + return o.AgentID +} + +func (o *EditAgentRequest) GetBody() components.EditWorkflowRequest { + if o == nil { + return components.EditWorkflowRequest{} + } + return o.Body +} + +type EditAgentResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` +} + +func (o *EditAgentResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getactionpackauthstatus.go b/src/__tests__/mockserver/internal/sdk/models/operations/getactionpackauthstatus.go new file mode 100644 index 00000000..3ed366e7 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getactionpackauthstatus.go @@ -0,0 +1,40 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: f5cbbd5db009 + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type GetActionPackAuthStatusRequest struct { + // ID of the action pack to query or authorize. + ActionPackID string `pathParam:"style=simple,explode=false,name=actionPackId"` +} + +func (o *GetActionPackAuthStatusRequest) GetActionPackID() string { + if o == nil { + return "" + } + return o.ActionPackID +} + +type GetActionPackAuthStatusResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // Successful operation + ActionPackAuthStatusResponse *components.ActionPackAuthStatusResponse +} + +func (o *GetActionPackAuthStatusResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *GetActionPackAuthStatusResponse) GetActionPackAuthStatusResponse() *components.ActionPackAuthStatusResponse { + if o == nil { + return nil + } + return o.ActionPackAuthStatusResponse +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getchatfile.go b/src/__tests__/mockserver/internal/sdk/models/operations/getchatfile.go new file mode 100644 index 00000000..ac25a047 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getchatfile.go @@ -0,0 +1,52 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: d71d007cdd54 + +package operations + +import ( + "io" + "mockserver/internal/sdk/models/components" +) + +type GetChatFileRequest struct { + // Identifier of the chat file to download. + FileID string `pathParam:"style=simple,explode=false,name=fileId"` + // When true and the file is a PDF, the response is served inline (Content-Disposition: inline) instead of as an attachment. + // + Preview *bool `queryParam:"style=form,explode=true,name=preview"` +} + +func (o *GetChatFileRequest) GetFileID() string { + if o == nil { + return "" + } + return o.FileID +} + +func (o *GetChatFileRequest) GetPreview() *bool { + if o == nil { + return nil + } + return o.Preview +} + +type GetChatFileResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // File content. + // The Close method must be called on this field, even if it is not used, to prevent resource leaks. + ResponseStream io.ReadCloser +} + +func (o *GetChatFileResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *GetChatFileResponse) GetResponseStream() io.ReadCloser { + if o == nil { + return nil + } + return o.ResponseStream +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getdatasourcecredentialstatus.go b/src/__tests__/mockserver/internal/sdk/models/operations/getdatasourcecredentialstatus.go new file mode 100644 index 00000000..4fe13e5b --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getdatasourcecredentialstatus.go @@ -0,0 +1,40 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 02e092f7b73e + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type GetDatasourceCredentialStatusRequest struct { + // The full datasource instance identifier (e.g. o365sharepoint_abc123) + DatasourceInstanceID string `pathParam:"style=simple,explode=false,name=datasourceInstanceId"` +} + +func (o *GetDatasourceCredentialStatusRequest) GetDatasourceInstanceID() string { + if o == nil { + return "" + } + return o.DatasourceInstanceID +} + +type GetDatasourceCredentialStatusResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // OK + DatasourceCredentialStatusResponse *components.DatasourceCredentialStatusResponse +} + +func (o *GetDatasourceCredentialStatusResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *GetDatasourceCredentialStatusResponse) GetDatasourceCredentialStatusResponse() *components.DatasourceCredentialStatusResponse { + if o == nil { + return nil + } + return o.DatasourceCredentialStatusResponse +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getpersonphoto.go b/src/__tests__/mockserver/internal/sdk/models/operations/getpersonphoto.go new file mode 100644 index 00000000..f023596a --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getpersonphoto.go @@ -0,0 +1,70 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: b17f42c15192 + +package operations + +import ( + "io" + "mockserver/internal/sdk/models/components" +) + +type GetPersonPhotoRequest struct { + // The obfuscated ID of the person whose photo to retrieve. + PersonID string `pathParam:"style=simple,explode=false,name=person_id"` + // 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. + // + Ds *string `queryParam:"style=form,explode=true,name=ds"` +} + +func (o *GetPersonPhotoRequest) GetPersonID() string { + if o == nil { + return "" + } + return o.PersonID +} + +func (o *GetPersonPhotoRequest) GetDs() *string { + if o == nil { + return nil + } + return o.Ds +} + +type GetPersonPhotoResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // Photo bytes returned successfully. + // The Close method must be called on this field, even if it is not used, to prevent resource leaks. + TwoHundredImagePngResponseStream io.ReadCloser + // Photo bytes returned successfully. + // The Close method must be called on this field, even if it is not used, to prevent resource leaks. + TwoHundredImageJpegResponseStream io.ReadCloser + Headers map[string][]string +} + +func (o *GetPersonPhotoResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *GetPersonPhotoResponse) GetTwoHundredImagePngResponseStream() io.ReadCloser { + if o == nil { + return nil + } + return o.TwoHundredImagePngResponseStream +} + +func (o *GetPersonPhotoResponse) GetTwoHundredImageJpegResponseStream() io.ReadCloser { + if o == nil { + return nil + } + return o.TwoHundredImageJpegResponseStream +} + +func (o *GetPersonPhotoResponse) GetHeaders() map[string][]string { + if o == nil { + return map[string][]string{} + } + return o.Headers +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getrestapiindexcustommetadataschemagroupname.go b/src/__tests__/mockserver/internal/sdk/models/operations/getrestapiindexcustommetadataschemagroupname.go new file mode 100644 index 00000000..803dd608 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getrestapiindexcustommetadataschemagroupname.go @@ -0,0 +1,40 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 335711684a43 + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type GetRestAPIIndexCustomMetadataSchemaGroupNameRequest struct { + // Name of the metadata group schema + GroupName string `pathParam:"style=simple,explode=false,name=groupName"` +} + +func (o *GetRestAPIIndexCustomMetadataSchemaGroupNameRequest) GetGroupName() string { + if o == nil { + return "" + } + return o.GroupName +} + +type GetRestAPIIndexCustomMetadataSchemaGroupNameResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // OK + CustomMetadataSchema *components.CustomMetadataSchema +} + +func (o *GetRestAPIIndexCustomMetadataSchemaGroupNameResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *GetRestAPIIndexCustomMetadataSchemaGroupNameResponse) GetCustomMetadataSchema() *components.CustomMetadataSchema { + if o == nil { + return nil + } + return o.CustomMetadataSchema +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/postapiindexv1debugdatasourcedocumentevents.go b/src/__tests__/mockserver/internal/sdk/models/operations/postapiindexv1debugdatasourcedocumentevents.go new file mode 100644 index 00000000..ff8fcb0d --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/postapiindexv1debugdatasourcedocumentevents.go @@ -0,0 +1,48 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 5ac58e6cf104 + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type PostAPIIndexV1DebugDatasourceDocumentEventsRequest struct { + // The datasource to which the document belongs + Datasource string `pathParam:"style=simple,explode=false,name=datasource"` + Body components.DebugDocumentLifecycleRequest `request:"mediaType=application/json"` +} + +func (o *PostAPIIndexV1DebugDatasourceDocumentEventsRequest) GetDatasource() string { + if o == nil { + return "" + } + return o.Datasource +} + +func (o *PostAPIIndexV1DebugDatasourceDocumentEventsRequest) GetBody() components.DebugDocumentLifecycleRequest { + if o == nil { + return components.DebugDocumentLifecycleRequest{} + } + return o.Body +} + +type PostAPIIndexV1DebugDatasourceDocumentEventsResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // OK + DebugDocumentLifecycleResponse *components.DebugDocumentLifecycleResponse +} + +func (o *PostAPIIndexV1DebugDatasourceDocumentEventsResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *PostAPIIndexV1DebugDatasourceDocumentEventsResponse) GetDebugDocumentLifecycleResponse() *components.DebugDocumentLifecycleResponse { + if o == nil { + return nil + } + return o.DebugDocumentLifecycleResponse +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/putrestapiindexcustommetadataschemagroupname.go b/src/__tests__/mockserver/internal/sdk/models/operations/putrestapiindexcustommetadataschemagroupname.go new file mode 100644 index 00000000..a0b3edfc --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/putrestapiindexcustommetadataschemagroupname.go @@ -0,0 +1,48 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 375cf318fd35 + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type PutRestAPIIndexCustomMetadataSchemaGroupNameRequest struct { + // Name of the metadata group schema + GroupName string `pathParam:"style=simple,explode=false,name=groupName"` + Body components.CustomMetadataSchema `request:"mediaType=application/json"` +} + +func (o *PutRestAPIIndexCustomMetadataSchemaGroupNameRequest) GetGroupName() string { + if o == nil { + return "" + } + return o.GroupName +} + +func (o *PutRestAPIIndexCustomMetadataSchemaGroupNameRequest) GetBody() components.CustomMetadataSchema { + if o == nil { + return components.CustomMetadataSchema{} + } + return o.Body +} + +type PutRestAPIIndexCustomMetadataSchemaGroupNameResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // OK + SuccessResponse *components.SuccessResponse +} + +func (o *PutRestAPIIndexCustomMetadataSchemaGroupNameResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *PutRestAPIIndexCustomMetadataSchemaGroupNameResponse) GetSuccessResponse() *components.SuccessResponse { + if o == nil { + return nil + } + return o.SuccessResponse +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/putrestapiindexdocumentdocidcustommetadatagroupname.go b/src/__tests__/mockserver/internal/sdk/models/operations/putrestapiindexdocumentdocidcustommetadatagroupname.go new file mode 100644 index 00000000..24b30b2e --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/putrestapiindexdocumentdocidcustommetadatagroupname.go @@ -0,0 +1,57 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: af08c06aca4f + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type PutRestAPIIndexDocumentDocIDCustomMetadataGroupNameRequest struct { + // Unique Glean identifier of the document + DocID string `pathParam:"style=simple,explode=false,name=docId"` + // Name of the metadata group as specified while adding schema + GroupName string `pathParam:"style=simple,explode=false,name=groupName"` + Body components.CustomMetadataPutRequest `request:"mediaType=application/json"` +} + +func (o *PutRestAPIIndexDocumentDocIDCustomMetadataGroupNameRequest) GetDocID() string { + if o == nil { + return "" + } + return o.DocID +} + +func (o *PutRestAPIIndexDocumentDocIDCustomMetadataGroupNameRequest) GetGroupName() string { + if o == nil { + return "" + } + return o.GroupName +} + +func (o *PutRestAPIIndexDocumentDocIDCustomMetadataGroupNameRequest) GetBody() components.CustomMetadataPutRequest { + if o == nil { + return components.CustomMetadataPutRequest{} + } + return o.Body +} + +type PutRestAPIIndexDocumentDocIDCustomMetadataGroupNameResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // OK + SuccessResponse *components.SuccessResponse +} + +func (o *PutRestAPIIndexDocumentDocIDCustomMetadataGroupNameResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *PutRestAPIIndexDocumentDocIDCustomMetadataGroupNameResponse) GetSuccessResponse() *components.SuccessResponse { + if o == nil { + return nil + } + return o.SuccessResponse +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/rotatedatasourcecredentials.go b/src/__tests__/mockserver/internal/sdk/models/operations/rotatedatasourcecredentials.go new file mode 100644 index 00000000..848d944a --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/rotatedatasourcecredentials.go @@ -0,0 +1,48 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 19b070fce842 + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type RotateDatasourceCredentialsRequest struct { + // The full datasource instance identifier (e.g. o365sharepoint_abc123) + DatasourceInstanceID string `pathParam:"style=simple,explode=false,name=datasourceInstanceId"` + Body components.RotateDatasourceCredentialsRequest `request:"mediaType=application/json"` +} + +func (o *RotateDatasourceCredentialsRequest) GetDatasourceInstanceID() string { + if o == nil { + return "" + } + return o.DatasourceInstanceID +} + +func (o *RotateDatasourceCredentialsRequest) GetBody() components.RotateDatasourceCredentialsRequest { + if o == nil { + return components.RotateDatasourceCredentialsRequest{} + } + return o.Body +} + +type RotateDatasourceCredentialsResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // OK + DatasourceCredentialStatusResponse *components.DatasourceCredentialStatusResponse +} + +func (o *RotateDatasourceCredentialsResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *RotateDatasourceCredentialsResponse) GetDatasourceCredentialStatusResponse() *components.DatasourceCredentialStatusResponse { + if o == nil { + return nil + } + return o.DatasourceCredentialStatusResponse +} diff --git a/src/__tests__/mockserver/internal/sdk/models/sdkerrors/errorinforesponse.go b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/errorinforesponse.go new file mode 100644 index 00000000..22857c33 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/errorinforesponse.go @@ -0,0 +1,25 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. +// @generated-id: 4dce8e891c77 + +package sdkerrors + +import ( + "encoding/json" + "mockserver/internal/sdk/models/components" +) + +// ErrorInfoResponse - Error response for custom metadata operations +type ErrorInfoResponse struct { + // Error message describing what went wrong + Error_ string `json:"error"` + // Additional details about the error + Message *string `json:"message,omitempty"` + HTTPMeta components.HTTPMetadata `json:"-"` +} + +var _ error = &ErrorInfoResponse{} + +func (e *ErrorInfoResponse) Error() string { + data, _ := json.Marshal(e) + return string(data) +} diff --git a/src/__tests__/summarize.test.ts b/src/__tests__/summarize.test.ts index bb5e2b02..ebcad3a5 100644 --- a/src/__tests__/summarize.test.ts +++ b/src/__tests__/summarize.test.ts @@ -19,10 +19,12 @@ test("Summarize Summarize", async () => { const result = await glean.client.documents.summarize({ documentSpecs: [ { - url: "https://dim-glider.com/", + ugcType: "ANNOUNCEMENTS", + ugcId: "", }, { - id: "", + ugcType: "COLLECTIONS", + contentId: 337360, }, ], }); diff --git a/src/__tests__/tools.test.ts b/src/__tests__/tools.test.ts index 04950cf8..af5d0b26 100644 --- a/src/__tests__/tools.test.ts +++ b/src/__tests__/tools.test.ts @@ -40,3 +40,31 @@ test("Tools Post /Rest/api/v1 /Tools/call", async () => { }); expect(result).toBeDefined(); }); + +test("Tools Get Action Pack Auth Status", async () => { + const testHttpClient = createTestHTTPClient("getActionPackAuthStatus"); + + 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.tools.getActionPackAuthStatus(""); + expect(result).toBeDefined(); +}); + +test("Tools Authorize Action Pack", async () => { + const testHttpClient = createTestHTTPClient("authorizeActionPack"); + + 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.tools.authorizeActionPack({ + returnUrl: "https://merry-allocation.org/", + }, ""); + expect(result).toBeDefined(); +}); diff --git a/src/funcs/agentsEditAgent.ts b/src/funcs/agentsEditAgent.ts new file mode 100644 index 00000000..6a305004 --- /dev/null +++ b/src/funcs/agentsEditAgent.ts @@ -0,0 +1,204 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 973833b5affd + */ + +import * as z from "zod/v3"; +import { GleanCore } from "../core.js"; +import { encodeFormQuery, 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"; + +/** + * 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. + */ +export function agentsEditAgent( + client: GleanCore, + editWorkflowRequest: components.EditWorkflowRequest, + agentId: string, + locale?: string | undefined, + timezoneOffset?: number | undefined, + options?: RequestOptions, +): APIPromise< + Result< + void, + | errors.ErrorResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + editWorkflowRequest, + agentId, + locale, + timezoneOffset, + options, + )); +} + +async function $do( + client: GleanCore, + editWorkflowRequest: components.EditWorkflowRequest, + agentId: string, + locale?: string | undefined, + timezoneOffset?: number | undefined, + options?: RequestOptions, +): Promise< + [ + Result< + void, + | errors.ErrorResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const input: operations.EditAgentRequest = { + editWorkflowRequest: editWorkflowRequest, + agentId: agentId, + locale: locale, + timezoneOffset: timezoneOffset, + }; + + const parsed = safeParse( + input, + (value) => operations.EditAgentRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.EditWorkflowRequest, { + explode: true, + }); + + const pathParams = { + agent_id: encodeSimple("agent_id", payload.agent_id, { + explode: false, + charEncoding: "percent", + }), + }; + const path = pathToFunc("/rest/api/v1/agents/{agent_id}")(pathParams); + + const query = encodeFormQuery({ + "locale": payload.locale, + "timezoneOffset": payload.timezoneOffset, + }); + + 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: "editAgent", + 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, + 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< + void, + | errors.ErrorResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.nil(200, z.void()), + M.jsonErr(404, errors.ErrorResponse$inboundSchema), + M.fail([400, 401, 403, "4XX"]), + M.fail([500, "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/chatGetChatFile.ts b/src/funcs/chatGetChatFile.ts new file mode 100644 index 00000000..3029f9a0 --- /dev/null +++ b/src/funcs/chatGetChatFile.ts @@ -0,0 +1,182 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: ec3e59174ced + */ + +import * as z from "zod/v3"; +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 { 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 * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * 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. + */ +export function chatGetChatFile( + client: GleanCore, + fileId: string, + preview?: boolean | undefined, + options?: RequestOptions, +): APIPromise< + Result< + ReadableStream, + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + fileId, + preview, + options, + )); +} + +async function $do( + client: GleanCore, + fileId: string, + preview?: boolean | undefined, + options?: RequestOptions, +): Promise< + [ + Result< + ReadableStream, + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const input: operations.GetChatFileRequest = { + fileId: fileId, + preview: preview, + }; + + const parsed = safeParse( + input, + (value) => operations.GetChatFileRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + fileId: encodeSimple("fileId", payload.fileId, { + explode: false, + charEncoding: "percent", + }), + }; + const path = pathToFunc("/rest/api/v1/chat-files/{fileId}")(pathParams); + + const query = encodeFormQuery({ + "preview": payload.preview, + }); + + const headers = new Headers(compactMap({ + Accept: "application/octet-stream", + })); + + 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: "getChatFile", + 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 [result] = await M.match< + ReadableStream, + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.stream(200, z.instanceof(ReadableStream)), + M.fail([400, 401, 403, 404, "4XX"]), + M.fail([500, "5XX"]), + )(response, req); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/datasourcesGetDatasourceCredentialStatus.ts b/src/funcs/datasourcesGetDatasourceCredentialStatus.ts new file mode 100644 index 00000000..c35e8689 --- /dev/null +++ b/src/funcs/datasourcesGetDatasourceCredentialStatus.ts @@ -0,0 +1,188 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: a541b9c70d16 + */ + +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 datasource instance credential status + * + * @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( + client: GleanCore, + datasourceInstanceId: string, + options?: RequestOptions, +): APIPromise< + Result< + components.DatasourceCredentialStatusResponse, + | errors.ErrorResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + datasourceInstanceId, + options, + )); +} + +async function $do( + client: GleanCore, + datasourceInstanceId: string, + options?: RequestOptions, +): Promise< + [ + Result< + components.DatasourceCredentialStatusResponse, + | errors.ErrorResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const input: operations.GetDatasourceCredentialStatusRequest = { + datasourceInstanceId: datasourceInstanceId, + }; + + const parsed = safeParse( + input, + (value) => + operations.GetDatasourceCredentialStatusRequest$outboundSchema.parse( + value, + ), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + datasourceInstanceId: encodeSimple( + "datasourceInstanceId", + payload.datasourceInstanceId, + { explode: false, charEncoding: "percent" }, + ), + }; + const path = pathToFunc( + "/rest/api/v1/datasource/{datasourceInstanceId}/credentialstatus", + )(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: "getDatasourceCredentialStatus", + 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.DatasourceCredentialStatusResponse, + | errors.ErrorResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.DatasourceCredentialStatusResponse$inboundSchema), + M.jsonErr([400, 403, 404], errors.ErrorResponse$inboundSchema), + M.fail([401, "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/datasourcesRotateDatasourceCredentials.ts b/src/funcs/datasourcesRotateDatasourceCredentials.ts new file mode 100644 index 00000000..ad96776b --- /dev/null +++ b/src/funcs/datasourcesRotateDatasourceCredentials.ts @@ -0,0 +1,196 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 494d27ff47ff + */ + +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"; + +/** + * Rotate datasource instance credentials + * + * @remarks + * 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( + client: GleanCore, + rotateDatasourceCredentialsRequest: + components.RotateDatasourceCredentialsRequest, + datasourceInstanceId: string, + options?: RequestOptions, +): APIPromise< + Result< + components.DatasourceCredentialStatusResponse, + | errors.ErrorResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + rotateDatasourceCredentialsRequest, + datasourceInstanceId, + options, + )); +} + +async function $do( + client: GleanCore, + rotateDatasourceCredentialsRequest: + components.RotateDatasourceCredentialsRequest, + datasourceInstanceId: string, + options?: RequestOptions, +): Promise< + [ + Result< + components.DatasourceCredentialStatusResponse, + | errors.ErrorResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const input: operations.RotateDatasourceCredentialsRequest = { + rotateDatasourceCredentialsRequest: rotateDatasourceCredentialsRequest, + datasourceInstanceId: datasourceInstanceId, + }; + + const parsed = safeParse( + input, + (value) => + operations.RotateDatasourceCredentialsRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.RotateDatasourceCredentialsRequest, { + explode: true, + }); + + const pathParams = { + datasourceInstanceId: encodeSimple( + "datasourceInstanceId", + payload.datasourceInstanceId, + { explode: false, charEncoding: "percent" }, + ), + }; + const path = pathToFunc( + "/rest/api/v1/datasource/{datasourceInstanceId}/credentials", + )(pathParams); + + 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: "rotateDatasourceCredentials", + 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.DatasourceCredentialStatusResponse, + | errors.ErrorResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.DatasourceCredentialStatusResponse$inboundSchema), + M.jsonErr([400, 403, 404], errors.ErrorResponse$inboundSchema), + M.fail([401, "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/entitiesGetPersonPhoto.ts b/src/funcs/entitiesGetPersonPhoto.ts new file mode 100644 index 00000000..3d4b9ee6 --- /dev/null +++ b/src/funcs/entitiesGetPersonPhoto.ts @@ -0,0 +1,203 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: c5da648aa63d + */ + +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 { 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 * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +export enum GetPersonPhotoAcceptEnum { + imageJpeg = "image/jpeg", + imagePng = "image/png", +} + +/** + * 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. + */ +export function entitiesGetPersonPhoto( + client: GleanCore, + personId: string, + ds?: string | undefined, + options?: RequestOptions & { + acceptHeaderOverride?: GetPersonPhotoAcceptEnum; + }, +): APIPromise< + Result< + operations.GetPersonPhotoResponse, + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + personId, + ds, + options, + )); +} + +async function $do( + client: GleanCore, + personId: string, + ds?: string | undefined, + options?: RequestOptions & { + acceptHeaderOverride?: GetPersonPhotoAcceptEnum; + }, +): Promise< + [ + Result< + operations.GetPersonPhotoResponse, + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const input: operations.GetPersonPhotoRequest = { + personId: personId, + ds: ds, + }; + + const parsed = safeParse( + input, + (value) => operations.GetPersonPhotoRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + person_id: encodeSimple("person_id", payload.person_id, { + explode: false, + charEncoding: "percent", + }), + }; + const path = pathToFunc("/rest/api/v1/people/{person_id}/photo")(pathParams); + + const query = encodeFormQuery({ + "ds": payload.ds, + }); + + const headers = new Headers(compactMap({ + Accept: options?.acceptHeaderOverride || "image/jpeg;q=1, image/png;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: "getPersonPhoto", + 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< + operations.GetPersonPhotoResponse, + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.stream(200, operations.GetPersonPhotoResponse$inboundSchema, { + ctype: "image/png", + hdrs: true, + key: "Result", + }), + M.stream(200, operations.GetPersonPhotoResponse$inboundSchema, { + ctype: "image/jpeg", + hdrs: true, + key: "Result", + }), + M.fail([400, 401, 404, 429, "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/indexingCustomMetadataDelete.ts b/src/funcs/indexingCustomMetadataDelete.ts new file mode 100644 index 00000000..06a13394 --- /dev/null +++ b/src/funcs/indexingCustomMetadataDelete.ts @@ -0,0 +1,207 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 223e63a6dde2 + */ + +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 { DeleteRestApiIndexDocumentDocIdCustomMetadataGroupNameServerList } from "../models/operations/deleterestapiindexdocumentdocidcustommetadatagroupname.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Remove custom metadata + * + * @remarks + * Removes all custom metadata for the specified metadata group from a document. + */ +export function indexingCustomMetadataDelete( + client: GleanCore, + docId: string, + groupName: string, + options?: RequestOptions, +): APIPromise< + Result< + components.SuccessResponse, + | errors.ErrorInfoResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + docId, + groupName, + options, + )); +} + +async function $do( + client: GleanCore, + docId: string, + groupName: string, + options?: RequestOptions, +): Promise< + [ + Result< + components.SuccessResponse, + | errors.ErrorInfoResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const input: + operations.DeleteRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest = { + docId: docId, + groupName: groupName, + }; + + const parsed = safeParse( + input, + (value) => + operations + .DeleteRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest$outboundSchema + .parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const baseURL = options?.serverURL + || pathToFunc( + DeleteRestApiIndexDocumentDocIdCustomMetadataGroupNameServerList[0], + { charEncoding: "percent" }, + )({ + instance: "instance-name", + }); + + const pathParams = { + docId: encodeSimple("docId", payload.docId, { + explode: false, + charEncoding: "percent", + }), + groupName: encodeSimple("groupName", payload.groupName, { + explode: false, + charEncoding: "percent", + }), + }; + const path = pathToFunc( + "/rest/api/index/document/{docId}/custom-metadata/{groupName}", + )(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: baseURL ?? "", + operationID: + "delete_/rest/api/index/document/{docId}/custom-metadata/{groupName}", + 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: "DELETE", + baseURL: baseURL, + 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.SuccessResponse, + | errors.ErrorInfoResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.SuccessResponse$inboundSchema), + M.jsonErr([400, 401, 404, 429], errors.ErrorInfoResponse$inboundSchema), + M.jsonErr(500, errors.ErrorInfoResponse$inboundSchema), + 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/indexingCustomMetadataDeleteSchema.ts b/src/funcs/indexingCustomMetadataDeleteSchema.ts new file mode 100644 index 00000000..eb826b71 --- /dev/null +++ b/src/funcs/indexingCustomMetadataDeleteSchema.ts @@ -0,0 +1,198 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 8159e0763ef7 + */ + +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 { DeleteRestApiIndexCustomMetadataSchemaGroupNameServerList } from "../models/operations/deleterestapiindexcustommetadataschemagroupname.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Remove metadata schema + * + * @remarks + * Deletes the schema definition for a metadata group. This does not delete existing metadata values on documents. + */ +export function indexingCustomMetadataDeleteSchema( + client: GleanCore, + groupName: string, + options?: RequestOptions, +): APIPromise< + Result< + components.SuccessResponse, + | errors.ErrorInfoResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + groupName, + options, + )); +} + +async function $do( + client: GleanCore, + groupName: string, + options?: RequestOptions, +): Promise< + [ + Result< + components.SuccessResponse, + | errors.ErrorInfoResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const input: + operations.DeleteRestApiIndexCustomMetadataSchemaGroupNameRequest = { + groupName: groupName, + }; + + const parsed = safeParse( + input, + (value) => + operations + .DeleteRestApiIndexCustomMetadataSchemaGroupNameRequest$outboundSchema + .parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const baseURL = options?.serverURL + || pathToFunc( + DeleteRestApiIndexCustomMetadataSchemaGroupNameServerList[0], + { charEncoding: "percent" }, + )({ + instance: "instance-name", + }); + + const pathParams = { + groupName: encodeSimple("groupName", payload.groupName, { + explode: false, + charEncoding: "percent", + }), + }; + const path = pathToFunc("/rest/api/index/custom-metadata/schema/{groupName}")( + 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: baseURL ?? "", + operationID: "delete_/rest/api/index/custom-metadata/schema/{groupName}", + 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: "DELETE", + baseURL: baseURL, + 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.SuccessResponse, + | errors.ErrorInfoResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.SuccessResponse$inboundSchema), + M.jsonErr([400, 401, 404, 429], errors.ErrorInfoResponse$inboundSchema), + M.jsonErr(500, errors.ErrorInfoResponse$inboundSchema), + 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/indexingCustomMetadataGetSchema.ts b/src/funcs/indexingCustomMetadataGetSchema.ts new file mode 100644 index 00000000..46d3774f --- /dev/null +++ b/src/funcs/indexingCustomMetadataGetSchema.ts @@ -0,0 +1,197 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 81c160e8de7c + */ + +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 { GetRestApiIndexCustomMetadataSchemaGroupNameServerList } from "../models/operations/getrestapiindexcustommetadataschemagroupname.js"; +import * as operations from "../models/operations/index.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Retrieve metadata schema + * + * @remarks + * Retrieves the current schema definition for a metadata group. + */ +export function indexingCustomMetadataGetSchema( + client: GleanCore, + groupName: string, + options?: RequestOptions, +): APIPromise< + Result< + components.CustomMetadataSchema, + | errors.ErrorInfoResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + groupName, + options, + )); +} + +async function $do( + client: GleanCore, + groupName: string, + options?: RequestOptions, +): Promise< + [ + Result< + components.CustomMetadataSchema, + | errors.ErrorInfoResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const input: operations.GetRestApiIndexCustomMetadataSchemaGroupNameRequest = + { + groupName: groupName, + }; + + const parsed = safeParse( + input, + (value) => + operations + .GetRestApiIndexCustomMetadataSchemaGroupNameRequest$outboundSchema + .parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const baseURL = options?.serverURL + || pathToFunc(GetRestApiIndexCustomMetadataSchemaGroupNameServerList[0], { + charEncoding: "percent", + })({ + instance: "instance-name", + }); + + const pathParams = { + groupName: encodeSimple("groupName", payload.groupName, { + explode: false, + charEncoding: "percent", + }), + }; + const path = pathToFunc("/rest/api/index/custom-metadata/schema/{groupName}")( + 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: baseURL ?? "", + operationID: "get_/rest/api/index/custom-metadata/schema/{groupName}", + 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: baseURL, + 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.CustomMetadataSchema, + | errors.ErrorInfoResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.CustomMetadataSchema$inboundSchema), + M.jsonErr([401, 404, 429], errors.ErrorInfoResponse$inboundSchema), + M.jsonErr(500, errors.ErrorInfoResponse$inboundSchema), + 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/indexingCustomMetadataUpsert.ts b/src/funcs/indexingCustomMetadataUpsert.ts new file mode 100644 index 00000000..b6eff2e1 --- /dev/null +++ b/src/funcs/indexingCustomMetadataUpsert.ts @@ -0,0 +1,214 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: a05d2e9b498e + */ + +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 { PutRestApiIndexDocumentDocIdCustomMetadataGroupNameServerList } from "../models/operations/putrestapiindexdocumentdocidcustommetadatagroupname.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Add or update custom metadata + * + * @remarks + * Associates custom metadata with a specific document. Custom metadata enables you to enrich documents with additional structured information that can be used for search, filtering, and faceting. + */ +export function indexingCustomMetadataUpsert( + client: GleanCore, + customMetadataPutRequest: components.CustomMetadataPutRequest, + docId: string, + groupName: string, + options?: RequestOptions, +): APIPromise< + Result< + components.SuccessResponse, + | errors.ErrorInfoResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + customMetadataPutRequest, + docId, + groupName, + options, + )); +} + +async function $do( + client: GleanCore, + customMetadataPutRequest: components.CustomMetadataPutRequest, + docId: string, + groupName: string, + options?: RequestOptions, +): Promise< + [ + Result< + components.SuccessResponse, + | errors.ErrorInfoResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const input: + operations.PutRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest = { + customMetadataPutRequest: customMetadataPutRequest, + docId: docId, + groupName: groupName, + }; + + const parsed = safeParse( + input, + (value) => + operations + .PutRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest$outboundSchema + .parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.CustomMetadataPutRequest, { + explode: true, + }); + + const baseURL = options?.serverURL + || pathToFunc( + PutRestApiIndexDocumentDocIdCustomMetadataGroupNameServerList[0], + { charEncoding: "percent" }, + )({ + instance: "instance-name", + }); + + const pathParams = { + docId: encodeSimple("docId", payload.docId, { + explode: false, + charEncoding: "percent", + }), + groupName: encodeSimple("groupName", payload.groupName, { + explode: false, + charEncoding: "percent", + }), + }; + const path = pathToFunc( + "/rest/api/index/document/{docId}/custom-metadata/{groupName}", + )(pathParams); + + 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: baseURL ?? "", + operationID: + "put_/rest/api/index/document/{docId}/custom-metadata/{groupName}", + 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: "PUT", + baseURL: baseURL, + 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.SuccessResponse, + | errors.ErrorInfoResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.SuccessResponse$inboundSchema), + M.jsonErr([400, 401, 404, 429], errors.ErrorInfoResponse$inboundSchema), + M.jsonErr(500, errors.ErrorInfoResponse$inboundSchema), + 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/indexingCustomMetadataUpsertSchema.ts b/src/funcs/indexingCustomMetadataUpsertSchema.ts new file mode 100644 index 00000000..4bde2109 --- /dev/null +++ b/src/funcs/indexingCustomMetadataUpsertSchema.ts @@ -0,0 +1,204 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 1f94527116d6 + */ + +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 { PutRestApiIndexCustomMetadataSchemaGroupNameServerList } from "../models/operations/putrestapiindexcustommetadataschemagroupname.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Create or update metadata schema + * + * @remarks + * Defines or updates the schema for a metadata group. Schemas should be defined before indexing metadata. + */ +export function indexingCustomMetadataUpsertSchema( + client: GleanCore, + customMetadataSchema: components.CustomMetadataSchema, + groupName: string, + options?: RequestOptions, +): APIPromise< + Result< + components.SuccessResponse, + | errors.ErrorInfoResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + customMetadataSchema, + groupName, + options, + )); +} + +async function $do( + client: GleanCore, + customMetadataSchema: components.CustomMetadataSchema, + groupName: string, + options?: RequestOptions, +): Promise< + [ + Result< + components.SuccessResponse, + | errors.ErrorInfoResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const input: operations.PutRestApiIndexCustomMetadataSchemaGroupNameRequest = + { + customMetadataSchema: customMetadataSchema, + groupName: groupName, + }; + + const parsed = safeParse( + input, + (value) => + operations + .PutRestApiIndexCustomMetadataSchemaGroupNameRequest$outboundSchema + .parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.CustomMetadataSchema, { + explode: true, + }); + + const baseURL = options?.serverURL + || pathToFunc(PutRestApiIndexCustomMetadataSchemaGroupNameServerList[0], { + charEncoding: "percent", + })({ + instance: "instance-name", + }); + + const pathParams = { + groupName: encodeSimple("groupName", payload.groupName, { + explode: false, + charEncoding: "percent", + }), + }; + const path = pathToFunc("/rest/api/index/custom-metadata/schema/{groupName}")( + pathParams, + ); + + 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: baseURL ?? "", + operationID: "put_/rest/api/index/custom-metadata/schema/{groupName}", + 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: "PUT", + baseURL: baseURL, + 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.SuccessResponse, + | errors.ErrorInfoResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.SuccessResponse$inboundSchema), + M.jsonErr([400, 401, 409, 429], errors.ErrorInfoResponse$inboundSchema), + M.jsonErr(500, errors.ErrorInfoResponse$inboundSchema), + 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/toolsAuthorizeActionPack.ts b/src/funcs/toolsAuthorizeActionPack.ts new file mode 100644 index 00000000..0036b269 --- /dev/null +++ b/src/funcs/toolsAuthorizeActionPack.ts @@ -0,0 +1,189 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: d110954f314e + */ + +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 { 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"; + +/** + * Start the OAuth authorization flow for an action pack. + * + * @remarks + * Starts the third-party OAuth flow for the specified action pack and returns the + * redirect URL that the client should navigate the end user to. After the OAuth + * callback completes, the user's browser is redirected back to `returnUrl` with a + * status query parameter (`?glean_action_auth=success|error&actionPackId=...`). + * + * `returnUrl` must match the tenant's configured return URL allowlist; otherwise the + * request is rejected with 400. + */ +export function toolsAuthorizeActionPack( + client: GleanCore, + authorizeActionPackRequest: components.AuthorizeActionPackRequest, + actionPackId: string, + options?: RequestOptions, +): APIPromise< + Result< + components.AuthorizeActionPackResponse, + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + authorizeActionPackRequest, + actionPackId, + options, + )); +} + +async function $do( + client: GleanCore, + authorizeActionPackRequest: components.AuthorizeActionPackRequest, + actionPackId: string, + options?: RequestOptions, +): Promise< + [ + Result< + components.AuthorizeActionPackResponse, + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const input: operations.AuthorizeActionPackRequest = { + authorizeActionPackRequest: authorizeActionPackRequest, + actionPackId: actionPackId, + }; + + const parsed = safeParse( + input, + (value) => + operations.AuthorizeActionPackRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.AuthorizeActionPackRequest, { + explode: true, + }); + + const pathParams = { + actionPackId: encodeSimple("actionPackId", payload.actionPackId, { + explode: false, + charEncoding: "percent", + }), + }; + const path = pathToFunc( + "/rest/api/v1/actions/actionpack/{actionPackId}/auth", + )(pathParams); + + 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: "authorizeActionPack", + 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 [result] = await M.match< + components.AuthorizeActionPackResponse, + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.AuthorizeActionPackResponse$inboundSchema), + M.fail([400, 401, 403, 404, 429, "4XX"]), + M.fail("5XX"), + )(response, req); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/toolsGetActionPackAuthStatus.ts b/src/funcs/toolsGetActionPackAuthStatus.ts new file mode 100644 index 00000000..450d9b33 --- /dev/null +++ b/src/funcs/toolsGetActionPackAuthStatus.ts @@ -0,0 +1,178 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 54265f6b23fa + */ + +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 { 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 end-user authentication status for an action pack. + * + * @remarks + * 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. + */ +export function toolsGetActionPackAuthStatus( + client: GleanCore, + actionPackId: string, + options?: RequestOptions, +): APIPromise< + Result< + components.ActionPackAuthStatusResponse, + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + actionPackId, + options, + )); +} + +async function $do( + client: GleanCore, + actionPackId: string, + options?: RequestOptions, +): Promise< + [ + Result< + components.ActionPackAuthStatusResponse, + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const input: operations.GetActionPackAuthStatusRequest = { + actionPackId: actionPackId, + }; + + const parsed = safeParse( + input, + (value) => + operations.GetActionPackAuthStatusRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + actionPackId: encodeSimple("actionPackId", payload.actionPackId, { + explode: false, + charEncoding: "percent", + }), + }; + const path = pathToFunc( + "/rest/api/v1/actions/actionpack/{actionPackId}/auth", + )(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: "getActionPackAuthStatus", + 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 [result] = await M.match< + components.ActionPackAuthStatusResponse, + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.ActionPackAuthStatusResponse$inboundSchema), + M.fail([400, 401, 404, 429, "4XX"]), + M.fail("5XX"), + )(response, req); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents.ts b/src/funcs/troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents.ts new file mode 100644 index 00000000..38a2f74b --- /dev/null +++ b/src/funcs/troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents.ts @@ -0,0 +1,187 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: da3ee94837ee + */ + +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 { 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"; + +/** + * 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 troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents( + client: GleanCore, + debugDocumentLifecycleRequest: components.DebugDocumentLifecycleRequest, + datasource: string, + options?: RequestOptions, +): APIPromise< + Result< + components.DebugDocumentLifecycleResponse, + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + debugDocumentLifecycleRequest, + datasource, + options, + )); +} + +async function $do( + client: GleanCore, + debugDocumentLifecycleRequest: components.DebugDocumentLifecycleRequest, + datasource: string, + options?: RequestOptions, +): Promise< + [ + Result< + components.DebugDocumentLifecycleResponse, + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const input: operations.PostApiIndexV1DebugDatasourceDocumentEventsRequest = { + debugDocumentLifecycleRequest: debugDocumentLifecycleRequest, + datasource: datasource, + }; + + const parsed = safeParse( + input, + (value) => + operations + .PostApiIndexV1DebugDatasourceDocumentEventsRequest$outboundSchema + .parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.DebugDocumentLifecycleRequest, { + explode: true, + }); + + const pathParams = { + datasource: encodeSimple("datasource", payload.datasource, { + explode: false, + charEncoding: "percent", + }), + }; + const path = pathToFunc("/api/index/v1/debug/{datasource}/document/events")( + pathParams, + ); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json; charset=UTF-8", + })); + + 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: "post_/api/index/v1/debug/{datasource}/document/events", + 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 [result] = await M.match< + components.DebugDocumentLifecycleResponse, + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, components.DebugDocumentLifecycleResponse$inboundSchema, { + ctype: "application/json; charset=UTF-8", + }), + M.fail([400, 401, 429, "4XX"]), + M.fail("5XX"), + )(response, req); + 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 48995ef3..f902ffcc 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.14.19", + sdkVersion: "0.15.0", genVersion: "2.881.2", userAgent: - "speakeasy-sdk/typescript 0.14.19 2.881.2 0.9.0 @gleanwork/api-client", + "speakeasy-sdk/typescript 0.15.0 2.881.2 0.9.0 @gleanwork/api-client", } as const; diff --git a/src/models/components/actionauthtype.ts b/src/models/components/actionauthtype.ts new file mode 100644 index 00000000..a71a9adb --- /dev/null +++ b/src/models/components/actionauthtype.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 441ede57c8f5 + */ + +import * as z from "zod/v3"; +import * as openEnums from "../../types/enums.js"; +import { OpenEnum } from "../../types/enums.js"; + +/** + * Authentication mechanism used by an action pack. + * + * @remarks + * - `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. + */ +export const ActionAuthType = { + AuthUserOauth: "AUTH_USER_OAUTH", + AuthAdmin: "AUTH_ADMIN", + AuthNone: "AUTH_NONE", +} as const; +/** + * Authentication mechanism used by an action pack. + * + * @remarks + * - `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. + */ +export type ActionAuthType = OpenEnum; + +/** @internal */ +export const ActionAuthType$inboundSchema: z.ZodType< + ActionAuthType, + z.ZodTypeDef, + unknown +> = openEnums.inboundSchema(ActionAuthType); diff --git a/src/models/components/actionpackauthstatus.ts b/src/models/components/actionpackauthstatus.ts new file mode 100644 index 00000000..fd378782 --- /dev/null +++ b/src/models/components/actionpackauthstatus.ts @@ -0,0 +1,49 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 5c8a98305fd8 + */ + +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 { + ActionAuthType, + ActionAuthType$inboundSchema, +} from "./actionauthtype.js"; + +export type ActionPackAuthStatus = { + /** + * Whether the calling user is already authenticated to the tool backing the action pack. + */ + authenticated: boolean; + /** + * Authentication mechanism used by an action pack. + * + * @remarks + * - `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. + */ + authType: ActionAuthType; +}; + +/** @internal */ +export const ActionPackAuthStatus$inboundSchema: z.ZodType< + ActionPackAuthStatus, + z.ZodTypeDef, + unknown +> = z.object({ + authenticated: z.boolean(), + authType: ActionAuthType$inboundSchema, +}); + +export function actionPackAuthStatusFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActionPackAuthStatus$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActionPackAuthStatus' from JSON`, + ); +} diff --git a/src/models/components/actionpackauthstatusresponse.ts b/src/models/components/actionpackauthstatusresponse.ts new file mode 100644 index 00000000..6752bd4a --- /dev/null +++ b/src/models/components/actionpackauthstatusresponse.ts @@ -0,0 +1,36 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: f866ea22e796 + */ + +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 { + ActionPackAuthStatus, + ActionPackAuthStatus$inboundSchema, +} from "./actionpackauthstatus.js"; + +export type ActionPackAuthStatusResponse = { + actionPack: ActionPackAuthStatus; +}; + +/** @internal */ +export const ActionPackAuthStatusResponse$inboundSchema: z.ZodType< + ActionPackAuthStatusResponse, + z.ZodTypeDef, + unknown +> = z.object({ + actionPack: ActionPackAuthStatus$inboundSchema, +}); + +export function actionPackAuthStatusResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ActionPackAuthStatusResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ActionPackAuthStatusResponse' from JSON`, + ); +} diff --git a/src/models/components/addcollectionitemserror.ts b/src/models/components/addcollectionitemserror.ts index 062004fc..d372bc7c 100644 --- a/src/models/components/addcollectionitemserror.ts +++ b/src/models/components/addcollectionitemserror.ts @@ -5,14 +5,16 @@ import * as z from "zod/v3"; import { safeParse } from "../../lib/schemas.js"; -import { ClosedEnum } from "../../types/enums.js"; +import * as openEnums from "../../types/enums.js"; +import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export const AddCollectionItemsErrorErrorType = { ExistingItem: "EXISTING_ITEM", + CorruptItem: "CORRUPT_ITEM", } as const; -export type AddCollectionItemsErrorErrorType = ClosedEnum< +export type AddCollectionItemsErrorErrorType = OpenEnum< typeof AddCollectionItemsErrorErrorType >; @@ -21,9 +23,11 @@ export type AddCollectionItemsError = { }; /** @internal */ -export const AddCollectionItemsErrorErrorType$inboundSchema: z.ZodNativeEnum< - typeof AddCollectionItemsErrorErrorType -> = z.nativeEnum(AddCollectionItemsErrorErrorType); +export const AddCollectionItemsErrorErrorType$inboundSchema: z.ZodType< + AddCollectionItemsErrorErrorType, + z.ZodTypeDef, + unknown +> = openEnums.inboundSchema(AddCollectionItemsErrorErrorType); /** @internal */ export const AddCollectionItemsError$inboundSchema: z.ZodType< diff --git a/src/models/components/agentsinsightsv2request.ts b/src/models/components/agentsinsightsv2request.ts index a4222a44..46425815 100644 --- a/src/models/components/agentsinsightsv2request.ts +++ b/src/models/components/agentsinsightsv2request.ts @@ -15,6 +15,10 @@ export type AgentsInsightsV2Request = { * Departments for which Insights are requested. */ departments?: Array | undefined; + /** + * Manager emails whose teams should be filtered for. Empty array means no filtering. + */ + managerEmails?: Array | undefined; dayRange?: Period | undefined; }; @@ -22,6 +26,7 @@ export type AgentsInsightsV2Request = { export type AgentsInsightsV2Request$Outbound = { agentIds?: Array | undefined; departments?: Array | undefined; + managerEmails?: Array | undefined; dayRange?: Period$Outbound | undefined; }; @@ -33,6 +38,7 @@ export const AgentsInsightsV2Request$outboundSchema: z.ZodType< > = z.object({ agentIds: z.array(z.string()).optional(), departments: z.array(z.string()).optional(), + managerEmails: z.array(z.string()).optional(), dayRange: Period$outboundSchema.optional(), }); diff --git a/src/models/components/agentsinsightsv2response.ts b/src/models/components/agentsinsightsv2response.ts index cfcffad9..dfbb1b46 100644 --- a/src/models/components/agentsinsightsv2response.ts +++ b/src/models/components/agentsinsightsv2response.ts @@ -15,6 +15,10 @@ import { AgentsUsageByDepartmentInsight, AgentsUsageByDepartmentInsight$inboundSchema, } from "./agentsusagebydepartmentinsight.js"; +import { + AgentUseCaseInsight, + AgentUseCaseInsight$inboundSchema, +} from "./agentusecaseinsight.js"; import { AgentUsersInsight, AgentUsersInsight$inboundSchema, @@ -30,11 +34,11 @@ import { export type AgentsInsightsV2Response = { /** - * Number of current Monthly Active Users, in the specified departments. + * Number of current Monthly Active Users. */ monthlyActiveUsers?: number | undefined; /** - * Number of current Weekly Active Users, in the specified departments. + * Number of current Weekly Active Users. */ weeklyActiveUsers?: number | undefined; monthlyActiveUserTimeseries?: LabeledCountInfo | undefined; @@ -45,6 +49,7 @@ export type AgentsInsightsV2Response = { */ sharedAgentsCount?: number | undefined; topAgentsInsights?: Array | undefined; + topUseCasesInsights?: Array | undefined; agentsUsageByDepartmentInsights?: | Array | undefined; @@ -74,6 +79,7 @@ export const AgentsInsightsV2Response$inboundSchema: z.ZodType< dailyActiveUserTimeseries: LabeledCountInfo$inboundSchema.optional(), sharedAgentsCount: z.number().int().optional(), topAgentsInsights: z.array(PerAgentInsight$inboundSchema).optional(), + topUseCasesInsights: z.array(AgentUseCaseInsight$inboundSchema).optional(), agentsUsageByDepartmentInsights: z.array( AgentsUsageByDepartmentInsight$inboundSchema, ).optional(), diff --git a/src/models/components/agentusecaseinsight.ts b/src/models/components/agentusecaseinsight.ts new file mode 100644 index 00000000..cb09566b --- /dev/null +++ b/src/models/components/agentusecaseinsight.ts @@ -0,0 +1,71 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: a2e646e19cc9 + */ + +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 { IconConfig, IconConfig$inboundSchema } from "./iconconfig.js"; + +export type AgentUseCaseInsight = { + /** + * Use case name + */ + useCase?: string | undefined; + /** + * Total number of runs for this use case over the specified time period. + */ + runCount?: number | undefined; + /** + * Percentage change in runs compared to the previous equivalent time period. + */ + trend?: number | undefined; + /** + * Comma-separated list of the top departments using this use case. + */ + topDepartments?: string | undefined; + /** + * ID of the most-used agent for this use case. + */ + topAgentId?: string | undefined; + /** + * Name of the most-used agent for this use case. + */ + topAgentName?: string | undefined; + /** + * Defines how to render an icon + */ + topAgentIcon?: IconConfig | undefined; + /** + * Indicates whether the top agent has been deleted. + */ + topAgentIsDeleted?: boolean | undefined; +}; + +/** @internal */ +export const AgentUseCaseInsight$inboundSchema: z.ZodType< + AgentUseCaseInsight, + z.ZodTypeDef, + unknown +> = z.object({ + useCase: z.string().optional(), + runCount: z.number().int().optional(), + trend: z.number().optional(), + topDepartments: z.string().optional(), + topAgentId: z.string().optional(), + topAgentName: z.string().optional(), + topAgentIcon: IconConfig$inboundSchema.optional(), + topAgentIsDeleted: z.boolean().optional(), +}); + +export function agentUseCaseInsightFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AgentUseCaseInsight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AgentUseCaseInsight' from JSON`, + ); +} diff --git a/src/models/components/announcement.ts b/src/models/components/announcement.ts index 3a43c67b..25d5d990 100644 --- a/src/models/components/announcement.ts +++ b/src/models/components/announcement.ts @@ -110,6 +110,10 @@ export type Announcement = { */ draftId?: number | undefined; permissions?: ObjectPermissions | undefined; + /** + * An opaque token that represents this particular UGC. To be used for `/feedback` reporting. + */ + trackingToken?: string | undefined; /** * The opaque id of the announcement. */ @@ -190,6 +194,7 @@ export const Announcement$inboundSchema: z.ZodType< viewUrl: z.string().optional(), draftId: z.number().int().optional(), permissions: ObjectPermissions$inboundSchema.optional(), + trackingToken: z.string().optional(), id: z.number().int().optional(), author: Person$inboundSchema.optional(), createTimestamp: z.number().int().optional(), diff --git a/src/models/components/answer.ts b/src/models/components/answer.ts index 45ac9725..0ea06209 100644 --- a/src/models/components/answer.ts +++ b/src/models/components/answer.ts @@ -119,6 +119,10 @@ export type Answer = { sourceDocumentSpec?: DocumentSpecUnion | undefined; sourceType?: AnswerSourceType | undefined; permissions?: ObjectPermissions | undefined; + /** + * An opaque token that represents this particular UGC. To be used for `/feedback` reporting. + */ + trackingToken?: string | undefined; combinedAnswerText?: StructuredText | undefined; likes?: AnswerLikes | undefined; author?: Person | undefined; @@ -175,6 +179,7 @@ export const Answer$inboundSchema: z.ZodType = z sourceDocumentSpec: DocumentSpecUnion$inboundSchema.optional(), sourceType: AnswerSourceType$inboundSchema.optional(), permissions: ObjectPermissions$inboundSchema.optional(), + trackingToken: z.string().optional(), combinedAnswerText: z.lazy(() => StructuredText$inboundSchema).optional(), likes: z.lazy(() => AnswerLikes$inboundSchema).optional(), author: z.lazy(() => Person$inboundSchema).optional(), @@ -205,6 +210,7 @@ export type Answer$Outbound = { sourceDocumentSpec?: DocumentSpecUnion$Outbound | undefined; sourceType?: string | undefined; permissions?: ObjectPermissions$Outbound | undefined; + trackingToken?: string | undefined; combinedAnswerText?: StructuredText$Outbound | undefined; likes?: AnswerLikes$Outbound | undefined; author?: Person$Outbound | undefined; @@ -238,6 +244,7 @@ export const Answer$outboundSchema: z.ZodType< sourceDocumentSpec: DocumentSpecUnion$outboundSchema.optional(), sourceType: AnswerSourceType$outboundSchema.optional(), permissions: ObjectPermissions$outboundSchema.optional(), + trackingToken: z.string().optional(), combinedAnswerText: z.lazy(() => StructuredText$outboundSchema).optional(), likes: z.lazy(() => AnswerLikes$outboundSchema).optional(), author: z.lazy(() => Person$outboundSchema).optional(), diff --git a/src/models/components/answerresult.ts b/src/models/components/answerresult.ts index 0dffa313..9df4f773 100644 --- a/src/models/components/answerresult.ts +++ b/src/models/components/answerresult.ts @@ -12,7 +12,9 @@ import { Answer, Answer$inboundSchema } from "./answer.js"; export type AnswerResult = { answer: Answer; /** - * An opaque token that represents this particular Answer. To be used for `/feedback` reporting. + * Use `answer.trackingToken` instead. + * + * @deprecated field: Deprecated on 2026-05-07, removal scheduled for 2027-01-15: Use `answer.trackingToken` instead.. */ trackingToken?: string | undefined; }; diff --git a/src/models/components/assistantinsightsresponse.ts b/src/models/components/assistantinsightsresponse.ts index 99e4c4aa..1a3eca99 100644 --- a/src/models/components/assistantinsightsresponse.ts +++ b/src/models/components/assistantinsightsresponse.ts @@ -18,11 +18,11 @@ import { export type AssistantInsightsResponse = { /** - * Number of current Monthly Active Users, in the specified departments. + * Number of current Monthly Active Users. */ monthlyActiveUsers?: number | undefined; /** - * Number of current Weekly Active Users, in the specified departments. + * Number of current Weekly Active Users. */ weeklyActiveUsers?: number | undefined; /** diff --git a/src/models/components/authorizeactionpackrequest.ts b/src/models/components/authorizeactionpackrequest.ts new file mode 100644 index 00000000..1e7e2ff9 --- /dev/null +++ b/src/models/components/authorizeactionpackrequest.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 9ab20ea2c00c + */ + +import * as z from "zod/v3"; + +export type AuthorizeActionPackRequest = { + /** + * URL on the customer's domain to redirect the end user's browser back to after the third-party OAuth + * + * @remarks + * callback completes. Must be present in the tenant's return URL allowlist. + */ + returnUrl: string; +}; + +/** @internal */ +export type AuthorizeActionPackRequest$Outbound = { + returnUrl: string; +}; + +/** @internal */ +export const AuthorizeActionPackRequest$outboundSchema: z.ZodType< + AuthorizeActionPackRequest$Outbound, + z.ZodTypeDef, + AuthorizeActionPackRequest +> = z.object({ + returnUrl: z.string(), +}); + +export function authorizeActionPackRequestToJSON( + authorizeActionPackRequest: AuthorizeActionPackRequest, +): string { + return JSON.stringify( + AuthorizeActionPackRequest$outboundSchema.parse(authorizeActionPackRequest), + ); +} diff --git a/src/models/components/authorizeactionpackresponse.ts b/src/models/components/authorizeactionpackresponse.ts new file mode 100644 index 00000000..48ee25cb --- /dev/null +++ b/src/models/components/authorizeactionpackresponse.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 4ced499bee97 + */ + +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 AuthorizeActionPackResponse = { + /** + * URL that the customer UI should navigate the end user to in order to begin the third-party OAuth flow. + * + * @remarks + * After the user consents, control returns to `returnUrl` from the request. + */ + redirectUrl: string; +}; + +/** @internal */ +export const AuthorizeActionPackResponse$inboundSchema: z.ZodType< + AuthorizeActionPackResponse, + z.ZodTypeDef, + unknown +> = z.object({ + redirectUrl: z.string(), +}); + +export function authorizeActionPackResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => AuthorizeActionPackResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AuthorizeActionPackResponse' from JSON`, + ); +} diff --git a/src/models/components/chatsuggestion.ts b/src/models/components/chatsuggestion.ts index 3bab5c62..59c4b47f 100644 --- a/src/models/components/chatsuggestion.ts +++ b/src/models/components/chatsuggestion.ts @@ -13,10 +13,18 @@ export type ChatSuggestion = { * The actionable chat query to run when the user selects this suggestion. */ query?: string | undefined; + /** + * Button text to show for the suggestion action. + */ + cta?: string | undefined; /** * Targeted Glean Chat feature for the suggestion. */ feature?: string | undefined; + /** + * Document IDs that grounded the suggestion. + */ + sourceDocumentIds?: Array | undefined; }; /** @internal */ @@ -26,7 +34,9 @@ export const ChatSuggestion$inboundSchema: z.ZodType< unknown > = z.object({ query: z.string().optional(), + cta: z.string().optional(), feature: z.string().optional(), + sourceDocumentIds: z.array(z.string()).optional(), }); export function chatSuggestionFromJSON( diff --git a/src/models/components/collection.ts b/src/models/components/collection.ts index 233a938a..26cf8ced 100644 --- a/src/models/components/collection.ts +++ b/src/models/components/collection.ts @@ -89,6 +89,10 @@ export type Collection = { */ allowedDatasource?: string | undefined; permissions?: ObjectPermissions | undefined; + /** + * An opaque token that represents this particular UGC. To be used for `/feedback` reporting. + */ + trackingToken?: string | undefined; /** * The unique ID of the Collection. */ @@ -143,6 +147,7 @@ export const Collection$inboundSchema: z.ZodType< thumbnail: Thumbnail$inboundSchema.optional(), allowedDatasource: z.string().optional(), permissions: ObjectPermissions$inboundSchema.optional(), + trackingToken: z.string().optional(), id: z.number().int(), createTime: z.string().datetime({ offset: true }).transform(v => new Date(v)) .optional(), @@ -171,6 +176,7 @@ export type Collection$Outbound = { thumbnail?: Thumbnail$Outbound | undefined; allowedDatasource?: string | undefined; permissions?: ObjectPermissions$Outbound | undefined; + trackingToken?: string | undefined; id: number; createTime?: string | undefined; updateTime?: string | undefined; @@ -204,6 +210,7 @@ export const Collection$outboundSchema: z.ZodType< thumbnail: Thumbnail$outboundSchema.optional(), allowedDatasource: z.string().optional(), permissions: ObjectPermissions$outboundSchema.optional(), + trackingToken: z.string().optional(), id: z.number().int(), createTime: z.date().transform(v => v.toISOString()).optional(), updateTime: z.date().transform(v => v.toISOString()).optional(), diff --git a/src/models/components/collectionerror.ts b/src/models/components/collectionerror.ts index ff48becb..9595124e 100644 --- a/src/models/components/collectionerror.ts +++ b/src/models/components/collectionerror.ts @@ -18,6 +18,7 @@ export const CollectionErrorErrorCode = { HeightViolation: "HEIGHT_VIOLATION", WidthViolation: "WIDTH_VIOLATION", NoPermissions: "NO_PERMISSIONS", + CorruptItem: "CORRUPT_ITEM", } as const; export type CollectionErrorErrorCode = OpenEnum< typeof CollectionErrorErrorCode diff --git a/src/models/components/currentactiveusers.ts b/src/models/components/currentactiveusers.ts index d1b21e5e..fa5c9e0c 100644 --- a/src/models/components/currentactiveusers.ts +++ b/src/models/components/currentactiveusers.ts @@ -10,11 +10,11 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type CurrentActiveUsers = { /** - * Number of current Monthly Active Users, in the specified departments. + * Number of current Monthly Active Users. */ monthlyActiveUsers?: number | undefined; /** - * Number of current Weekly Active Users, in the specified departments. + * Number of current Weekly Active Users. */ weeklyActiveUsers?: number | undefined; }; diff --git a/src/models/components/custommetadatapropertydefinition.ts b/src/models/components/custommetadatapropertydefinition.ts new file mode 100644 index 00000000..0ed425b0 --- /dev/null +++ b/src/models/components/custommetadatapropertydefinition.ts @@ -0,0 +1,107 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 075067e474ee + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import * as openEnums from "../../types/enums.js"; +import { OpenEnum } from "../../types/enums.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * The type of metadata key. This governs the search and faceting behavior. + */ +export const CustomMetadataPropertyDefinitionPropertyType = { + Text: "TEXT", + Picklist: "PICKLIST", + Textlist: "TEXTLIST", + Multipicklist: "MULTIPICKLIST", +} as const; +/** + * The type of metadata key. This governs the search and faceting behavior. + */ +export type CustomMetadataPropertyDefinitionPropertyType = OpenEnum< + typeof CustomMetadataPropertyDefinitionPropertyType +>; + +/** + * The definition for a key within a Custom Metadata schema. Only the fields applicable to Custom Metadata are exposed. + */ +export type CustomMetadataPropertyDefinition = { + /** + * The name of the metadata key. + */ + name: string; + /** + * The type of metadata key. This governs the search and faceting behavior. + */ + propertyType: CustomMetadataPropertyDefinitionPropertyType; + /** + * If true then the property will not be indexed for retrieval and ranking. + */ + skipIndexing?: boolean | undefined; +}; + +/** @internal */ +export const CustomMetadataPropertyDefinitionPropertyType$inboundSchema: + z.ZodType< + CustomMetadataPropertyDefinitionPropertyType, + z.ZodTypeDef, + unknown + > = openEnums.inboundSchema(CustomMetadataPropertyDefinitionPropertyType); +/** @internal */ +export const CustomMetadataPropertyDefinitionPropertyType$outboundSchema: + z.ZodType< + string, + z.ZodTypeDef, + CustomMetadataPropertyDefinitionPropertyType + > = openEnums.outboundSchema(CustomMetadataPropertyDefinitionPropertyType); + +/** @internal */ +export const CustomMetadataPropertyDefinition$inboundSchema: z.ZodType< + CustomMetadataPropertyDefinition, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + propertyType: CustomMetadataPropertyDefinitionPropertyType$inboundSchema, + skipIndexing: z.boolean().optional(), +}); +/** @internal */ +export type CustomMetadataPropertyDefinition$Outbound = { + name: string; + propertyType: string; + skipIndexing?: boolean | undefined; +}; + +/** @internal */ +export const CustomMetadataPropertyDefinition$outboundSchema: z.ZodType< + CustomMetadataPropertyDefinition$Outbound, + z.ZodTypeDef, + CustomMetadataPropertyDefinition +> = z.object({ + name: z.string(), + propertyType: CustomMetadataPropertyDefinitionPropertyType$outboundSchema, + skipIndexing: z.boolean().optional(), +}); + +export function customMetadataPropertyDefinitionToJSON( + customMetadataPropertyDefinition: CustomMetadataPropertyDefinition, +): string { + return JSON.stringify( + CustomMetadataPropertyDefinition$outboundSchema.parse( + customMetadataPropertyDefinition, + ), + ); +} +export function customMetadataPropertyDefinitionFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CustomMetadataPropertyDefinition$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CustomMetadataPropertyDefinition' from JSON`, + ); +} diff --git a/src/models/components/custommetadataputrequest.ts b/src/models/components/custommetadataputrequest.ts new file mode 100644 index 00000000..089c48cf --- /dev/null +++ b/src/models/components/custommetadataputrequest.ts @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 0a659b7d9289 + */ + +import * as z from "zod/v3"; +import { + CustomProperty, + CustomProperty$Outbound, + CustomProperty$outboundSchema, +} from "./customproperty.js"; + +/** + * Request body for adding or updating custom metadata on a document + */ +export type CustomMetadataPutRequest = { + /** + * Array of custom metadata key-value pairs + */ + customMetadata: Array; +}; + +/** @internal */ +export type CustomMetadataPutRequest$Outbound = { + customMetadata: Array; +}; + +/** @internal */ +export const CustomMetadataPutRequest$outboundSchema: z.ZodType< + CustomMetadataPutRequest$Outbound, + z.ZodTypeDef, + CustomMetadataPutRequest +> = z.object({ + customMetadata: z.array(CustomProperty$outboundSchema), +}); + +export function customMetadataPutRequestToJSON( + customMetadataPutRequest: CustomMetadataPutRequest, +): string { + return JSON.stringify( + CustomMetadataPutRequest$outboundSchema.parse(customMetadataPutRequest), + ); +} diff --git a/src/models/components/custommetadataschema.ts b/src/models/components/custommetadataschema.ts new file mode 100644 index 00000000..b70dfa3b --- /dev/null +++ b/src/models/components/custommetadataschema.ts @@ -0,0 +1,64 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 30d6f286b4d5 + */ + +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 { + CustomMetadataPropertyDefinition, + CustomMetadataPropertyDefinition$inboundSchema, + CustomMetadataPropertyDefinition$Outbound, + CustomMetadataPropertyDefinition$outboundSchema, +} from "./custommetadatapropertydefinition.js"; + +/** + * Schema for custom metadata containing metadata key definitions + */ +export type CustomMetadataSchema = { + /** + * Array of metadata key definitions + */ + metadataKeys: Array; +}; + +/** @internal */ +export const CustomMetadataSchema$inboundSchema: z.ZodType< + CustomMetadataSchema, + z.ZodTypeDef, + unknown +> = z.object({ + metadataKeys: z.array(CustomMetadataPropertyDefinition$inboundSchema), +}); +/** @internal */ +export type CustomMetadataSchema$Outbound = { + metadataKeys: Array; +}; + +/** @internal */ +export const CustomMetadataSchema$outboundSchema: z.ZodType< + CustomMetadataSchema$Outbound, + z.ZodTypeDef, + CustomMetadataSchema +> = z.object({ + metadataKeys: z.array(CustomMetadataPropertyDefinition$outboundSchema), +}); + +export function customMetadataSchemaToJSON( + customMetadataSchema: CustomMetadataSchema, +): string { + return JSON.stringify( + CustomMetadataSchema$outboundSchema.parse(customMetadataSchema), + ); +} +export function customMetadataSchemaFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CustomMetadataSchema$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CustomMetadataSchema' from JSON`, + ); +} diff --git a/src/models/components/datasourcecredentialstatus.ts b/src/models/components/datasourcecredentialstatus.ts new file mode 100644 index 00000000..aadc3a2f --- /dev/null +++ b/src/models/components/datasourcecredentialstatus.ts @@ -0,0 +1,36 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: ae5cc5be791d + */ + +import * as z from "zod/v3"; +import * as openEnums from "../../types/enums.js"; +import { OpenEnum } from "../../types/enums.js"; + +/** + * Lifecycle state of the credentials installed for a datasource instance. Mirrors the internal admin Status enum so the handler can surface the same health signals already tracked today. EXPIRING_SOON is represented as VALID_WITH_WARNINGS (with detail in `message`); EXPIRED is surfaced as INVALID plus a non-null `expiresAt` in the past. + * + * @remarks + */ +export const DatasourceCredentialStatus = { + Valid: "VALID", + ValidWithWarnings: "VALID_WITH_WARNINGS", + Validating: "VALIDATING", + Invalid: "INVALID", + Missing: "MISSING", +} as const; +/** + * Lifecycle state of the credentials installed for a datasource instance. Mirrors the internal admin Status enum so the handler can surface the same health signals already tracked today. EXPIRING_SOON is represented as VALID_WITH_WARNINGS (with detail in `message`); EXPIRED is surfaced as INVALID plus a non-null `expiresAt` in the past. + * + * @remarks + */ +export type DatasourceCredentialStatus = OpenEnum< + typeof DatasourceCredentialStatus +>; + +/** @internal */ +export const DatasourceCredentialStatus$inboundSchema: z.ZodType< + DatasourceCredentialStatus, + z.ZodTypeDef, + unknown +> = openEnums.inboundSchema(DatasourceCredentialStatus); diff --git a/src/models/components/datasourcecredentialstatusresponse.ts b/src/models/components/datasourcecredentialstatusresponse.ts new file mode 100644 index 00000000..f4669e56 --- /dev/null +++ b/src/models/components/datasourcecredentialstatusresponse.ts @@ -0,0 +1,65 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 9308d120e2f1 + */ + +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 { + DatasourceCredentialStatus, + DatasourceCredentialStatus$inboundSchema, +} from "./datasourcecredentialstatus.js"; + +/** + * Status of the credentials currently installed for a datasource instance. + */ +export type DatasourceCredentialStatusResponse = { + /** + * Lifecycle state of the credentials installed for a datasource instance. Mirrors the internal admin Status enum so the handler can surface the same health signals already tracked today. EXPIRING_SOON is represented as VALID_WITH_WARNINGS (with detail in `message`); EXPIRED is surfaced as INVALID plus a non-null `expiresAt` in the past. + * + * @remarks + */ + status: DatasourceCredentialStatus; + /** + * When the credentials were last rotated. Omitted when not known. + */ + lastRotatedAt?: Date | undefined; + /** + * When the active credentials expire. Omitted when not known or not applicable to this credential type. + * + * @remarks + */ + expiresAt?: Date | undefined; + /** + * Optional human-readable detail about the current credential status. + */ + message?: string | undefined; +}; + +/** @internal */ +export const DatasourceCredentialStatusResponse$inboundSchema: z.ZodType< + DatasourceCredentialStatusResponse, + z.ZodTypeDef, + unknown +> = z.object({ + status: DatasourceCredentialStatus$inboundSchema, + lastRotatedAt: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ).optional(), + expiresAt: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + message: z.string().optional(), +}); + +export function datasourceCredentialStatusResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + DatasourceCredentialStatusResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DatasourceCredentialStatusResponse' from JSON`, + ); +} diff --git a/src/models/components/debugdocumentlifecyclerequest.ts b/src/models/components/debugdocumentlifecyclerequest.ts new file mode 100644 index 00000000..20415931 --- /dev/null +++ b/src/models/components/debugdocumentlifecyclerequest.ts @@ -0,0 +1,58 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 306e3dd4cf58 + */ + +import * as z from "zod/v3"; + +/** + * Describes the request body of the /debug/{datasource}/document/events API call. + */ +export type DebugDocumentLifecycleRequest = { + /** + * Object type of the document to get lifecycle events for. + */ + objectType: string; + /** + * Glean Document ID within the datasource to get lifecycle events for. + */ + docId: string; + /** + * The start date for events to be fetched. Cannot be more than 30 days (default 7 days) in the past. + */ + startDate?: string | undefined; + /** + * Max number of events to be fetched. Cannot be more than 100 (default 20). + */ + maxEvents?: number | undefined; +}; + +/** @internal */ +export type DebugDocumentLifecycleRequest$Outbound = { + objectType: string; + docId: string; + startDate?: string | undefined; + maxEvents?: number | undefined; +}; + +/** @internal */ +export const DebugDocumentLifecycleRequest$outboundSchema: z.ZodType< + DebugDocumentLifecycleRequest$Outbound, + z.ZodTypeDef, + DebugDocumentLifecycleRequest +> = z.object({ + objectType: z.string(), + docId: z.string(), + startDate: z.string().optional(), + maxEvents: z.number().int().optional(), +}); + +export function debugDocumentLifecycleRequestToJSON( + debugDocumentLifecycleRequest: DebugDocumentLifecycleRequest, +): string { + return JSON.stringify( + DebugDocumentLifecycleRequest$outboundSchema.parse( + debugDocumentLifecycleRequest, + ), + ); +} diff --git a/src/models/components/debugdocumentlifecycleresponse.ts b/src/models/components/debugdocumentlifecycleresponse.ts new file mode 100644 index 00000000..61a90caa --- /dev/null +++ b/src/models/components/debugdocumentlifecycleresponse.ts @@ -0,0 +1,42 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 211e86514419 + */ + +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 { + LifeCycleEvent, + LifeCycleEvent$inboundSchema, +} from "./lifecycleevent.js"; + +/** + * Describes the response body of the /debug/{datasource}/document/events API call + */ +export type DebugDocumentLifecycleResponse = { + /** + * List of lifecycle events corresponding to the document + */ + lifeCycleEvents?: Array | undefined; +}; + +/** @internal */ +export const DebugDocumentLifecycleResponse$inboundSchema: z.ZodType< + DebugDocumentLifecycleResponse, + z.ZodTypeDef, + unknown +> = z.object({ + lifeCycleEvents: z.array(LifeCycleEvent$inboundSchema).optional(), +}); + +export function debugDocumentLifecycleResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DebugDocumentLifecycleResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DebugDocumentLifecycleResponse' from JSON`, + ); +} diff --git a/src/models/components/editcollectionresponse.ts b/src/models/components/editcollectionresponse.ts index 88d4c100..ffaab05f 100644 --- a/src/models/components/editcollectionresponse.ts +++ b/src/models/components/editcollectionresponse.ts @@ -42,6 +42,7 @@ export const EditCollectionResponseErrorCode = { HeightViolation: "HEIGHT_VIOLATION", WidthViolation: "WIDTH_VIOLATION", NoPermissions: "NO_PERMISSIONS", + CorruptItem: "CORRUPT_ITEM", } as const; export type EditCollectionResponseErrorCode = OpenEnum< typeof EditCollectionResponseErrorCode @@ -86,6 +87,10 @@ export type EditCollectionResponse = { */ allowedDatasource?: string | undefined; permissions?: ObjectPermissions | undefined; + /** + * An opaque token that represents this particular UGC. To be used for `/feedback` reporting. + */ + trackingToken?: string | undefined; /** * The unique ID of the Collection. */ @@ -148,6 +153,7 @@ export const EditCollectionResponse$inboundSchema: z.ZodType< thumbnail: Thumbnail$inboundSchema.optional(), allowedDatasource: z.string().optional(), permissions: ObjectPermissions$inboundSchema.optional(), + trackingToken: z.string().optional(), id: z.number().int(), createTime: z.string().datetime({ offset: true }).transform(v => new Date(v)) .optional(), diff --git a/src/models/components/editworkflowrequest.ts b/src/models/components/editworkflowrequest.ts new file mode 100644 index 00000000..4e9b39ca --- /dev/null +++ b/src/models/components/editworkflowrequest.ts @@ -0,0 +1,41 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 544961797246 + */ + +import * as z from "zod/v3"; + +export type EditWorkflowRequest = { + /** + * The name of the workflow. + */ + name?: string | undefined; + /** + * The workflow ID we want to update. + */ + id?: string | undefined; +}; + +/** @internal */ +export type EditWorkflowRequest$Outbound = { + name?: string | undefined; + id?: string | undefined; +}; + +/** @internal */ +export const EditWorkflowRequest$outboundSchema: z.ZodType< + EditWorkflowRequest$Outbound, + z.ZodTypeDef, + EditWorkflowRequest +> = z.object({ + name: z.string().optional(), + id: z.string().optional(), +}); + +export function editWorkflowRequestToJSON( + editWorkflowRequest: EditWorkflowRequest, +): string { + return JSON.stringify( + EditWorkflowRequest$outboundSchema.parse(editWorkflowRequest), + ); +} diff --git a/src/models/components/feedback.ts b/src/models/components/feedback.ts index 30d451c9..d4df96b4 100644 --- a/src/models/components/feedback.ts +++ b/src/models/components/feedback.ts @@ -42,6 +42,8 @@ import { */ export const FeedbackCategory = { Announcement: "ANNOUNCEMENT", + Answers: "ANSWERS", + Artifacts: "ARTIFACTS", Autocomplete: "AUTOCOMPLETE", Collections: "COLLECTIONS", Feed: "FEED", @@ -62,7 +64,7 @@ export type FeedbackCategory = ClosedEnum; /** * The action the user took within a Glean client with respect to the object referred to by the given `trackingToken`. */ -export const Event = { +export const FeedbackEvent = { /** * 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. */ @@ -192,7 +194,7 @@ export const Event = { /** * The action the user took within a Glean client with respect to the object referred to by the given `trackingToken`. */ -export type Event = ClosedEnum; +export type FeedbackEvent = ClosedEnum; export const FeedbackChannel = { Company: "COMPANY", @@ -216,7 +218,7 @@ export type Feedback = { /** * The action the user took within a Glean client with respect to the object referred to by the given `trackingToken`. */ - event: Event; + event: FeedbackEvent; /** * Position of the element in the case that the client controls order (such as feed and autocomplete). */ @@ -272,9 +274,9 @@ export const FeedbackCategory$outboundSchema: z.ZodNativeEnum< > = z.nativeEnum(FeedbackCategory); /** @internal */ -export const Event$outboundSchema: z.ZodNativeEnum = z.nativeEnum( - Event, -); +export const FeedbackEvent$outboundSchema: z.ZodNativeEnum< + typeof FeedbackEvent +> = z.nativeEnum(FeedbackEvent); /** @internal */ export const FeedbackChannel$outboundSchema: z.ZodNativeEnum< @@ -317,7 +319,7 @@ export const Feedback$outboundSchema: z.ZodType< id: z.string().optional(), category: FeedbackCategory$outboundSchema.optional(), trackingTokens: z.array(z.string()), - event: Event$outboundSchema, + event: FeedbackEvent$outboundSchema, position: z.number().int().optional(), payload: z.string().optional(), sessionInfo: SessionInfo$outboundSchema.optional(), diff --git a/src/models/components/feedentry.ts b/src/models/components/feedentry.ts index d0d0d339..45fbf865 100644 --- a/src/models/components/feedentry.ts +++ b/src/models/components/feedentry.ts @@ -110,11 +110,16 @@ export const JustificationType = { ActiveDiscussion: "ACTIVE_DISCUSSION", MidDayCatchUp: "MID_DAY_CATCH_UP", QuerySuggestion: "QUERY_SUGGESTION", + CoworkCujPromo: "COWORK_CUJ_PROMO", WeeklyMeetings: "WEEKLY_MEETINGS", FollowUp: "FOLLOW_UP", MilestoneTimelineCheck: "MILESTONE_TIMELINE_CHECK", ProjectDiscussionDigest: "PROJECT_DISCUSSION_DIGEST", + ProjectFocusBlock: "PROJECT_FOCUS_BLOCK", ProjectNextStep: "PROJECT_NEXT_STEP", + DemoCard: "DEMO_CARD", + OooPlanner: "OOO_PLANNER", + OooCatchUp: "OOO_CATCH_UP", } as const; /** * Type of the justification. diff --git a/src/models/components/feedrequest.ts b/src/models/components/feedrequest.ts index dceef2d0..9904e6d7 100644 --- a/src/models/components/feedrequest.ts +++ b/src/models/components/feedrequest.ts @@ -48,11 +48,16 @@ export const FeedRequestCategory = { StarterKit: "STARTER_KIT", MidDayCatchUp: "MID_DAY_CATCH_UP", QuerySuggestion: "QUERY_SUGGESTION", + CoworkCujPromo: "COWORK_CUJ_PROMO", WeeklyMeetings: "WEEKLY_MEETINGS", FollowUp: "FOLLOW_UP", MilestoneTimelineCheck: "MILESTONE_TIMELINE_CHECK", ProjectDiscussionDigest: "PROJECT_DISCUSSION_DIGEST", + ProjectFocusBlock: "PROJECT_FOCUS_BLOCK", ProjectNextStep: "PROJECT_NEXT_STEP", + DemoCard: "DEMO_CARD", + OooPlanner: "OOO_PLANNER", + OooCatchUp: "OOO_CATCH_UP", } as const; export type FeedRequestCategory = ClosedEnum; diff --git a/src/models/components/feedresult.ts b/src/models/components/feedresult.ts index aacdda15..715a3be9 100644 --- a/src/models/components/feedresult.ts +++ b/src/models/components/feedresult.ts @@ -46,11 +46,16 @@ export const FeedResultCategory = { StarterKit: "STARTER_KIT", MidDayCatchUp: "MID_DAY_CATCH_UP", QuerySuggestion: "QUERY_SUGGESTION", + CoworkCujPromo: "COWORK_CUJ_PROMO", WeeklyMeetings: "WEEKLY_MEETINGS", FollowUp: "FOLLOW_UP", MilestoneTimelineCheck: "MILESTONE_TIMELINE_CHECK", ProjectDiscussionDigest: "PROJECT_DISCUSSION_DIGEST", + ProjectFocusBlock: "PROJECT_FOCUS_BLOCK", ProjectNextStep: "PROJECT_NEXT_STEP", + DemoCard: "DEMO_CARD", + OooPlanner: "OOO_PLANNER", + OooCatchUp: "OOO_CATCH_UP", } as const; /** * Category of the result, one of the requested categories in incoming request. diff --git a/src/models/components/getcollectionresponse.ts b/src/models/components/getcollectionresponse.ts index e731e8e3..7c9e8119 100644 --- a/src/models/components/getcollectionresponse.ts +++ b/src/models/components/getcollectionresponse.ts @@ -16,11 +16,13 @@ import { export type GetCollectionResponse = { collection?: Collection | undefined; rootCollection?: Collection | undefined; + error?: CollectionError | undefined; /** - * An opaque token that represents this particular Collection. To be used for `/feedback` reporting. + * Use `collection.trackingToken` instead. + * + * @deprecated field: Deprecated on 2026-05-07, removal scheduled for 2027-01-15: Use `collection.trackingToken` instead.. */ trackingToken?: string | undefined; - error?: CollectionError | undefined; }; /** @internal */ @@ -31,8 +33,8 @@ export const GetCollectionResponse$inboundSchema: z.ZodType< > = z.object({ collection: Collection$inboundSchema.optional(), rootCollection: Collection$inboundSchema.optional(), - trackingToken: z.string().optional(), error: CollectionError$inboundSchema.optional(), + trackingToken: z.string().optional(), }); export function getCollectionResponseFromJSON( diff --git a/src/models/components/index.ts b/src/models/components/index.ts index abfc3cf3..39c3bbf7 100644 --- a/src/models/components/index.ts +++ b/src/models/components/index.ts @@ -3,6 +3,9 @@ * @generated-id: 0aa842dce54d */ +export * from "./actionauthtype.js"; +export * from "./actionpackauthstatus.js"; +export * from "./actionpackauthstatusresponse.js"; export * from "./actionsummary.js"; export * from "./activity.js"; export * from "./activityevent.js"; @@ -22,6 +25,7 @@ export * from "./agentsinsightsv2request.js"; export * from "./agentsinsightsv2response.js"; export * from "./agentstimesavedinsight.js"; export * from "./agentsusagebydepartmentinsight.js"; +export * from "./agentusecaseinsight.js"; export * from "./agentusersinsight.js"; export * from "./allowlistoptions.js"; export * from "./announcement.js"; @@ -34,6 +38,8 @@ export * from "./answerresult.js"; export * from "./appresult.js"; export * from "./assistantinsightsresponse.js"; export * from "./authconfig.js"; +export * from "./authorizeactionpackrequest.js"; +export * from "./authorizeactionpackresponse.js"; export * from "./authstatus.js"; export * from "./authtoken.js"; export * from "./autocompleterequest.js"; @@ -115,12 +121,17 @@ export * from "./customfieldvalue.js"; export * from "./customfieldvaluehyperlink.js"; export * from "./customfieldvalueperson.js"; export * from "./customfieldvaluestr.js"; +export * from "./custommetadatapropertydefinition.js"; +export * from "./custommetadataputrequest.js"; +export * from "./custommetadataschema.js"; export * from "./customproperty.js"; export * from "./customsensitiveexpression.js"; export * from "./customsensitiverule.js"; export * from "./customsensitiveruletype.js"; export * from "./datasourcebulkmembershipdefinition.js"; export * from "./datasourceconfigurationresponse.js"; +export * from "./datasourcecredentialstatus.js"; +export * from "./datasourcecredentialstatusresponse.js"; export * from "./datasourcegroupdefinition.js"; export * from "./datasourceinstanceconfiguration.js"; export * from "./datasourcemembershipdefinition.js"; @@ -129,6 +140,8 @@ export * from "./datasourceprofile.js"; export * from "./datasourceuserdefinition.js"; export * from "./debugdatasourcestatusidentityresponsecomponent.js"; export * from "./debugdatasourcestatusresponse.js"; +export * from "./debugdocumentlifecyclerequest.js"; +export * from "./debugdocumentlifecycleresponse.js"; export * from "./debugdocumentrequest.js"; export * from "./debugdocumentresponse.js"; export * from "./debugdocumentsrequest.js"; @@ -187,6 +200,7 @@ export * from "./editcollectionitemresponse.js"; export * from "./editcollectionrequest.js"; export * from "./editcollectionresponse.js"; export * from "./editpinrequest.js"; +export * from "./editworkflowrequest.js"; export * from "./employeeinfodefinition.js"; export * from "./employeeteaminfo.js"; export * from "./entitiessortorder.js"; @@ -278,6 +292,7 @@ export * from "./insightssearchsummary.js"; export * from "./invalidoperatorvalueerror.js"; export * from "./inviteinfo.js"; export * from "./labeledcountinfo.js"; +export * from "./lifecycleevent.js"; export * from "./listanswersrequest.js"; export * from "./listanswersresponse.js"; export * from "./listchatsresponse.js"; @@ -292,6 +307,14 @@ export * from "./listshortcutspaginatedrequest.js"; export * from "./listshortcutspaginatedresponse.js"; export * from "./manualfeedbackinfo.js"; export * from "./manualfeedbacksidebysideinfo.js"; +export * from "./mcpbreakdowninsightsrequest.js"; +export * from "./mcpbreakdowninsightsresponse.js"; +export * from "./mcphostapplicationbreakdown.js"; +export * from "./mcpinsightsrequest.js"; +export * from "./mcpinsightsresponse.js"; +export * from "./mcpserverbreakdown.js"; +export * from "./mcptoolbreakdown.js"; +export * from "./mcpuserbreakdown.js"; export * from "./meeting.js"; export * from "./message.js"; export * from "./messagesrequest.js"; @@ -343,6 +366,7 @@ export * from "./restrictionfilters.js"; export * from "./resultsdescription.js"; export * from "./resultsresponse.js"; export * from "./resulttab.js"; +export * from "./rotatedatasourcecredentialsrequest.js"; export * from "./rotatetokenresponse.js"; export * from "./scopetype.js"; export * from "./searchagentsrequest.js"; @@ -380,6 +404,7 @@ export * from "./structuredresult.js"; export * from "./structuredtext.js"; export * from "./structuredtextitem.js"; export * from "./structuredtextmutableproperties.js"; +export * from "./successresponse.js"; export * from "./summarizerequest.js"; export * from "./summarizeresponse.js"; export * from "./summary.js"; diff --git a/src/models/components/insightsassistantrequest.ts b/src/models/components/insightsassistantrequest.ts index 8eb050d6..eba2a852 100644 --- a/src/models/components/insightsassistantrequest.ts +++ b/src/models/components/insightsassistantrequest.ts @@ -11,12 +11,17 @@ export type InsightsAssistantRequest = { * Departments for which Insights are requested. */ departments?: Array | undefined; + /** + * Manager emails whose teams should be filtered for. Empty array means no filtering. + */ + managerEmails?: Array | undefined; dayRange?: Period | undefined; }; /** @internal */ export type InsightsAssistantRequest$Outbound = { departments?: Array | undefined; + managerEmails?: Array | undefined; dayRange?: Period$Outbound | undefined; }; @@ -27,6 +32,7 @@ export const InsightsAssistantRequest$outboundSchema: z.ZodType< InsightsAssistantRequest > = z.object({ departments: z.array(z.string()).optional(), + managerEmails: z.array(z.string()).optional(), dayRange: Period$outboundSchema.optional(), }); diff --git a/src/models/components/insightschatsummary.ts b/src/models/components/insightschatsummary.ts index b1b60862..cf1ec987 100644 --- a/src/models/components/insightschatsummary.ts +++ b/src/models/components/insightschatsummary.ts @@ -10,11 +10,11 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type InsightsChatSummary = { /** - * Number of current Monthly Active Users, in the specified departments. + * Number of current Monthly Active Users. */ monthlyActiveUsers?: number | undefined; /** - * Number of current Weekly Active Users, in the specified departments. + * Number of current Weekly Active Users. */ weeklyActiveUsers?: number | undefined; /** diff --git a/src/models/components/insightsoverviewrequest.ts b/src/models/components/insightsoverviewrequest.ts index 9594050c..b12c8b68 100644 --- a/src/models/components/insightsoverviewrequest.ts +++ b/src/models/components/insightsoverviewrequest.ts @@ -11,12 +11,17 @@ export type InsightsOverviewRequest = { * Departments for which Insights are requested. */ departments?: Array | undefined; + /** + * Manager emails whose teams should be filtered for. Empty array means no filtering. + */ + managerEmails?: Array | undefined; dayRange?: Period | undefined; }; /** @internal */ export type InsightsOverviewRequest$Outbound = { departments?: Array | undefined; + managerEmails?: Array | undefined; dayRange?: Period$Outbound | undefined; }; @@ -27,6 +32,7 @@ export const InsightsOverviewRequest$outboundSchema: z.ZodType< InsightsOverviewRequest > = z.object({ departments: z.array(z.string()).optional(), + managerEmails: z.array(z.string()).optional(), dayRange: Period$outboundSchema.optional(), }); diff --git a/src/models/components/insightsoverviewresponse.ts b/src/models/components/insightsoverviewresponse.ts index 4fcd4667..4edfd959 100644 --- a/src/models/components/insightsoverviewresponse.ts +++ b/src/models/components/insightsoverviewresponse.ts @@ -30,11 +30,11 @@ import { export type InsightsOverviewResponse = { /** - * Number of current Monthly Active Users, in the specified departments. + * Number of current Monthly Active Users. */ monthlyActiveUsers?: number | undefined; /** - * Number of current Weekly Active Users, in the specified departments. + * Number of current Weekly Active Users. */ weeklyActiveUsers?: number | undefined; /** @@ -54,6 +54,7 @@ export type InsightsOverviewResponse = { searchActiveUsers?: CurrentActiveUsers | undefined; assistantActiveUsers?: CurrentActiveUsers | undefined; agentsActiveUsers?: CurrentActiveUsers | undefined; + mcpActiveUsers?: CurrentActiveUsers | undefined; extensionSummary?: CurrentActiveUsers | undefined; ugcSummary?: CurrentActiveUsers | undefined; /** @@ -62,6 +63,8 @@ export type InsightsOverviewResponse = { lastUpdatedTs?: number | undefined; /** * Search session satisfaction rate, over the specified time period in the specified departments. + * + * @deprecated field: Deprecated on 2026-05-13, removal scheduled for 2027-01-15: This property is no longer supported. Please contact Support for alternatives.. */ searchSessionSatisfaction?: number | undefined; monthlyActiveUserTimeseries?: LabeledCountInfo | undefined; @@ -76,9 +79,13 @@ export type InsightsOverviewResponse = { agentsMonthlyActiveUserTimeseries?: LabeledCountInfo | undefined; agentsWeeklyActiveUserTimeseries?: LabeledCountInfo | undefined; agentsDailyActiveUserTimeseries?: LabeledCountInfo | undefined; + mcpMonthlyActiveUserTimeseries?: LabeledCountInfo | undefined; + mcpWeeklyActiveUserTimeseries?: LabeledCountInfo | undefined; + mcpDailyActiveUserTimeseries?: LabeledCountInfo | undefined; searchesTimeseries?: LabeledCountInfo | undefined; assistantInteractionsTimeseries?: LabeledCountInfo | undefined; agentRunsTimeseries?: LabeledCountInfo | undefined; + mcpCallsTimeseries?: LabeledCountInfo | undefined; /** * Counts of search result clicks, by datasource, over the specified time period in the specified departments. */ @@ -109,6 +116,7 @@ export const InsightsOverviewResponse$inboundSchema: z.ZodType< searchActiveUsers: CurrentActiveUsers$inboundSchema.optional(), assistantActiveUsers: CurrentActiveUsers$inboundSchema.optional(), agentsActiveUsers: CurrentActiveUsers$inboundSchema.optional(), + mcpActiveUsers: CurrentActiveUsers$inboundSchema.optional(), extensionSummary: CurrentActiveUsers$inboundSchema.optional(), ugcSummary: CurrentActiveUsers$inboundSchema.optional(), lastUpdatedTs: z.number().int().optional(), @@ -127,9 +135,13 @@ export const InsightsOverviewResponse$inboundSchema: z.ZodType< agentsMonthlyActiveUserTimeseries: LabeledCountInfo$inboundSchema.optional(), agentsWeeklyActiveUserTimeseries: LabeledCountInfo$inboundSchema.optional(), agentsDailyActiveUserTimeseries: LabeledCountInfo$inboundSchema.optional(), + mcpMonthlyActiveUserTimeseries: LabeledCountInfo$inboundSchema.optional(), + mcpWeeklyActiveUserTimeseries: LabeledCountInfo$inboundSchema.optional(), + mcpDailyActiveUserTimeseries: LabeledCountInfo$inboundSchema.optional(), searchesTimeseries: LabeledCountInfo$inboundSchema.optional(), assistantInteractionsTimeseries: LabeledCountInfo$inboundSchema.optional(), agentRunsTimeseries: LabeledCountInfo$inboundSchema.optional(), + mcpCallsTimeseries: LabeledCountInfo$inboundSchema.optional(), searchDatasourceCounts: z.record(z.number().int()).optional(), chatDatasourceCounts: z.record(z.number().int()).optional(), perUserInsights: z.array(PerUserInsight$inboundSchema).optional(), diff --git a/src/models/components/insightsrequest.ts b/src/models/components/insightsrequest.ts index e0bfd998..ca88226b 100644 --- a/src/models/components/insightsrequest.ts +++ b/src/models/components/insightsrequest.ts @@ -19,11 +19,23 @@ import { InsightsOverviewRequest$Outbound, InsightsOverviewRequest$outboundSchema, } from "./insightsoverviewrequest.js"; +import { + McpBreakdownInsightsRequest, + McpBreakdownInsightsRequest$Outbound, + McpBreakdownInsightsRequest$outboundSchema, +} from "./mcpbreakdowninsightsrequest.js"; +import { + McpInsightsRequest, + McpInsightsRequest$Outbound, + McpInsightsRequest$outboundSchema, +} from "./mcpinsightsrequest.js"; export type InsightsRequest = { overviewRequest?: InsightsOverviewRequest | undefined; assistantRequest?: InsightsAssistantRequest | undefined; agentsRequest?: AgentsInsightsV2Request | undefined; + mcpRequest?: McpInsightsRequest | undefined; + mcpBreakdownRequest?: McpBreakdownInsightsRequest | undefined; /** * If true, suppresses the generation of per-user Insights in the response. Default is false. */ @@ -35,6 +47,8 @@ export type InsightsRequest$Outbound = { overviewRequest?: InsightsOverviewRequest$Outbound | undefined; assistantRequest?: InsightsAssistantRequest$Outbound | undefined; agentsRequest?: AgentsInsightsV2Request$Outbound | undefined; + mcpRequest?: McpInsightsRequest$Outbound | undefined; + mcpBreakdownRequest?: McpBreakdownInsightsRequest$Outbound | undefined; disablePerUserInsights?: boolean | undefined; }; @@ -47,6 +61,8 @@ export const InsightsRequest$outboundSchema: z.ZodType< overviewRequest: InsightsOverviewRequest$outboundSchema.optional(), assistantRequest: InsightsAssistantRequest$outboundSchema.optional(), agentsRequest: AgentsInsightsV2Request$outboundSchema.optional(), + mcpRequest: McpInsightsRequest$outboundSchema.optional(), + mcpBreakdownRequest: McpBreakdownInsightsRequest$outboundSchema.optional(), disablePerUserInsights: z.boolean().optional(), }); diff --git a/src/models/components/insightsresponse.ts b/src/models/components/insightsresponse.ts index dc0355e4..af2483c0 100644 --- a/src/models/components/insightsresponse.ts +++ b/src/models/components/insightsresponse.ts @@ -23,12 +23,22 @@ import { InsightsOverviewResponse, InsightsOverviewResponse$inboundSchema, } from "./insightsoverviewresponse.js"; +import { + McpBreakdownInsightsResponse, + McpBreakdownInsightsResponse$inboundSchema, +} from "./mcpbreakdowninsightsresponse.js"; +import { + McpInsightsResponse, + McpInsightsResponse$inboundSchema, +} from "./mcpinsightsresponse.js"; export type InsightsResponse = { gleanAssist?: GleanAssistInsightsResponse | undefined; overviewResponse?: InsightsOverviewResponse | undefined; assistantResponse?: AssistantInsightsResponse | undefined; agentsResponse?: AgentsInsightsV2Response | undefined; + mcpResponse?: McpInsightsResponse | undefined; + mcpBreakdownResponse?: McpBreakdownInsightsResponse | undefined; }; /** @internal */ @@ -41,6 +51,8 @@ export const InsightsResponse$inboundSchema: z.ZodType< overviewResponse: InsightsOverviewResponse$inboundSchema.optional(), assistantResponse: AssistantInsightsResponse$inboundSchema.optional(), agentsResponse: AgentsInsightsV2Response$inboundSchema.optional(), + mcpResponse: McpInsightsResponse$inboundSchema.optional(), + mcpBreakdownResponse: McpBreakdownInsightsResponse$inboundSchema.optional(), }); export function insightsResponseFromJSON( diff --git a/src/models/components/insightssearchsummary.ts b/src/models/components/insightssearchsummary.ts index b1ea9410..4abb2e60 100644 --- a/src/models/components/insightssearchsummary.ts +++ b/src/models/components/insightssearchsummary.ts @@ -10,11 +10,11 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type InsightsSearchSummary = { /** - * Number of current Monthly Active Users, in the specified departments. + * Number of current Monthly Active Users. */ monthlyActiveUsers?: number | undefined; /** - * Number of current Weekly Active Users, in the specified departments. + * Number of current Weekly Active Users. */ weeklyActiveUsers?: number | undefined; /** diff --git a/src/models/components/lifecycleevent.ts b/src/models/components/lifecycleevent.ts new file mode 100644 index 00000000..b8d34139 --- /dev/null +++ b/src/models/components/lifecycleevent.ts @@ -0,0 +1,63 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 34b336667db8 + */ + +import * as z from "zod/v3"; +import { safeParse } from "../../lib/schemas.js"; +import * as openEnums from "../../types/enums.js"; +import { OpenEnum } from "../../types/enums.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * Type of event + */ +export const LifeCycleEventEvent = { + Uploaded: "UPLOADED", + Indexed: "INDEXED", + DeletionRequested: "DELETION_REQUESTED", + Deleted: "DELETED", +} as const; +/** + * Type of event + */ +export type LifeCycleEventEvent = OpenEnum; + +export type LifeCycleEvent = { + /** + * Type of event + */ + event?: LifeCycleEventEvent | undefined; + /** + * Timestamp of the event + */ + timestamp?: string | undefined; +}; + +/** @internal */ +export const LifeCycleEventEvent$inboundSchema: z.ZodType< + LifeCycleEventEvent, + z.ZodTypeDef, + unknown +> = openEnums.inboundSchema(LifeCycleEventEvent); + +/** @internal */ +export const LifeCycleEvent$inboundSchema: z.ZodType< + LifeCycleEvent, + z.ZodTypeDef, + unknown +> = z.object({ + event: LifeCycleEventEvent$inboundSchema.optional(), + timestamp: z.string().optional(), +}); + +export function lifeCycleEventFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => LifeCycleEvent$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'LifeCycleEvent' from JSON`, + ); +} diff --git a/src/models/components/mcpbreakdowninsightsrequest.ts b/src/models/components/mcpbreakdowninsightsrequest.ts new file mode 100644 index 00000000..34ede14b --- /dev/null +++ b/src/models/components/mcpbreakdowninsightsrequest.ts @@ -0,0 +1,97 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: e4c173899120 + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../../types/enums.js"; +import { Period, Period$Outbound, Period$outboundSchema } from "./period.js"; + +/** + * Type of breakdown to return. + */ +export const BreakdownType = { + Users: "USERS", + HostApplications: "HOST_APPLICATIONS", + Tools: "TOOLS", + Servers: "SERVERS", +} as const; +/** + * Type of breakdown to return. + */ +export type BreakdownType = ClosedEnum; + +export type McpBreakdownInsightsRequest = { + /** + * Departments for which Insights are requested. + */ + departments?: Array | undefined; + /** + * Manager user IDs whose teams should be filtered for. Empty array means no filtering. + */ + managerIds?: Array | undefined; + /** + * Manager emails whose teams should be filtered for. Empty array means no filtering. + */ + managerEmails?: Array | undefined; + dayRange?: Period | undefined; + /** + * Type of breakdown to return. + */ + breakdownType?: BreakdownType | undefined; + /** + * Host applications to filter by. Empty array means all host applications. + */ + hostApplications?: Array | undefined; + /** + * MCP tools to filter by. Empty array means all tools. + */ + tools?: Array | undefined; + /** + * MCP servers to filter by. Empty array means all servers. + */ + servers?: Array | undefined; +}; + +/** @internal */ +export const BreakdownType$outboundSchema: z.ZodNativeEnum< + typeof BreakdownType +> = z.nativeEnum(BreakdownType); + +/** @internal */ +export type McpBreakdownInsightsRequest$Outbound = { + departments?: Array | undefined; + managerIds?: Array | undefined; + managerEmails?: Array | undefined; + dayRange?: Period$Outbound | undefined; + breakdownType?: string | undefined; + hostApplications?: Array | undefined; + tools?: Array | undefined; + servers?: Array | undefined; +}; + +/** @internal */ +export const McpBreakdownInsightsRequest$outboundSchema: z.ZodType< + McpBreakdownInsightsRequest$Outbound, + z.ZodTypeDef, + McpBreakdownInsightsRequest +> = z.object({ + departments: z.array(z.string()).optional(), + managerIds: z.array(z.string()).optional(), + managerEmails: z.array(z.string()).optional(), + dayRange: Period$outboundSchema.optional(), + breakdownType: BreakdownType$outboundSchema.optional(), + hostApplications: z.array(z.string()).optional(), + tools: z.array(z.string()).optional(), + servers: z.array(z.string()).optional(), +}); + +export function mcpBreakdownInsightsRequestToJSON( + mcpBreakdownInsightsRequest: McpBreakdownInsightsRequest, +): string { + return JSON.stringify( + McpBreakdownInsightsRequest$outboundSchema.parse( + mcpBreakdownInsightsRequest, + ), + ); +} diff --git a/src/models/components/mcpbreakdowninsightsresponse.ts b/src/models/components/mcpbreakdowninsightsresponse.ts new file mode 100644 index 00000000..319e97c7 --- /dev/null +++ b/src/models/components/mcpbreakdowninsightsresponse.ts @@ -0,0 +1,55 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 0d92c95854ba + */ + +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 { + McpHostApplicationBreakdown, + McpHostApplicationBreakdown$inboundSchema, +} from "./mcphostapplicationbreakdown.js"; +import { + McpServerBreakdown, + McpServerBreakdown$inboundSchema, +} from "./mcpserverbreakdown.js"; +import { + McpToolBreakdown, + McpToolBreakdown$inboundSchema, +} from "./mcptoolbreakdown.js"; +import { + McpUserBreakdown, + McpUserBreakdown$inboundSchema, +} from "./mcpuserbreakdown.js"; + +export type McpBreakdownInsightsResponse = { + usersBreakdown?: Array | undefined; + hostApplicationsBreakdown?: Array | undefined; + toolsBreakdown?: Array | undefined; + serversBreakdown?: Array | undefined; +}; + +/** @internal */ +export const McpBreakdownInsightsResponse$inboundSchema: z.ZodType< + McpBreakdownInsightsResponse, + z.ZodTypeDef, + unknown +> = z.object({ + usersBreakdown: z.array(McpUserBreakdown$inboundSchema).optional(), + hostApplicationsBreakdown: z.array(McpHostApplicationBreakdown$inboundSchema) + .optional(), + toolsBreakdown: z.array(McpToolBreakdown$inboundSchema).optional(), + serversBreakdown: z.array(McpServerBreakdown$inboundSchema).optional(), +}); + +export function mcpBreakdownInsightsResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => McpBreakdownInsightsResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'McpBreakdownInsightsResponse' from JSON`, + ); +} diff --git a/src/models/components/mcphostapplicationbreakdown.ts b/src/models/components/mcphostapplicationbreakdown.ts new file mode 100644 index 00000000..c3f62bed --- /dev/null +++ b/src/models/components/mcphostapplicationbreakdown.ts @@ -0,0 +1,45 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 309fc18e21bd + */ + +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 McpHostApplicationBreakdown = { + /** + * Host application name. + */ + hostApplication?: string | undefined; + /** + * Total number of MCP calls made from this host application in the specified time period. + */ + totalCalls?: number | undefined; + /** + * Total number of active users from this host application in the specified time period. + */ + activeUsers?: number | undefined; +}; + +/** @internal */ +export const McpHostApplicationBreakdown$inboundSchema: z.ZodType< + McpHostApplicationBreakdown, + z.ZodTypeDef, + unknown +> = z.object({ + hostApplication: z.string().optional(), + totalCalls: z.number().int().optional(), + activeUsers: z.number().int().optional(), +}); + +export function mcpHostApplicationBreakdownFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => McpHostApplicationBreakdown$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'McpHostApplicationBreakdown' from JSON`, + ); +} diff --git a/src/models/components/mcpinsightsrequest.ts b/src/models/components/mcpinsightsrequest.ts new file mode 100644 index 00000000..f08d3de1 --- /dev/null +++ b/src/models/components/mcpinsightsrequest.ts @@ -0,0 +1,51 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: f55dbe67d623 + */ + +import * as z from "zod/v3"; +import { Period, Period$Outbound, Period$outboundSchema } from "./period.js"; + +export type McpInsightsRequest = { + /** + * Departments for which Insights are requested. + */ + departments?: Array | undefined; + /** + * Manager user IDs whose teams should be filtered for. Empty array means no filtering. + */ + managerIds?: Array | undefined; + /** + * Manager emails whose teams should be filtered for. Empty array means no filtering. + */ + managerEmails?: Array | undefined; + dayRange?: Period | undefined; +}; + +/** @internal */ +export type McpInsightsRequest$Outbound = { + departments?: Array | undefined; + managerIds?: Array | undefined; + managerEmails?: Array | undefined; + dayRange?: Period$Outbound | undefined; +}; + +/** @internal */ +export const McpInsightsRequest$outboundSchema: z.ZodType< + McpInsightsRequest$Outbound, + z.ZodTypeDef, + McpInsightsRequest +> = z.object({ + departments: z.array(z.string()).optional(), + managerIds: z.array(z.string()).optional(), + managerEmails: z.array(z.string()).optional(), + dayRange: Period$outboundSchema.optional(), +}); + +export function mcpInsightsRequestToJSON( + mcpInsightsRequest: McpInsightsRequest, +): string { + return JSON.stringify( + McpInsightsRequest$outboundSchema.parse(mcpInsightsRequest), + ); +} diff --git a/src/models/components/mcpinsightsresponse.ts b/src/models/components/mcpinsightsresponse.ts new file mode 100644 index 00000000..37e424d5 --- /dev/null +++ b/src/models/components/mcpinsightsresponse.ts @@ -0,0 +1,61 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: a600aa686cc3 + */ + +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 { + LabeledCountInfo, + LabeledCountInfo$inboundSchema, +} from "./labeledcountinfo.js"; + +export type McpInsightsResponse = { + /** + * Number of current Monthly Active Users. + */ + monthlyActiveUsers?: number | undefined; + /** + * Number of current Weekly Active Users. + */ + weeklyActiveUsers?: number | undefined; + /** + * Number of current Daily Active Users. + */ + dailyActiveUsers?: number | undefined; + monthlyActiveUserTimeseries?: LabeledCountInfo | undefined; + weeklyActiveUserTimeseries?: LabeledCountInfo | undefined; + dailyActiveUserTimeseries?: LabeledCountInfo | undefined; + overallDailyActiveUserTimeseries?: LabeledCountInfo | undefined; + topHostApplicationsActiveUserTimeseries?: Array | undefined; +}; + +/** @internal */ +export const McpInsightsResponse$inboundSchema: z.ZodType< + McpInsightsResponse, + z.ZodTypeDef, + unknown +> = z.object({ + monthlyActiveUsers: z.number().int().optional(), + weeklyActiveUsers: z.number().int().optional(), + dailyActiveUsers: z.number().int().optional(), + monthlyActiveUserTimeseries: LabeledCountInfo$inboundSchema.optional(), + weeklyActiveUserTimeseries: LabeledCountInfo$inboundSchema.optional(), + dailyActiveUserTimeseries: LabeledCountInfo$inboundSchema.optional(), + overallDailyActiveUserTimeseries: LabeledCountInfo$inboundSchema.optional(), + topHostApplicationsActiveUserTimeseries: z.array( + LabeledCountInfo$inboundSchema, + ).optional(), +}); + +export function mcpInsightsResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => McpInsightsResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'McpInsightsResponse' from JSON`, + ); +} diff --git a/src/models/components/mcpserverbreakdown.ts b/src/models/components/mcpserverbreakdown.ts new file mode 100644 index 00000000..a5fec74d --- /dev/null +++ b/src/models/components/mcpserverbreakdown.ts @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 653a082b4ab1 + */ + +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 McpServerBreakdown = { + /** + * MCP server name. + */ + server?: string | undefined; + /** + * Total number of MCP calls for this server in the specified time period. + */ + totalCalls?: number | undefined; + /** + * Total number of active users for this server in the specified time period. + */ + activeUsers?: number | undefined; + /** + * Host applications using this server in the specified time period. + */ + hostApplications?: Array | undefined; +}; + +/** @internal */ +export const McpServerBreakdown$inboundSchema: z.ZodType< + McpServerBreakdown, + z.ZodTypeDef, + unknown +> = z.object({ + server: z.string().optional(), + totalCalls: z.number().int().optional(), + activeUsers: z.number().int().optional(), + hostApplications: z.array(z.string()).optional(), +}); + +export function mcpServerBreakdownFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => McpServerBreakdown$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'McpServerBreakdown' from JSON`, + ); +} diff --git a/src/models/components/mcptoolbreakdown.ts b/src/models/components/mcptoolbreakdown.ts new file mode 100644 index 00000000..276342eb --- /dev/null +++ b/src/models/components/mcptoolbreakdown.ts @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: ff4c2b197607 + */ + +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 McpToolBreakdown = { + /** + * MCP tool name. + */ + tool?: string | undefined; + /** + * Total number of MCP calls for this tool in the specified time period. + */ + totalCalls?: number | undefined; + /** + * Total number of active users for this tool in the specified time period. + */ + activeUsers?: number | undefined; + /** + * Host applications using this tool in the specified time period. + */ + hostApplications?: Array | undefined; +}; + +/** @internal */ +export const McpToolBreakdown$inboundSchema: z.ZodType< + McpToolBreakdown, + z.ZodTypeDef, + unknown +> = z.object({ + tool: z.string().optional(), + totalCalls: z.number().int().optional(), + activeUsers: z.number().int().optional(), + hostApplications: z.array(z.string()).optional(), +}); + +export function mcpToolBreakdownFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => McpToolBreakdown$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'McpToolBreakdown' from JSON`, + ); +} diff --git a/src/models/components/mcpuserbreakdown.ts b/src/models/components/mcpuserbreakdown.ts new file mode 100644 index 00000000..fb7654ec --- /dev/null +++ b/src/models/components/mcpuserbreakdown.ts @@ -0,0 +1,53 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: d454eb498b54 + */ + +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 { Person, Person$inboundSchema } from "./person.js"; + +export type McpUserBreakdown = { + person?: Person | undefined; + /** + * Total number of MCP calls made by this user in the specified time period. + */ + totalCalls?: number | undefined; + /** + * Host applications used by this user in the specified time period. + */ + hostApplications?: Array | undefined; + /** + * MCP tools used by this user in the specified time period. + */ + tools?: Array | undefined; + /** + * MCP servers used by this user in the specified time period. + */ + servers?: Array | undefined; +}; + +/** @internal */ +export const McpUserBreakdown$inboundSchema: z.ZodType< + McpUserBreakdown, + z.ZodTypeDef, + unknown +> = z.object({ + person: Person$inboundSchema.optional(), + totalCalls: z.number().int().optional(), + hostApplications: z.array(z.string()).optional(), + tools: z.array(z.string()).optional(), + servers: z.array(z.string()).optional(), +}); + +export function mcpUserBreakdownFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => McpUserBreakdown$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'McpUserBreakdown' from JSON`, + ); +} diff --git a/src/models/components/peragentinsight.ts b/src/models/components/peragentinsight.ts index 93fb697c..81233caa 100644 --- a/src/models/components/peragentinsight.ts +++ b/src/models/components/peragentinsight.ts @@ -8,6 +8,7 @@ import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { IconConfig, IconConfig$inboundSchema } from "./iconconfig.js"; +import { Person, Person$inboundSchema } from "./person.js"; export type PerAgentInsight = { /** @@ -42,6 +43,7 @@ export type PerAgentInsight = { * Total number of downvotes for this agent over the specified time period. */ downvoteCount?: number | undefined; + owner?: Person | undefined; }; /** @internal */ @@ -58,6 +60,7 @@ export const PerAgentInsight$inboundSchema: z.ZodType< runCount: z.number().int().optional(), upvoteCount: z.number().int().optional(), downvoteCount: z.number().int().optional(), + owner: Person$inboundSchema.optional(), }); export function perAgentInsightFromJSON( diff --git a/src/models/components/peruserinsight.ts b/src/models/components/peruserinsight.ts index 26cafe65..188a562b 100644 --- a/src/models/components/peruserinsight.ts +++ b/src/models/components/peruserinsight.ts @@ -43,6 +43,10 @@ export type PerUserInsight = { * Total number of agent runs for this user over the specified time period. */ numAgentRuns?: number | undefined; + /** + * Total number of MCP calls for this user over the specified time period. + */ + numMcpCalls?: number | undefined; }; /** @internal */ @@ -60,6 +64,7 @@ export const PerUserInsight$inboundSchema: z.ZodType< numSummarizations: z.number().int().optional(), numAiAnswers: z.number().int().optional(), numAgentRuns: z.number().int().optional(), + numMcpCalls: z.number().int().optional(), }); export function perUserInsightFromJSON( diff --git a/src/models/components/propertydefinition.ts b/src/models/components/propertydefinition.ts index 140a1c6e..b7ab8fee 100644 --- a/src/models/components/propertydefinition.ts +++ b/src/models/components/propertydefinition.ts @@ -13,7 +13,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * The type of custom property - this governs the search and faceting behavior. Note that MULTIPICKLIST is not yet supported. */ -export const PropertyType = { +export const PropertyDefinitionPropertyType = { Text: "TEXT", Date: "DATE", Int: "INT", @@ -25,7 +25,9 @@ export const PropertyType = { /** * The type of custom property - this governs the search and faceting behavior. Note that MULTIPICKLIST is not yet supported. */ -export type PropertyType = OpenEnum; +export type PropertyDefinitionPropertyType = OpenEnum< + typeof PropertyDefinitionPropertyType +>; export const UiOptions = { None: "NONE", @@ -50,7 +52,7 @@ export type PropertyDefinition = { /** * The type of custom property - this governs the search and faceting behavior. Note that MULTIPICKLIST is not yet supported. */ - propertyType?: PropertyType | undefined; + propertyType?: PropertyDefinitionPropertyType | undefined; uiOptions?: UiOptions | undefined; /** * If true then the property will not show up as a facet in the UI. @@ -71,17 +73,17 @@ export type PropertyDefinition = { }; /** @internal */ -export const PropertyType$inboundSchema: z.ZodType< - PropertyType, +export const PropertyDefinitionPropertyType$inboundSchema: z.ZodType< + PropertyDefinitionPropertyType, z.ZodTypeDef, unknown -> = openEnums.inboundSchema(PropertyType); +> = openEnums.inboundSchema(PropertyDefinitionPropertyType); /** @internal */ -export const PropertyType$outboundSchema: z.ZodType< +export const PropertyDefinitionPropertyType$outboundSchema: z.ZodType< string, z.ZodTypeDef, - PropertyType -> = openEnums.outboundSchema(PropertyType); + PropertyDefinitionPropertyType +> = openEnums.outboundSchema(PropertyDefinitionPropertyType); /** @internal */ export const UiOptions$inboundSchema: z.ZodType< @@ -105,7 +107,7 @@ export const PropertyDefinition$inboundSchema: z.ZodType< name: z.string().optional(), displayLabel: z.string().optional(), displayLabelPlural: z.string().optional(), - propertyType: PropertyType$inboundSchema.optional(), + propertyType: PropertyDefinitionPropertyType$inboundSchema.optional(), uiOptions: UiOptions$inboundSchema.optional(), hideUiFacet: z.boolean().optional(), uiFacetOrder: z.number().int().optional(), @@ -134,7 +136,7 @@ export const PropertyDefinition$outboundSchema: z.ZodType< name: z.string().optional(), displayLabel: z.string().optional(), displayLabelPlural: z.string().optional(), - propertyType: PropertyType$outboundSchema.optional(), + propertyType: PropertyDefinitionPropertyType$outboundSchema.optional(), uiOptions: UiOptions$outboundSchema.optional(), hideUiFacet: z.boolean().optional(), uiFacetOrder: z.number().int().optional(), diff --git a/src/models/components/rotatedatasourcecredentialsrequest.ts b/src/models/components/rotatedatasourcecredentialsrequest.ts new file mode 100644 index 00000000..d1b4ecf9 --- /dev/null +++ b/src/models/components/rotatedatasourcecredentialsrequest.ts @@ -0,0 +1,48 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 9a5423224260 + */ + +import * as z from "zod/v3"; +import { + DatasourceInstanceConfiguration, + DatasourceInstanceConfiguration$Outbound, + DatasourceInstanceConfiguration$outboundSchema, +} from "./datasourceinstanceconfiguration.js"; + +/** + * Request to rotate the credentials used by a datasource instance. Replaces the active credential material with the supplied values. + * + * @remarks + * `credentials.values` must contain only keys recognized as credential material for the datasource type (for example `clientSecret` for OAuth, `apiToken` for API-token auth, `privateKey` for certificate auth). Unrecognized keys, or keys that correspond to non-credential configuration, cause a 400; use the configure endpoint to change non-credential config. + */ +export type RotateDatasourceCredentialsRequest = { + /** + * Configuration for a datasource instance + */ + credentials: DatasourceInstanceConfiguration; +}; + +/** @internal */ +export type RotateDatasourceCredentialsRequest$Outbound = { + credentials: DatasourceInstanceConfiguration$Outbound; +}; + +/** @internal */ +export const RotateDatasourceCredentialsRequest$outboundSchema: z.ZodType< + RotateDatasourceCredentialsRequest$Outbound, + z.ZodTypeDef, + RotateDatasourceCredentialsRequest +> = z.object({ + credentials: DatasourceInstanceConfiguration$outboundSchema, +}); + +export function rotateDatasourceCredentialsRequestToJSON( + rotateDatasourceCredentialsRequest: RotateDatasourceCredentialsRequest, +): string { + return JSON.stringify( + RotateDatasourceCredentialsRequest$outboundSchema.parse( + rotateDatasourceCredentialsRequest, + ), + ); +} diff --git a/src/models/components/successresponse.ts b/src/models/components/successresponse.ts new file mode 100644 index 00000000..c239298b --- /dev/null +++ b/src/models/components/successresponse.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: e0274c664fba + */ + +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"; + +/** + * Success response for custom metadata operations + */ +export type SuccessResponse = { + /** + * Indicates if the operation was successful + */ + success: boolean; +}; + +/** @internal */ +export const SuccessResponse$inboundSchema: z.ZodType< + SuccessResponse, + z.ZodTypeDef, + unknown +> = z.object({ + success: z.boolean().default(true), +}); + +export function successResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SuccessResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SuccessResponse' from JSON`, + ); +} diff --git a/src/models/components/ugctype.ts b/src/models/components/ugctype.ts index 5f47630b..f91c762e 100644 --- a/src/models/components/ugctype.ts +++ b/src/models/components/ugctype.ts @@ -25,6 +25,8 @@ export const UgcType = { ShortcutsType: "SHORTCUTS_TYPE", SlideType: "SLIDE_TYPE", SpreadsheetType: "SPREADSHEET_TYPE", + InlineHtmlType: "INLINE_HTML_TYPE", + PodcastType: "PODCAST_TYPE", WorkflowsType: "WORKFLOWS_TYPE", } as const; export type UgcType = OpenEnum; diff --git a/src/models/components/workflow.ts b/src/models/components/workflow.ts index eee4e67b..2b33053f 100644 --- a/src/models/components/workflow.ts +++ b/src/models/components/workflow.ts @@ -31,12 +31,25 @@ export type Workflow = { * Server Unix timestamp of the last time the draft was saved. */ lastDraftSavedAt?: number | undefined; + lastDraftSavedBy?: Person | undefined; + /** + * 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. + */ + lastDraftGitAuthorId?: string | undefined; lastUpdatedBy?: Person | undefined; permissions?: ObjectPermissions | undefined; /** * The ID of the workflow. */ id?: string | undefined; + /** + * When present, indicates this workflow is admin-verified. Set via the dedicated admin settings endpoint, not by regular edits. + */ + verified?: boolean | undefined; + /** + * When true, displays organization name instead of author name in agent card. Set via the dedicated admin settings endpoint, not by regular edits. + */ + showOrganizationAsAuthor?: boolean | undefined; }; /** @internal */ @@ -50,9 +63,13 @@ export const Workflow$inboundSchema: z.ZodType< createTimestamp: z.number().int().optional(), lastUpdateTimestamp: z.number().int().optional(), lastDraftSavedAt: z.number().int().optional(), + lastDraftSavedBy: Person$inboundSchema.optional(), + lastDraftGitAuthorId: z.string().optional(), lastUpdatedBy: Person$inboundSchema.optional(), permissions: ObjectPermissions$inboundSchema.optional(), id: z.string().optional(), + verified: z.boolean().optional(), + showOrganizationAsAuthor: z.boolean().optional(), }); export function workflowFromJSON( diff --git a/src/models/errors/errorinforesponse.ts b/src/models/errors/errorinforesponse.ts new file mode 100644 index 00000000..6882aa20 --- /dev/null +++ b/src/models/errors/errorinforesponse.ts @@ -0,0 +1,66 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 523e96d1af10 + */ + +import * as z from "zod/v3"; +import { GleanBaseError } from "./gleanbaseerror.js"; + +/** + * Error response for custom metadata operations + */ +export type ErrorInfoResponseData = { + /** + * Error message describing what went wrong + */ + error: string; + /** + * Additional details about the error + */ + message?: string | undefined; +}; + +/** + * Error response for custom metadata operations + */ +export class ErrorInfoResponse extends GleanBaseError { + /** + * Error message describing what went wrong + */ + error: string; + + /** The original data that was passed to this error instance. */ + data$: ErrorInfoResponseData; + + constructor( + err: ErrorInfoResponseData, + httpMeta: { response: Response; request: Request; body: string }, + ) { + const message = err.message || `API error occurred: ${JSON.stringify(err)}`; + super(message, httpMeta); + this.data$ = err; + this.error = err.error; + + this.name = "ErrorInfoResponse"; + } +} + +/** @internal */ +export const ErrorInfoResponse$inboundSchema: z.ZodType< + ErrorInfoResponse, + z.ZodTypeDef, + unknown +> = z.object({ + error: z.string(), + message: z.string().optional(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), +}) + .transform((v) => { + return new ErrorInfoResponse(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }); diff --git a/src/models/errors/index.ts b/src/models/errors/index.ts index 053187ac..aace9693 100644 --- a/src/models/errors/index.ts +++ b/src/models/errors/index.ts @@ -4,6 +4,7 @@ */ export * from "./collectionerror.js"; +export * from "./errorinforesponse.js"; export * from "./errorresponse.js"; export * from "./gleanbaseerror.js"; export * from "./gleandataerror.js"; diff --git a/src/models/operations/authorizeactionpack.ts b/src/models/operations/authorizeactionpack.ts new file mode 100644 index 00000000..aac52548 --- /dev/null +++ b/src/models/operations/authorizeactionpack.ts @@ -0,0 +1,45 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 6e5416c09efb + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; + +export type AuthorizeActionPackRequest = { + /** + * ID of the action pack to query or authorize. + */ + actionPackId: string; + authorizeActionPackRequest: components.AuthorizeActionPackRequest; +}; + +/** @internal */ +export type AuthorizeActionPackRequest$Outbound = { + actionPackId: string; + AuthorizeActionPackRequest: components.AuthorizeActionPackRequest$Outbound; +}; + +/** @internal */ +export const AuthorizeActionPackRequest$outboundSchema: z.ZodType< + AuthorizeActionPackRequest$Outbound, + z.ZodTypeDef, + AuthorizeActionPackRequest +> = z.object({ + actionPackId: z.string(), + authorizeActionPackRequest: + components.AuthorizeActionPackRequest$outboundSchema, +}).transform((v) => { + return remap$(v, { + authorizeActionPackRequest: "AuthorizeActionPackRequest", + }); +}); + +export function authorizeActionPackRequestToJSON( + authorizeActionPackRequest: AuthorizeActionPackRequest, +): string { + return JSON.stringify( + AuthorizeActionPackRequest$outboundSchema.parse(authorizeActionPackRequest), + ); +} diff --git a/src/models/operations/deleterestapiindexcustommetadataschemagroupname.ts b/src/models/operations/deleterestapiindexcustommetadataschemagroupname.ts new file mode 100644 index 00000000..a26d163f --- /dev/null +++ b/src/models/operations/deleterestapiindexcustommetadataschemagroupname.ts @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 7d1dbb682727 + */ + +import * as z from "zod/v3"; + +export const DeleteRestApiIndexCustomMetadataSchemaGroupNameServerList = [ + "https://{instance}-be.glean.com", +] as const; + +export type DeleteRestApiIndexCustomMetadataSchemaGroupNameRequest = { + /** + * Name of the metadata group schema + */ + groupName: string; +}; + +/** @internal */ +export type DeleteRestApiIndexCustomMetadataSchemaGroupNameRequest$Outbound = { + groupName: string; +}; + +/** @internal */ +export const DeleteRestApiIndexCustomMetadataSchemaGroupNameRequest$outboundSchema: + z.ZodType< + DeleteRestApiIndexCustomMetadataSchemaGroupNameRequest$Outbound, + z.ZodTypeDef, + DeleteRestApiIndexCustomMetadataSchemaGroupNameRequest + > = z.object({ + groupName: z.string(), + }); + +export function deleteRestApiIndexCustomMetadataSchemaGroupNameRequestToJSON( + deleteRestApiIndexCustomMetadataSchemaGroupNameRequest: + DeleteRestApiIndexCustomMetadataSchemaGroupNameRequest, +): string { + return JSON.stringify( + DeleteRestApiIndexCustomMetadataSchemaGroupNameRequest$outboundSchema.parse( + deleteRestApiIndexCustomMetadataSchemaGroupNameRequest, + ), + ); +} diff --git a/src/models/operations/deleterestapiindexdocumentdocidcustommetadatagroupname.ts b/src/models/operations/deleterestapiindexdocumentdocidcustommetadatagroupname.ts new file mode 100644 index 00000000..386dd111 --- /dev/null +++ b/src/models/operations/deleterestapiindexdocumentdocidcustommetadatagroupname.ts @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: af348e14af34 + */ + +import * as z from "zod/v3"; + +export const DeleteRestApiIndexDocumentDocIdCustomMetadataGroupNameServerList = + [ + "https://{instance}-be.glean.com", + ] as const; + +export type DeleteRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest = { + /** + * Unique Glean identifier of the document + */ + docId: string; + /** + * Name of the metadata group as specified while adding schema + */ + groupName: string; +}; + +/** @internal */ +export type DeleteRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest$Outbound = + { + docId: string; + groupName: string; + }; + +/** @internal */ +export const DeleteRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest$outboundSchema: + z.ZodType< + DeleteRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest$Outbound, + z.ZodTypeDef, + DeleteRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest + > = z.object({ + docId: z.string(), + groupName: z.string(), + }); + +export function deleteRestApiIndexDocumentDocIdCustomMetadataGroupNameRequestToJSON( + deleteRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest: + DeleteRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest, +): string { + return JSON.stringify( + DeleteRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest$outboundSchema + .parse(deleteRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest), + ); +} diff --git a/src/models/operations/editagent.ts b/src/models/operations/editagent.ts new file mode 100644 index 00000000..2f9df3e2 --- /dev/null +++ b/src/models/operations/editagent.ts @@ -0,0 +1,57 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: effba0f7cfcb + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; + +export type EditAgentRequest = { + /** + * 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`. + */ + locale?: string | undefined; + /** + * The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. + */ + timezoneOffset?: number | undefined; + /** + * The ID of the agent. + */ + agentId: string; + editWorkflowRequest: components.EditWorkflowRequest; +}; + +/** @internal */ +export type EditAgentRequest$Outbound = { + locale?: string | undefined; + timezoneOffset?: number | undefined; + agent_id: string; + EditWorkflowRequest: components.EditWorkflowRequest$Outbound; +}; + +/** @internal */ +export const EditAgentRequest$outboundSchema: z.ZodType< + EditAgentRequest$Outbound, + z.ZodTypeDef, + EditAgentRequest +> = z.object({ + locale: z.string().optional(), + timezoneOffset: z.number().int().optional(), + agentId: z.string(), + editWorkflowRequest: components.EditWorkflowRequest$outboundSchema, +}).transform((v) => { + return remap$(v, { + agentId: "agent_id", + editWorkflowRequest: "EditWorkflowRequest", + }); +}); + +export function editAgentRequestToJSON( + editAgentRequest: EditAgentRequest, +): string { + return JSON.stringify( + EditAgentRequest$outboundSchema.parse(editAgentRequest), + ); +} diff --git a/src/models/operations/getactionpackauthstatus.ts b/src/models/operations/getactionpackauthstatus.ts new file mode 100644 index 00000000..acc59c42 --- /dev/null +++ b/src/models/operations/getactionpackauthstatus.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 258daa495312 + */ + +import * as z from "zod/v3"; + +export type GetActionPackAuthStatusRequest = { + /** + * ID of the action pack to query or authorize. + */ + actionPackId: string; +}; + +/** @internal */ +export type GetActionPackAuthStatusRequest$Outbound = { + actionPackId: string; +}; + +/** @internal */ +export const GetActionPackAuthStatusRequest$outboundSchema: z.ZodType< + GetActionPackAuthStatusRequest$Outbound, + z.ZodTypeDef, + GetActionPackAuthStatusRequest +> = z.object({ + actionPackId: z.string(), +}); + +export function getActionPackAuthStatusRequestToJSON( + getActionPackAuthStatusRequest: GetActionPackAuthStatusRequest, +): string { + return JSON.stringify( + GetActionPackAuthStatusRequest$outboundSchema.parse( + getActionPackAuthStatusRequest, + ), + ); +} diff --git a/src/models/operations/getchatfile.ts b/src/models/operations/getchatfile.ts new file mode 100644 index 00000000..c3a0fc35 --- /dev/null +++ b/src/models/operations/getchatfile.ts @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 61d9af5f621f + */ + +import * as z from "zod/v3"; + +export type GetChatFileRequest = { + /** + * Identifier of the chat file to download. + */ + fileId: string; + /** + * When true and the file is a PDF, the response is served inline (Content-Disposition: inline) instead of as an attachment. + * + * @remarks + */ + preview?: boolean | undefined; +}; + +/** @internal */ +export type GetChatFileRequest$Outbound = { + fileId: string; + preview?: boolean | undefined; +}; + +/** @internal */ +export const GetChatFileRequest$outboundSchema: z.ZodType< + GetChatFileRequest$Outbound, + z.ZodTypeDef, + GetChatFileRequest +> = z.object({ + fileId: z.string(), + preview: z.boolean().optional(), +}); + +export function getChatFileRequestToJSON( + getChatFileRequest: GetChatFileRequest, +): string { + return JSON.stringify( + GetChatFileRequest$outboundSchema.parse(getChatFileRequest), + ); +} diff --git a/src/models/operations/getdatasourcecredentialstatus.ts b/src/models/operations/getdatasourcecredentialstatus.ts new file mode 100644 index 00000000..6e6b642b --- /dev/null +++ b/src/models/operations/getdatasourcecredentialstatus.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 0c2b3e4c4b22 + */ + +import * as z from "zod/v3"; + +export type GetDatasourceCredentialStatusRequest = { + /** + * The full datasource instance identifier (e.g. o365sharepoint_abc123) + */ + datasourceInstanceId: string; +}; + +/** @internal */ +export type GetDatasourceCredentialStatusRequest$Outbound = { + datasourceInstanceId: string; +}; + +/** @internal */ +export const GetDatasourceCredentialStatusRequest$outboundSchema: z.ZodType< + GetDatasourceCredentialStatusRequest$Outbound, + z.ZodTypeDef, + GetDatasourceCredentialStatusRequest +> = z.object({ + datasourceInstanceId: z.string(), +}); + +export function getDatasourceCredentialStatusRequestToJSON( + getDatasourceCredentialStatusRequest: GetDatasourceCredentialStatusRequest, +): string { + return JSON.stringify( + GetDatasourceCredentialStatusRequest$outboundSchema.parse( + getDatasourceCredentialStatusRequest, + ), + ); +} diff --git a/src/models/operations/getpersonphoto.ts b/src/models/operations/getpersonphoto.ts new file mode 100644 index 00000000..287f8ac2 --- /dev/null +++ b/src/models/operations/getpersonphoto.ts @@ -0,0 +1,108 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 428e91c12ab8 + */ + +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"; + +export type GetPersonPhotoRequest = { + /** + * The obfuscated ID of the person whose photo to retrieve. + */ + personId: 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. + * + * @remarks + */ + ds?: string | undefined; +}; + +export type GetPersonPhotoResponseResult = + | ReadableStream + | ReadableStream; + +export type GetPersonPhotoResponse = { + headers: { [k: string]: Array }; + result: ReadableStream | ReadableStream; +}; + +/** @internal */ +export type GetPersonPhotoRequest$Outbound = { + person_id: string; + ds?: string | undefined; +}; + +/** @internal */ +export const GetPersonPhotoRequest$outboundSchema: z.ZodType< + GetPersonPhotoRequest$Outbound, + z.ZodTypeDef, + GetPersonPhotoRequest +> = z.object({ + personId: z.string(), + ds: z.string().optional(), +}).transform((v) => { + return remap$(v, { + personId: "person_id", + }); +}); + +export function getPersonPhotoRequestToJSON( + getPersonPhotoRequest: GetPersonPhotoRequest, +): string { + return JSON.stringify( + GetPersonPhotoRequest$outboundSchema.parse(getPersonPhotoRequest), + ); +} + +/** @internal */ +export const GetPersonPhotoResponseResult$inboundSchema: z.ZodType< + GetPersonPhotoResponseResult, + z.ZodTypeDef, + unknown +> = z.union([ + z.instanceof(ReadableStream), + z.instanceof(ReadableStream), +]); + +export function getPersonPhotoResponseResultFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetPersonPhotoResponseResult$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetPersonPhotoResponseResult' from JSON`, + ); +} + +/** @internal */ +export const GetPersonPhotoResponse$inboundSchema: z.ZodType< + GetPersonPhotoResponse, + z.ZodTypeDef, + unknown +> = z.object({ + Headers: z.record(z.array(z.string())).default({}), + Result: z.union([ + z.instanceof(ReadableStream), + z.instanceof(ReadableStream), + ]), +}).transform((v) => { + return remap$(v, { + "Headers": "headers", + "Result": "result", + }); +}); + +export function getPersonPhotoResponseFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetPersonPhotoResponse$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetPersonPhotoResponse' from JSON`, + ); +} diff --git a/src/models/operations/getrestapiindexcustommetadataschemagroupname.ts b/src/models/operations/getrestapiindexcustommetadataschemagroupname.ts new file mode 100644 index 00000000..aa317903 --- /dev/null +++ b/src/models/operations/getrestapiindexcustommetadataschemagroupname.ts @@ -0,0 +1,43 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: f6e3b285a125 + */ + +import * as z from "zod/v3"; + +export const GetRestApiIndexCustomMetadataSchemaGroupNameServerList = [ + "https://{instance}-be.glean.com", +] as const; + +export type GetRestApiIndexCustomMetadataSchemaGroupNameRequest = { + /** + * Name of the metadata group schema + */ + groupName: string; +}; + +/** @internal */ +export type GetRestApiIndexCustomMetadataSchemaGroupNameRequest$Outbound = { + groupName: string; +}; + +/** @internal */ +export const GetRestApiIndexCustomMetadataSchemaGroupNameRequest$outboundSchema: + z.ZodType< + GetRestApiIndexCustomMetadataSchemaGroupNameRequest$Outbound, + z.ZodTypeDef, + GetRestApiIndexCustomMetadataSchemaGroupNameRequest + > = z.object({ + groupName: z.string(), + }); + +export function getRestApiIndexCustomMetadataSchemaGroupNameRequestToJSON( + getRestApiIndexCustomMetadataSchemaGroupNameRequest: + GetRestApiIndexCustomMetadataSchemaGroupNameRequest, +): string { + return JSON.stringify( + GetRestApiIndexCustomMetadataSchemaGroupNameRequest$outboundSchema.parse( + getRestApiIndexCustomMetadataSchemaGroupNameRequest, + ), + ); +} diff --git a/src/models/operations/index.ts b/src/models/operations/index.ts index 77dae79b..21dec9ab 100644 --- a/src/models/operations/index.ts +++ b/src/models/operations/index.ts @@ -6,6 +6,7 @@ export * from "./addcollectionitems.js"; export * from "./addverificationreminder.js"; export * from "./adminsearch.js"; +export * from "./authorizeactionpack.js"; export * from "./autocomplete.js"; export * from "./chat.js"; export * from "./chatstream.js"; @@ -21,31 +22,39 @@ export * from "./deletechats.js"; export * from "./deletecollection.js"; export * from "./deletecollectionitem.js"; export * from "./deletefindingsexport.js"; +export * from "./deleterestapiindexcustommetadataschemagroupname.js"; +export * from "./deleterestapiindexdocumentdocidcustommetadatagroupname.js"; export * from "./deleteshortcut.js"; export * from "./downloadfindingsexport.js"; export * from "./downloadpolicycsv.js"; export * from "./downloadreportcsv.js"; +export * from "./editagent.js"; export * from "./editanswer.js"; export * from "./editcollection.js"; export * from "./editcollectionitem.js"; export * from "./editpin.js"; export * from "./feed.js"; export * from "./feedback.js"; +export * from "./getactionpackauthstatus.js"; export * from "./getagent.js"; export * from "./getagentschemas.js"; export * from "./getanswer.js"; export * from "./getchat.js"; export * from "./getchatapplication.js"; +export * from "./getchatfile.js"; export * from "./getchatfiles.js"; export * from "./getcollection.js"; +export * from "./getdatasourcecredentialstatus.js"; export * from "./getdatasourceinstanceconfiguration.js"; export * from "./getdocpermissions.js"; export * from "./getdocuments.js"; export * from "./getdocumentsbyfacets.js"; export * from "./getdocvisibility.js"; +export * from "./getpersonphoto.js"; export * from "./getpin.js"; export * from "./getpolicy.js"; export * from "./getreportstatus.js"; +export * from "./getrestapiindexcustommetadataschemagroupname.js"; export * from "./getrestapiv1toolslist.js"; export * from "./getshortcut.js"; export * from "./insights.js"; @@ -61,10 +70,14 @@ export * from "./messages.js"; export * from "./people.js"; export * from "./pin.js"; export * from "./postapiindexv1debugdatasourcedocument.js"; +export * from "./postapiindexv1debugdatasourcedocumentevents.js"; export * from "./postapiindexv1debugdatasourcedocuments.js"; export * from "./postapiindexv1debugdatasourcestatus.js"; export * from "./postapiindexv1debugdatasourceuser.js"; +export * from "./putrestapiindexcustommetadataschemagroupname.js"; +export * from "./putrestapiindexdocumentdocidcustommetadatagroupname.js"; export * from "./recommendations.js"; +export * from "./rotatedatasourcecredentials.js"; export * from "./search.js"; export * from "./summarize.js"; export * from "./unpin.js"; diff --git a/src/models/operations/postapiindexv1debugdatasourcedocumentevents.ts b/src/models/operations/postapiindexv1debugdatasourcedocumentevents.ts new file mode 100644 index 00000000..dfe33955 --- /dev/null +++ b/src/models/operations/postapiindexv1debugdatasourcedocumentevents.ts @@ -0,0 +1,50 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 05cbcd7d74c7 + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; + +export type PostApiIndexV1DebugDatasourceDocumentEventsRequest = { + /** + * The datasource to which the document belongs + */ + datasource: string; + debugDocumentLifecycleRequest: components.DebugDocumentLifecycleRequest; +}; + +/** @internal */ +export type PostApiIndexV1DebugDatasourceDocumentEventsRequest$Outbound = { + datasource: string; + DebugDocumentLifecycleRequest: + components.DebugDocumentLifecycleRequest$Outbound; +}; + +/** @internal */ +export const PostApiIndexV1DebugDatasourceDocumentEventsRequest$outboundSchema: + z.ZodType< + PostApiIndexV1DebugDatasourceDocumentEventsRequest$Outbound, + z.ZodTypeDef, + PostApiIndexV1DebugDatasourceDocumentEventsRequest + > = z.object({ + datasource: z.string(), + debugDocumentLifecycleRequest: + components.DebugDocumentLifecycleRequest$outboundSchema, + }).transform((v) => { + return remap$(v, { + debugDocumentLifecycleRequest: "DebugDocumentLifecycleRequest", + }); + }); + +export function postApiIndexV1DebugDatasourceDocumentEventsRequestToJSON( + postApiIndexV1DebugDatasourceDocumentEventsRequest: + PostApiIndexV1DebugDatasourceDocumentEventsRequest, +): string { + return JSON.stringify( + PostApiIndexV1DebugDatasourceDocumentEventsRequest$outboundSchema.parse( + postApiIndexV1DebugDatasourceDocumentEventsRequest, + ), + ); +} diff --git a/src/models/operations/putrestapiindexcustommetadataschemagroupname.ts b/src/models/operations/putrestapiindexcustommetadataschemagroupname.ts new file mode 100644 index 00000000..ed0027fb --- /dev/null +++ b/src/models/operations/putrestapiindexcustommetadataschemagroupname.ts @@ -0,0 +1,52 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: f942032aea10 + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; + +export const PutRestApiIndexCustomMetadataSchemaGroupNameServerList = [ + "https://{instance}-be.glean.com", +] as const; + +export type PutRestApiIndexCustomMetadataSchemaGroupNameRequest = { + /** + * Name of the metadata group schema + */ + groupName: string; + customMetadataSchema: components.CustomMetadataSchema; +}; + +/** @internal */ +export type PutRestApiIndexCustomMetadataSchemaGroupNameRequest$Outbound = { + groupName: string; + CustomMetadataSchema: components.CustomMetadataSchema$Outbound; +}; + +/** @internal */ +export const PutRestApiIndexCustomMetadataSchemaGroupNameRequest$outboundSchema: + z.ZodType< + PutRestApiIndexCustomMetadataSchemaGroupNameRequest$Outbound, + z.ZodTypeDef, + PutRestApiIndexCustomMetadataSchemaGroupNameRequest + > = z.object({ + groupName: z.string(), + customMetadataSchema: components.CustomMetadataSchema$outboundSchema, + }).transform((v) => { + return remap$(v, { + customMetadataSchema: "CustomMetadataSchema", + }); + }); + +export function putRestApiIndexCustomMetadataSchemaGroupNameRequestToJSON( + putRestApiIndexCustomMetadataSchemaGroupNameRequest: + PutRestApiIndexCustomMetadataSchemaGroupNameRequest, +): string { + return JSON.stringify( + PutRestApiIndexCustomMetadataSchemaGroupNameRequest$outboundSchema.parse( + putRestApiIndexCustomMetadataSchemaGroupNameRequest, + ), + ); +} diff --git a/src/models/operations/putrestapiindexdocumentdocidcustommetadatagroupname.ts b/src/models/operations/putrestapiindexdocumentdocidcustommetadatagroupname.ts new file mode 100644 index 00000000..0580f9fb --- /dev/null +++ b/src/models/operations/putrestapiindexdocumentdocidcustommetadatagroupname.ts @@ -0,0 +1,59 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 62f7c1070208 + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; + +export const PutRestApiIndexDocumentDocIdCustomMetadataGroupNameServerList = [ + "https://{instance}-be.glean.com", +] as const; + +export type PutRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest = { + /** + * Unique Glean identifier of the document + */ + docId: string; + /** + * Name of the metadata group as specified while adding schema + */ + groupName: string; + customMetadataPutRequest: components.CustomMetadataPutRequest; +}; + +/** @internal */ +export type PutRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest$Outbound = + { + docId: string; + groupName: string; + CustomMetadataPutRequest: components.CustomMetadataPutRequest$Outbound; + }; + +/** @internal */ +export const PutRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest$outboundSchema: + z.ZodType< + PutRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest$Outbound, + z.ZodTypeDef, + PutRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest + > = z.object({ + docId: z.string(), + groupName: z.string(), + customMetadataPutRequest: + components.CustomMetadataPutRequest$outboundSchema, + }).transform((v) => { + return remap$(v, { + customMetadataPutRequest: "CustomMetadataPutRequest", + }); + }); + +export function putRestApiIndexDocumentDocIdCustomMetadataGroupNameRequestToJSON( + putRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest: + PutRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest, +): string { + return JSON.stringify( + PutRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest$outboundSchema + .parse(putRestApiIndexDocumentDocIdCustomMetadataGroupNameRequest), + ); +} diff --git a/src/models/operations/rotatedatasourcecredentials.ts b/src/models/operations/rotatedatasourcecredentials.ts new file mode 100644 index 00000000..18ec8d7e --- /dev/null +++ b/src/models/operations/rotatedatasourcecredentials.ts @@ -0,0 +1,49 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: d185d699125a + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../../lib/primitives.js"; +import * as components from "../components/index.js"; + +export type RotateDatasourceCredentialsRequest = { + /** + * The full datasource instance identifier (e.g. o365sharepoint_abc123) + */ + datasourceInstanceId: string; + rotateDatasourceCredentialsRequest: + components.RotateDatasourceCredentialsRequest; +}; + +/** @internal */ +export type RotateDatasourceCredentialsRequest$Outbound = { + datasourceInstanceId: string; + RotateDatasourceCredentialsRequest: + components.RotateDatasourceCredentialsRequest$Outbound; +}; + +/** @internal */ +export const RotateDatasourceCredentialsRequest$outboundSchema: z.ZodType< + RotateDatasourceCredentialsRequest$Outbound, + z.ZodTypeDef, + RotateDatasourceCredentialsRequest +> = z.object({ + datasourceInstanceId: z.string(), + rotateDatasourceCredentialsRequest: + components.RotateDatasourceCredentialsRequest$outboundSchema, +}).transform((v) => { + return remap$(v, { + rotateDatasourceCredentialsRequest: "RotateDatasourceCredentialsRequest", + }); +}); + +export function rotateDatasourceCredentialsRequestToJSON( + rotateDatasourceCredentialsRequest: RotateDatasourceCredentialsRequest, +): string { + return JSON.stringify( + RotateDatasourceCredentialsRequest$outboundSchema.parse( + rotateDatasourceCredentialsRequest, + ), + ); +} diff --git a/src/react-query/agentsEditAgent.ts b/src/react-query/agentsEditAgent.ts new file mode 100644 index 00000000..8bbcc46d --- /dev/null +++ b/src/react-query/agentsEditAgent.ts @@ -0,0 +1,120 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 3b25e9fb1e70 + */ + +import { + MutationKey, + useMutation, + UseMutationResult, +} from "@tanstack/react-query"; +import { GleanCore } from "../core.js"; +import { agentsEditAgent } from "../funcs/agentsEditAgent.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 AgentsEditAgentMutationVariables = { + editWorkflowRequest: components.EditWorkflowRequest; + agentId: string; + locale?: string | undefined; + timezoneOffset?: number | undefined; + options?: RequestOptions; +}; + +export type AgentsEditAgentMutationData = void; + +export type AgentsEditAgentMutationError = + | errors.ErrorResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError; + +/** + * 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. + */ +export function useAgentsEditAgentMutation( + options?: MutationHookOptions< + AgentsEditAgentMutationData, + AgentsEditAgentMutationError, + AgentsEditAgentMutationVariables + >, +): UseMutationResult< + AgentsEditAgentMutationData, + AgentsEditAgentMutationError, + AgentsEditAgentMutationVariables +> { + const client = useGleanContext(); + return useMutation({ + ...buildAgentsEditAgentMutation(client, options), + ...options, + }); +} + +export function mutationKeyAgentsEditAgent(): MutationKey { + return ["@gleanwork/api-client", "Agents", "editAgent"]; +} + +export function buildAgentsEditAgentMutation( + client$: GleanCore, + hookOptions?: RequestOptions, +): { + mutationKey: MutationKey; + mutationFn: ( + variables: AgentsEditAgentMutationVariables, + ) => Promise; +} { + return { + mutationKey: mutationKeyAgentsEditAgent(), + mutationFn: function agentsEditAgentMutationFn({ + editWorkflowRequest, + agentId, + locale, + timezoneOffset, + options, + }): Promise { + const mergedOptions = { + ...hookOptions, + ...options, + fetchOptions: { + ...hookOptions?.fetchOptions, + ...options?.fetchOptions, + signal: combineSignals( + hookOptions?.fetchOptions?.signal, + options?.fetchOptions?.signal, + ), + }, + }; + return unwrapAsync(agentsEditAgent( + client$, + editWorkflowRequest, + agentId, + locale, + timezoneOffset, + mergedOptions, + )); + }, + }; +} diff --git a/src/react-query/chatGetChatFile.core.ts b/src/react-query/chatGetChatFile.core.ts new file mode 100644 index 00000000..ee79cc90 --- /dev/null +++ b/src/react-query/chatGetChatFile.core.ts @@ -0,0 +1,75 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 4f2f16467589 + */ + +import { + QueryClient, + QueryFunctionContext, + QueryKey, +} from "@tanstack/react-query"; +import { GleanCore } from "../core.js"; +import { chatGetChatFile } from "../funcs/chatGetChatFile.js"; +import { combineSignals } from "../lib/primitives.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { unwrapAsync } from "../types/fp.js"; +export type ChatGetChatFileQueryData = ReadableStream; + +export function prefetchChatGetChatFile( + queryClient: QueryClient, + client$: GleanCore, + fileId: string, + preview?: boolean | undefined, + options?: RequestOptions, +): Promise { + return queryClient.prefetchQuery({ + ...buildChatGetChatFileQuery( + client$, + fileId, + preview, + options, + ), + }); +} + +export function buildChatGetChatFileQuery( + client$: GleanCore, + fileId: string, + preview?: boolean | undefined, + options?: RequestOptions, +): { + queryKey: QueryKey; + queryFn: (context: QueryFunctionContext) => Promise; +} { + return { + queryKey: queryKeyChatGetChatFile(fileId, { preview }), + queryFn: async function chatGetChatFileQueryFn( + ctx, + ): Promise { + const sig = combineSignals( + ctx.signal, + options?.signal, + options?.fetchOptions?.signal, + ); + const mergedOptions = { + ...options?.fetchOptions, + ...options, + signal: sig, + }; + + return unwrapAsync(chatGetChatFile( + client$, + fileId, + preview, + mergedOptions, + )); + }, + }; +} + +export function queryKeyChatGetChatFile( + fileId: string, + parameters: { preview?: boolean | undefined }, +): QueryKey { + return ["@gleanwork/api-client", "Chat", "getChatFile", fileId, parameters]; +} diff --git a/src/react-query/chatGetChatFile.ts b/src/react-query/chatGetChatFile.ts new file mode 100644 index 00000000..67e3f8fb --- /dev/null +++ b/src/react-query/chatGetChatFile.ts @@ -0,0 +1,136 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 0b11cd5244ab + */ + +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 { 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 { + buildChatGetChatFileQuery, + ChatGetChatFileQueryData, + prefetchChatGetChatFile, + queryKeyChatGetChatFile, +} from "./chatGetChatFile.core.js"; +export { + buildChatGetChatFileQuery, + type ChatGetChatFileQueryData, + prefetchChatGetChatFile, + queryKeyChatGetChatFile, +}; + +export type ChatGetChatFileQueryError = + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError; + +/** + * 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. + */ +export function useChatGetChatFile( + fileId: string, + preview?: boolean | undefined, + options?: QueryHookOptions< + ChatGetChatFileQueryData, + ChatGetChatFileQueryError + >, +): UseQueryResult { + const client = useGleanContext(); + return useQuery({ + ...buildChatGetChatFileQuery( + client, + fileId, + preview, + options, + ), + ...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. + */ +export function useChatGetChatFileSuspense( + fileId: string, + preview?: boolean | undefined, + options?: SuspenseQueryHookOptions< + ChatGetChatFileQueryData, + ChatGetChatFileQueryError + >, +): UseSuspenseQueryResult { + const client = useGleanContext(); + return useSuspenseQuery({ + ...buildChatGetChatFileQuery( + client, + fileId, + preview, + options, + ), + ...options, + }); +} + +export function setChatGetChatFileData( + client: QueryClient, + queryKeyBase: [fileId: string, parameters: { preview?: boolean | undefined }], + data: ChatGetChatFileQueryData, +): ChatGetChatFileQueryData | undefined { + const key = queryKeyChatGetChatFile(...queryKeyBase); + + return client.setQueryData(key, data); +} + +export function invalidateChatGetChatFile( + client: QueryClient, + queryKeyBase: TupleToPrefixes< + [fileId: string, parameters: { preview?: boolean | undefined }] + >, + filters?: Omit, +): Promise { + return client.invalidateQueries({ + ...filters, + queryKey: ["@gleanwork/api-client", "Chat", "getChatFile", ...queryKeyBase], + }); +} + +export function invalidateAllChatGetChatFile( + client: QueryClient, + filters?: Omit, +): Promise { + return client.invalidateQueries({ + ...filters, + queryKey: ["@gleanwork/api-client", "Chat", "getChatFile"], + }); +} diff --git a/src/react-query/datasourcesGetDatasourceCredentialStatus.core.ts b/src/react-query/datasourcesGetDatasourceCredentialStatus.core.ts new file mode 100644 index 00000000..5cf8820b --- /dev/null +++ b/src/react-query/datasourcesGetDatasourceCredentialStatus.core.ts @@ -0,0 +1,81 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 8b0b17f93827 + */ + +import { + QueryClient, + QueryFunctionContext, + QueryKey, +} from "@tanstack/react-query"; +import { GleanCore } from "../core.js"; +import { datasourcesGetDatasourceCredentialStatus } from "../funcs/datasourcesGetDatasourceCredentialStatus.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 = + components.DatasourceCredentialStatusResponse; + +export function prefetchDatasourcesGetDatasourceCredentialStatus( + queryClient: QueryClient, + client$: GleanCore, + datasourceInstanceId: string, + options?: RequestOptions, +): Promise { + return queryClient.prefetchQuery({ + ...buildDatasourcesGetDatasourceCredentialStatusQuery( + client$, + datasourceInstanceId, + options, + ), + }); +} + +export function buildDatasourcesGetDatasourceCredentialStatusQuery( + client$: GleanCore, + datasourceInstanceId: string, + options?: RequestOptions, +): { + queryKey: QueryKey; + queryFn: ( + context: QueryFunctionContext, + ) => Promise; +} { + return { + queryKey: queryKeyDatasourcesGetDatasourceCredentialStatus( + datasourceInstanceId, + ), + queryFn: async function datasourcesGetDatasourceCredentialStatusQueryFn( + ctx, + ): Promise { + const sig = combineSignals( + ctx.signal, + options?.signal, + options?.fetchOptions?.signal, + ); + const mergedOptions = { + ...options?.fetchOptions, + ...options, + signal: sig, + }; + + return unwrapAsync(datasourcesGetDatasourceCredentialStatus( + client$, + datasourceInstanceId, + mergedOptions, + )); + }, + }; +} + +export function queryKeyDatasourcesGetDatasourceCredentialStatus( + datasourceInstanceId: string, +): QueryKey { + return [ + "@gleanwork/api-client", + "Datasources", + "getDatasourceCredentialStatus", + datasourceInstanceId, + ]; +} diff --git a/src/react-query/datasourcesGetDatasourceCredentialStatus.ts b/src/react-query/datasourcesGetDatasourceCredentialStatus.ts new file mode 100644 index 00000000..d3733f9f --- /dev/null +++ b/src/react-query/datasourcesGetDatasourceCredentialStatus.ts @@ -0,0 +1,150 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 389e75cf9af7 + */ + +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 { + buildDatasourcesGetDatasourceCredentialStatusQuery, + DatasourcesGetDatasourceCredentialStatusQueryData, + prefetchDatasourcesGetDatasourceCredentialStatus, + queryKeyDatasourcesGetDatasourceCredentialStatus, +} from "./datasourcesGetDatasourceCredentialStatus.core.js"; +export { + buildDatasourcesGetDatasourceCredentialStatusQuery, + type DatasourcesGetDatasourceCredentialStatusQueryData, + prefetchDatasourcesGetDatasourceCredentialStatus, + queryKeyDatasourcesGetDatasourceCredentialStatus, +}; + +export type DatasourcesGetDatasourceCredentialStatusQueryError = + | errors.ErrorResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError; + +/** + * Get datasource instance credential status + * + * @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( + datasourceInstanceId: string, + options?: QueryHookOptions< + DatasourcesGetDatasourceCredentialStatusQueryData, + DatasourcesGetDatasourceCredentialStatusQueryError + >, +): UseQueryResult< + DatasourcesGetDatasourceCredentialStatusQueryData, + DatasourcesGetDatasourceCredentialStatusQueryError +> { + const client = useGleanContext(); + return useQuery({ + ...buildDatasourcesGetDatasourceCredentialStatusQuery( + client, + datasourceInstanceId, + options, + ), + ...options, + }); +} + +/** + * Get datasource instance credential status + * + * @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( + datasourceInstanceId: string, + options?: SuspenseQueryHookOptions< + DatasourcesGetDatasourceCredentialStatusQueryData, + DatasourcesGetDatasourceCredentialStatusQueryError + >, +): UseSuspenseQueryResult< + DatasourcesGetDatasourceCredentialStatusQueryData, + DatasourcesGetDatasourceCredentialStatusQueryError +> { + const client = useGleanContext(); + return useSuspenseQuery({ + ...buildDatasourcesGetDatasourceCredentialStatusQuery( + client, + datasourceInstanceId, + options, + ), + ...options, + }); +} + +export function setDatasourcesGetDatasourceCredentialStatusData( + client: QueryClient, + queryKeyBase: [datasourceInstanceId: string], + data: DatasourcesGetDatasourceCredentialStatusQueryData, +): DatasourcesGetDatasourceCredentialStatusQueryData | undefined { + const key = queryKeyDatasourcesGetDatasourceCredentialStatus(...queryKeyBase); + + return client.setQueryData( + key, + data, + ); +} + +export function invalidateDatasourcesGetDatasourceCredentialStatus( + client: QueryClient, + queryKeyBase: TupleToPrefixes<[datasourceInstanceId: string]>, + filters?: Omit, +): Promise { + return client.invalidateQueries({ + ...filters, + queryKey: [ + "@gleanwork/api-client", + "Datasources", + "getDatasourceCredentialStatus", + ...queryKeyBase, + ], + }); +} + +export function invalidateAllDatasourcesGetDatasourceCredentialStatus( + client: QueryClient, + filters?: Omit, +): Promise { + return client.invalidateQueries({ + ...filters, + queryKey: [ + "@gleanwork/api-client", + "Datasources", + "getDatasourceCredentialStatus", + ], + }); +} diff --git a/src/react-query/datasourcesRotateDatasourceCredentials.ts b/src/react-query/datasourcesRotateDatasourceCredentials.ts new file mode 100644 index 00000000..477bb4e0 --- /dev/null +++ b/src/react-query/datasourcesRotateDatasourceCredentials.ts @@ -0,0 +1,121 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: c212153c2287 + */ + +import { + MutationKey, + useMutation, + UseMutationResult, +} from "@tanstack/react-query"; +import { GleanCore } from "../core.js"; +import { datasourcesRotateDatasourceCredentials } from "../funcs/datasourcesRotateDatasourceCredentials.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 DatasourcesRotateDatasourceCredentialsMutationVariables = { + rotateDatasourceCredentialsRequest: + components.RotateDatasourceCredentialsRequest; + datasourceInstanceId: string; + options?: RequestOptions; +}; + +export type DatasourcesRotateDatasourceCredentialsMutationData = + components.DatasourceCredentialStatusResponse; + +export type DatasourcesRotateDatasourceCredentialsMutationError = + | errors.ErrorResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError; + +/** + * Rotate datasource instance credentials + * + * @remarks + * 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( + options?: MutationHookOptions< + DatasourcesRotateDatasourceCredentialsMutationData, + DatasourcesRotateDatasourceCredentialsMutationError, + DatasourcesRotateDatasourceCredentialsMutationVariables + >, +): UseMutationResult< + DatasourcesRotateDatasourceCredentialsMutationData, + DatasourcesRotateDatasourceCredentialsMutationError, + DatasourcesRotateDatasourceCredentialsMutationVariables +> { + const client = useGleanContext(); + return useMutation({ + ...buildDatasourcesRotateDatasourceCredentialsMutation(client, options), + ...options, + }); +} + +export function mutationKeyDatasourcesRotateDatasourceCredentials(): MutationKey { + return [ + "@gleanwork/api-client", + "Datasources", + "rotateDatasourceCredentials", + ]; +} + +export function buildDatasourcesRotateDatasourceCredentialsMutation( + client$: GleanCore, + hookOptions?: RequestOptions, +): { + mutationKey: MutationKey; + mutationFn: ( + variables: DatasourcesRotateDatasourceCredentialsMutationVariables, + ) => Promise; +} { + return { + mutationKey: mutationKeyDatasourcesRotateDatasourceCredentials(), + mutationFn: function datasourcesRotateDatasourceCredentialsMutationFn({ + rotateDatasourceCredentialsRequest, + datasourceInstanceId, + options, + }): Promise { + const mergedOptions = { + ...hookOptions, + ...options, + fetchOptions: { + ...hookOptions?.fetchOptions, + ...options?.fetchOptions, + signal: combineSignals( + hookOptions?.fetchOptions?.signal, + options?.fetchOptions?.signal, + ), + }, + }; + return unwrapAsync(datasourcesRotateDatasourceCredentials( + client$, + rotateDatasourceCredentialsRequest, + datasourceInstanceId, + mergedOptions, + )); + }, + }; +} diff --git a/src/react-query/entitiesGetPersonPhoto.core.ts b/src/react-query/entitiesGetPersonPhoto.core.ts new file mode 100644 index 00000000..ee3cdd60 --- /dev/null +++ b/src/react-query/entitiesGetPersonPhoto.core.ts @@ -0,0 +1,91 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: f33ca2d2477f + */ + +import { + QueryClient, + QueryFunctionContext, + QueryKey, +} from "@tanstack/react-query"; +import { GleanCore } from "../core.js"; +import { + entitiesGetPersonPhoto, + GetPersonPhotoAcceptEnum, +} from "../funcs/entitiesGetPersonPhoto.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 function prefetchEntitiesGetPersonPhoto( + queryClient: QueryClient, + client$: GleanCore, + personId: string, + ds?: string | undefined, + options?: RequestOptions & { + acceptHeaderOverride?: GetPersonPhotoAcceptEnum; + }, +): Promise { + return queryClient.prefetchQuery({ + ...buildEntitiesGetPersonPhotoQuery( + client$, + personId, + ds, + options, + ), + }); +} + +export function buildEntitiesGetPersonPhotoQuery( + client$: GleanCore, + personId: string, + ds?: string | undefined, + options?: RequestOptions & { + acceptHeaderOverride?: GetPersonPhotoAcceptEnum; + }, +): { + queryKey: QueryKey; + queryFn: ( + context: QueryFunctionContext, + ) => Promise; +} { + return { + queryKey: queryKeyEntitiesGetPersonPhoto(personId, { ds }), + queryFn: async function entitiesGetPersonPhotoQueryFn( + ctx, + ): Promise { + const sig = combineSignals( + ctx.signal, + options?.signal, + options?.fetchOptions?.signal, + ); + const mergedOptions = { + ...options?.fetchOptions, + ...options, + signal: sig, + }; + + return unwrapAsync(entitiesGetPersonPhoto( + client$, + personId, + ds, + mergedOptions, + )); + }, + }; +} + +export function queryKeyEntitiesGetPersonPhoto( + personId: string, + parameters: { ds?: string | undefined }, +): QueryKey { + return [ + "@gleanwork/api-client", + "Entities", + "getPersonPhoto", + personId, + parameters, + ]; +} diff --git a/src/react-query/entitiesGetPersonPhoto.ts b/src/react-query/entitiesGetPersonPhoto.ts new file mode 100644 index 00000000..0b3b1d73 --- /dev/null +++ b/src/react-query/entitiesGetPersonPhoto.ts @@ -0,0 +1,149 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 2b2ae1b6770a + */ + +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 { 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 { + buildEntitiesGetPersonPhotoQuery, + EntitiesGetPersonPhotoQueryData, + prefetchEntitiesGetPersonPhoto, + queryKeyEntitiesGetPersonPhoto, +} from "./entitiesGetPersonPhoto.core.js"; +export { + buildEntitiesGetPersonPhotoQuery, + type EntitiesGetPersonPhotoQueryData, + prefetchEntitiesGetPersonPhoto, + queryKeyEntitiesGetPersonPhoto, +}; + +export type EntitiesGetPersonPhotoQueryError = + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError; + +export { GetPersonPhotoAcceptEnum } from "../funcs/entitiesGetPersonPhoto.js"; + +/** + * 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. + */ +export function useEntitiesGetPersonPhoto( + personId: string, + ds?: string | undefined, + options?: QueryHookOptions< + EntitiesGetPersonPhotoQueryData, + EntitiesGetPersonPhotoQueryError + >, +): UseQueryResult< + EntitiesGetPersonPhotoQueryData, + EntitiesGetPersonPhotoQueryError +> { + const client = useGleanContext(); + return useQuery({ + ...buildEntitiesGetPersonPhotoQuery( + client, + personId, + ds, + options, + ), + ...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. + */ +export function useEntitiesGetPersonPhotoSuspense( + personId: string, + ds?: string | undefined, + options?: SuspenseQueryHookOptions< + EntitiesGetPersonPhotoQueryData, + EntitiesGetPersonPhotoQueryError + >, +): UseSuspenseQueryResult< + EntitiesGetPersonPhotoQueryData, + EntitiesGetPersonPhotoQueryError +> { + const client = useGleanContext(); + return useSuspenseQuery({ + ...buildEntitiesGetPersonPhotoQuery( + client, + personId, + ds, + options, + ), + ...options, + }); +} + +export function setEntitiesGetPersonPhotoData( + client: QueryClient, + queryKeyBase: [personId: string, parameters: { ds?: string | undefined }], + data: EntitiesGetPersonPhotoQueryData, +): EntitiesGetPersonPhotoQueryData | undefined { + const key = queryKeyEntitiesGetPersonPhoto(...queryKeyBase); + + return client.setQueryData(key, data); +} + +export function invalidateEntitiesGetPersonPhoto( + client: QueryClient, + queryKeyBase: TupleToPrefixes< + [personId: string, parameters: { ds?: string | undefined }] + >, + filters?: Omit, +): Promise { + return client.invalidateQueries({ + ...filters, + queryKey: [ + "@gleanwork/api-client", + "Entities", + "getPersonPhoto", + ...queryKeyBase, + ], + }); +} + +export function invalidateAllEntitiesGetPersonPhoto( + client: QueryClient, + filters?: Omit, +): Promise { + return client.invalidateQueries({ + ...filters, + queryKey: ["@gleanwork/api-client", "Entities", "getPersonPhoto"], + }); +} diff --git a/src/react-query/index.ts b/src/react-query/index.ts index 18169d49..a72f35ae 100644 --- a/src/react-query/index.ts +++ b/src/react-query/index.ts @@ -6,7 +6,9 @@ export { GleanProvider, useGleanContext } from "./_context.js"; export * from "./_types.js"; +export * from "./agentsEditAgent.js"; export * from "./authenticationCheckdatasourceauth.js"; +export * from "./chatGetChatFile.js"; export * from "./clientActivityFeedback.js"; export * from "./clientActivityReport.js"; export * from "./clientAgentsList.js"; @@ -79,13 +81,21 @@ 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"; +export * from "./indexingCustomMetadataGetSchema.js"; +export * from "./indexingCustomMetadataUpsert.js"; +export * from "./indexingCustomMetadataUpsertSchema.js"; export * from "./indexingDatasourcesAdd.js"; export * from "./indexingDatasourcesRetrieveConfig.js"; export * from "./indexingDatasourceStatus.js"; @@ -122,3 +132,6 @@ 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"; diff --git a/src/react-query/indexingCustomMetadataDelete.ts b/src/react-query/indexingCustomMetadataDelete.ts new file mode 100644 index 00000000..ccc5a759 --- /dev/null +++ b/src/react-query/indexingCustomMetadataDelete.ts @@ -0,0 +1,115 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 4648118bbddb + */ + +import { + MutationKey, + useMutation, + UseMutationResult, +} from "@tanstack/react-query"; +import { GleanCore } from "../core.js"; +import { indexingCustomMetadataDelete } from "../funcs/indexingCustomMetadataDelete.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 IndexingCustomMetadataDeleteMutationVariables = { + docId: string; + groupName: string; + options?: RequestOptions; +}; + +export type IndexingCustomMetadataDeleteMutationData = + components.SuccessResponse; + +export type IndexingCustomMetadataDeleteMutationError = + | errors.ErrorInfoResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError; + +/** + * Remove custom metadata + * + * @remarks + * Removes all custom metadata for the specified metadata group from a document. + */ +export function useIndexingCustomMetadataDeleteMutation( + options?: MutationHookOptions< + IndexingCustomMetadataDeleteMutationData, + IndexingCustomMetadataDeleteMutationError, + IndexingCustomMetadataDeleteMutationVariables + >, +): UseMutationResult< + IndexingCustomMetadataDeleteMutationData, + IndexingCustomMetadataDeleteMutationError, + IndexingCustomMetadataDeleteMutationVariables +> { + const client = useGleanContext(); + return useMutation({ + ...buildIndexingCustomMetadataDeleteMutation(client, options), + ...options, + }); +} + +export function mutationKeyIndexingCustomMetadataDelete(): MutationKey { + return ["@gleanwork/api-client", "customMetadata", "delete"]; +} + +export function buildIndexingCustomMetadataDeleteMutation( + client$: GleanCore, + hookOptions?: RequestOptions, +): { + mutationKey: MutationKey; + mutationFn: ( + variables: IndexingCustomMetadataDeleteMutationVariables, + ) => Promise; +} { + return { + mutationKey: mutationKeyIndexingCustomMetadataDelete(), + mutationFn: function indexingCustomMetadataDeleteMutationFn({ + docId, + groupName, + options, + }): Promise { + const mergedOptions = { + ...hookOptions, + ...options, + fetchOptions: { + ...hookOptions?.fetchOptions, + ...options?.fetchOptions, + signal: combineSignals( + hookOptions?.fetchOptions?.signal, + options?.fetchOptions?.signal, + ), + }, + }; + return unwrapAsync(indexingCustomMetadataDelete( + client$, + docId, + groupName, + mergedOptions, + )); + }, + }; +} diff --git a/src/react-query/indexingCustomMetadataDeleteSchema.ts b/src/react-query/indexingCustomMetadataDeleteSchema.ts new file mode 100644 index 00000000..a8a99d3c --- /dev/null +++ b/src/react-query/indexingCustomMetadataDeleteSchema.ts @@ -0,0 +1,112 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 39f51599c8ca + */ + +import { + MutationKey, + useMutation, + UseMutationResult, +} from "@tanstack/react-query"; +import { GleanCore } from "../core.js"; +import { indexingCustomMetadataDeleteSchema } from "../funcs/indexingCustomMetadataDeleteSchema.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 IndexingCustomMetadataDeleteSchemaMutationVariables = { + groupName: string; + options?: RequestOptions; +}; + +export type IndexingCustomMetadataDeleteSchemaMutationData = + components.SuccessResponse; + +export type IndexingCustomMetadataDeleteSchemaMutationError = + | errors.ErrorInfoResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError; + +/** + * Remove metadata schema + * + * @remarks + * Deletes the schema definition for a metadata group. This does not delete existing metadata values on documents. + */ +export function useIndexingCustomMetadataDeleteSchemaMutation( + options?: MutationHookOptions< + IndexingCustomMetadataDeleteSchemaMutationData, + IndexingCustomMetadataDeleteSchemaMutationError, + IndexingCustomMetadataDeleteSchemaMutationVariables + >, +): UseMutationResult< + IndexingCustomMetadataDeleteSchemaMutationData, + IndexingCustomMetadataDeleteSchemaMutationError, + IndexingCustomMetadataDeleteSchemaMutationVariables +> { + const client = useGleanContext(); + return useMutation({ + ...buildIndexingCustomMetadataDeleteSchemaMutation(client, options), + ...options, + }); +} + +export function mutationKeyIndexingCustomMetadataDeleteSchema(): MutationKey { + return ["@gleanwork/api-client", "customMetadata", "deleteSchema"]; +} + +export function buildIndexingCustomMetadataDeleteSchemaMutation( + client$: GleanCore, + hookOptions?: RequestOptions, +): { + mutationKey: MutationKey; + mutationFn: ( + variables: IndexingCustomMetadataDeleteSchemaMutationVariables, + ) => Promise; +} { + return { + mutationKey: mutationKeyIndexingCustomMetadataDeleteSchema(), + mutationFn: function indexingCustomMetadataDeleteSchemaMutationFn({ + groupName, + options, + }): Promise { + const mergedOptions = { + ...hookOptions, + ...options, + fetchOptions: { + ...hookOptions?.fetchOptions, + ...options?.fetchOptions, + signal: combineSignals( + hookOptions?.fetchOptions?.signal, + options?.fetchOptions?.signal, + ), + }, + }; + return unwrapAsync(indexingCustomMetadataDeleteSchema( + client$, + groupName, + mergedOptions, + )); + }, + }; +} diff --git a/src/react-query/indexingCustomMetadataGetSchema.core.ts b/src/react-query/indexingCustomMetadataGetSchema.core.ts new file mode 100644 index 00000000..55e9f9b5 --- /dev/null +++ b/src/react-query/indexingCustomMetadataGetSchema.core.ts @@ -0,0 +1,74 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 0439e4a3ccbc + */ + +import { + QueryClient, + QueryFunctionContext, + QueryKey, +} from "@tanstack/react-query"; +import { GleanCore } from "../core.js"; +import { indexingCustomMetadataGetSchema } from "../funcs/indexingCustomMetadataGetSchema.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 IndexingCustomMetadataGetSchemaQueryData = + components.CustomMetadataSchema; + +export function prefetchIndexingCustomMetadataGetSchema( + queryClient: QueryClient, + client$: GleanCore, + groupName: string, + options?: RequestOptions, +): Promise { + return queryClient.prefetchQuery({ + ...buildIndexingCustomMetadataGetSchemaQuery( + client$, + groupName, + options, + ), + }); +} + +export function buildIndexingCustomMetadataGetSchemaQuery( + client$: GleanCore, + groupName: string, + options?: RequestOptions, +): { + queryKey: QueryKey; + queryFn: ( + context: QueryFunctionContext, + ) => Promise; +} { + return { + queryKey: queryKeyIndexingCustomMetadataGetSchema(groupName), + queryFn: async function indexingCustomMetadataGetSchemaQueryFn( + ctx, + ): Promise { + const sig = combineSignals( + ctx.signal, + options?.signal, + options?.fetchOptions?.signal, + ); + const mergedOptions = { + ...options?.fetchOptions, + ...options, + signal: sig, + }; + + return unwrapAsync(indexingCustomMetadataGetSchema( + client$, + groupName, + mergedOptions, + )); + }, + }; +} + +export function queryKeyIndexingCustomMetadataGetSchema( + groupName: string, +): QueryKey { + return ["@gleanwork/api-client", "customMetadata", "getSchema", groupName]; +} diff --git a/src/react-query/indexingCustomMetadataGetSchema.ts b/src/react-query/indexingCustomMetadataGetSchema.ts new file mode 100644 index 00000000..02bbb877 --- /dev/null +++ b/src/react-query/indexingCustomMetadataGetSchema.ts @@ -0,0 +1,146 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: d67f83383602 + */ + +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 { + buildIndexingCustomMetadataGetSchemaQuery, + IndexingCustomMetadataGetSchemaQueryData, + prefetchIndexingCustomMetadataGetSchema, + queryKeyIndexingCustomMetadataGetSchema, +} from "./indexingCustomMetadataGetSchema.core.js"; +export { + buildIndexingCustomMetadataGetSchemaQuery, + type IndexingCustomMetadataGetSchemaQueryData, + prefetchIndexingCustomMetadataGetSchema, + queryKeyIndexingCustomMetadataGetSchema, +}; + +export type IndexingCustomMetadataGetSchemaQueryError = + | errors.ErrorInfoResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError; + +/** + * Retrieve metadata schema + * + * @remarks + * Retrieves the current schema definition for a metadata group. + */ +export function useIndexingCustomMetadataGetSchema( + groupName: string, + options?: QueryHookOptions< + IndexingCustomMetadataGetSchemaQueryData, + IndexingCustomMetadataGetSchemaQueryError + >, +): UseQueryResult< + IndexingCustomMetadataGetSchemaQueryData, + IndexingCustomMetadataGetSchemaQueryError +> { + const client = useGleanContext(); + return useQuery({ + ...buildIndexingCustomMetadataGetSchemaQuery( + client, + groupName, + options, + ), + ...options, + }); +} + +/** + * Retrieve metadata schema + * + * @remarks + * Retrieves the current schema definition for a metadata group. + */ +export function useIndexingCustomMetadataGetSchemaSuspense( + groupName: string, + options?: SuspenseQueryHookOptions< + IndexingCustomMetadataGetSchemaQueryData, + IndexingCustomMetadataGetSchemaQueryError + >, +): UseSuspenseQueryResult< + IndexingCustomMetadataGetSchemaQueryData, + IndexingCustomMetadataGetSchemaQueryError +> { + const client = useGleanContext(); + return useSuspenseQuery({ + ...buildIndexingCustomMetadataGetSchemaQuery( + client, + groupName, + options, + ), + ...options, + }); +} + +export function setIndexingCustomMetadataGetSchemaData( + client: QueryClient, + queryKeyBase: [groupName: string], + data: IndexingCustomMetadataGetSchemaQueryData, +): IndexingCustomMetadataGetSchemaQueryData | undefined { + const key = queryKeyIndexingCustomMetadataGetSchema(...queryKeyBase); + + return client.setQueryData( + key, + data, + ); +} + +export function invalidateIndexingCustomMetadataGetSchema( + client: QueryClient, + queryKeyBase: TupleToPrefixes<[groupName: string]>, + filters?: Omit, +): Promise { + return client.invalidateQueries({ + ...filters, + queryKey: [ + "@gleanwork/api-client", + "customMetadata", + "getSchema", + ...queryKeyBase, + ], + }); +} + +export function invalidateAllIndexingCustomMetadataGetSchema( + client: QueryClient, + filters?: Omit, +): Promise { + return client.invalidateQueries({ + ...filters, + queryKey: ["@gleanwork/api-client", "customMetadata", "getSchema"], + }); +} diff --git a/src/react-query/indexingCustomMetadataUpsert.ts b/src/react-query/indexingCustomMetadataUpsert.ts new file mode 100644 index 00000000..03ea27f2 --- /dev/null +++ b/src/react-query/indexingCustomMetadataUpsert.ts @@ -0,0 +1,118 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 90aa98ec6356 + */ + +import { + MutationKey, + useMutation, + UseMutationResult, +} from "@tanstack/react-query"; +import { GleanCore } from "../core.js"; +import { indexingCustomMetadataUpsert } from "../funcs/indexingCustomMetadataUpsert.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 IndexingCustomMetadataUpsertMutationVariables = { + customMetadataPutRequest: components.CustomMetadataPutRequest; + docId: string; + groupName: string; + options?: RequestOptions; +}; + +export type IndexingCustomMetadataUpsertMutationData = + components.SuccessResponse; + +export type IndexingCustomMetadataUpsertMutationError = + | errors.ErrorInfoResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError; + +/** + * Add or update custom metadata + * + * @remarks + * Associates custom metadata with a specific document. Custom metadata enables you to enrich documents with additional structured information that can be used for search, filtering, and faceting. + */ +export function useIndexingCustomMetadataUpsertMutation( + options?: MutationHookOptions< + IndexingCustomMetadataUpsertMutationData, + IndexingCustomMetadataUpsertMutationError, + IndexingCustomMetadataUpsertMutationVariables + >, +): UseMutationResult< + IndexingCustomMetadataUpsertMutationData, + IndexingCustomMetadataUpsertMutationError, + IndexingCustomMetadataUpsertMutationVariables +> { + const client = useGleanContext(); + return useMutation({ + ...buildIndexingCustomMetadataUpsertMutation(client, options), + ...options, + }); +} + +export function mutationKeyIndexingCustomMetadataUpsert(): MutationKey { + return ["@gleanwork/api-client", "customMetadata", "upsert"]; +} + +export function buildIndexingCustomMetadataUpsertMutation( + client$: GleanCore, + hookOptions?: RequestOptions, +): { + mutationKey: MutationKey; + mutationFn: ( + variables: IndexingCustomMetadataUpsertMutationVariables, + ) => Promise; +} { + return { + mutationKey: mutationKeyIndexingCustomMetadataUpsert(), + mutationFn: function indexingCustomMetadataUpsertMutationFn({ + customMetadataPutRequest, + docId, + groupName, + options, + }): Promise { + const mergedOptions = { + ...hookOptions, + ...options, + fetchOptions: { + ...hookOptions?.fetchOptions, + ...options?.fetchOptions, + signal: combineSignals( + hookOptions?.fetchOptions?.signal, + options?.fetchOptions?.signal, + ), + }, + }; + return unwrapAsync(indexingCustomMetadataUpsert( + client$, + customMetadataPutRequest, + docId, + groupName, + mergedOptions, + )); + }, + }; +} diff --git a/src/react-query/indexingCustomMetadataUpsertSchema.ts b/src/react-query/indexingCustomMetadataUpsertSchema.ts new file mode 100644 index 00000000..5dfc08e7 --- /dev/null +++ b/src/react-query/indexingCustomMetadataUpsertSchema.ts @@ -0,0 +1,115 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 0ab738ff304b + */ + +import { + MutationKey, + useMutation, + UseMutationResult, +} from "@tanstack/react-query"; +import { GleanCore } from "../core.js"; +import { indexingCustomMetadataUpsertSchema } from "../funcs/indexingCustomMetadataUpsertSchema.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 IndexingCustomMetadataUpsertSchemaMutationVariables = { + customMetadataSchema: components.CustomMetadataSchema; + groupName: string; + options?: RequestOptions; +}; + +export type IndexingCustomMetadataUpsertSchemaMutationData = + components.SuccessResponse; + +export type IndexingCustomMetadataUpsertSchemaMutationError = + | errors.ErrorInfoResponse + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError; + +/** + * Create or update metadata schema + * + * @remarks + * Defines or updates the schema for a metadata group. Schemas should be defined before indexing metadata. + */ +export function useIndexingCustomMetadataUpsertSchemaMutation( + options?: MutationHookOptions< + IndexingCustomMetadataUpsertSchemaMutationData, + IndexingCustomMetadataUpsertSchemaMutationError, + IndexingCustomMetadataUpsertSchemaMutationVariables + >, +): UseMutationResult< + IndexingCustomMetadataUpsertSchemaMutationData, + IndexingCustomMetadataUpsertSchemaMutationError, + IndexingCustomMetadataUpsertSchemaMutationVariables +> { + const client = useGleanContext(); + return useMutation({ + ...buildIndexingCustomMetadataUpsertSchemaMutation(client, options), + ...options, + }); +} + +export function mutationKeyIndexingCustomMetadataUpsertSchema(): MutationKey { + return ["@gleanwork/api-client", "customMetadata", "upsertSchema"]; +} + +export function buildIndexingCustomMetadataUpsertSchemaMutation( + client$: GleanCore, + hookOptions?: RequestOptions, +): { + mutationKey: MutationKey; + mutationFn: ( + variables: IndexingCustomMetadataUpsertSchemaMutationVariables, + ) => Promise; +} { + return { + mutationKey: mutationKeyIndexingCustomMetadataUpsertSchema(), + mutationFn: function indexingCustomMetadataUpsertSchemaMutationFn({ + customMetadataSchema, + groupName, + options, + }): Promise { + const mergedOptions = { + ...hookOptions, + ...options, + fetchOptions: { + ...hookOptions?.fetchOptions, + ...options?.fetchOptions, + signal: combineSignals( + hookOptions?.fetchOptions?.signal, + options?.fetchOptions?.signal, + ), + }, + }; + return unwrapAsync(indexingCustomMetadataUpsertSchema( + client$, + customMetadataSchema, + groupName, + mergedOptions, + )); + }, + }; +} diff --git a/src/react-query/toolsAuthorizeActionPack.ts b/src/react-query/toolsAuthorizeActionPack.ts new file mode 100644 index 00000000..74b05cd3 --- /dev/null +++ b/src/react-query/toolsAuthorizeActionPack.ts @@ -0,0 +1,119 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 1e27082b7f84 + */ + +import { + MutationKey, + useMutation, + UseMutationResult, +} from "@tanstack/react-query"; +import { GleanCore } from "../core.js"; +import { toolsAuthorizeActionPack } from "../funcs/toolsAuthorizeActionPack.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 ToolsAuthorizeActionPackMutationVariables = { + authorizeActionPackRequest: components.AuthorizeActionPackRequest; + actionPackId: string; + options?: RequestOptions; +}; + +export type ToolsAuthorizeActionPackMutationData = + components.AuthorizeActionPackResponse; + +export type ToolsAuthorizeActionPackMutationError = + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError; + +/** + * Start the OAuth authorization flow for an action pack. + * + * @remarks + * Starts the third-party OAuth flow for the specified action pack and returns the + * redirect URL that the client should navigate the end user to. After the OAuth + * callback completes, the user's browser is redirected back to `returnUrl` with a + * status query parameter (`?glean_action_auth=success|error&actionPackId=...`). + * + * `returnUrl` must match the tenant's configured return URL allowlist; otherwise the + * request is rejected with 400. + */ +export function useToolsAuthorizeActionPackMutation( + options?: MutationHookOptions< + ToolsAuthorizeActionPackMutationData, + ToolsAuthorizeActionPackMutationError, + ToolsAuthorizeActionPackMutationVariables + >, +): UseMutationResult< + ToolsAuthorizeActionPackMutationData, + ToolsAuthorizeActionPackMutationError, + ToolsAuthorizeActionPackMutationVariables +> { + const client = useGleanContext(); + return useMutation({ + ...buildToolsAuthorizeActionPackMutation(client, options), + ...options, + }); +} + +export function mutationKeyToolsAuthorizeActionPack(): MutationKey { + return ["@gleanwork/api-client", "Tools", "authorizeActionPack"]; +} + +export function buildToolsAuthorizeActionPackMutation( + client$: GleanCore, + hookOptions?: RequestOptions, +): { + mutationKey: MutationKey; + mutationFn: ( + variables: ToolsAuthorizeActionPackMutationVariables, + ) => Promise; +} { + return { + mutationKey: mutationKeyToolsAuthorizeActionPack(), + mutationFn: function toolsAuthorizeActionPackMutationFn({ + authorizeActionPackRequest, + actionPackId, + options, + }): Promise { + const mergedOptions = { + ...hookOptions, + ...options, + fetchOptions: { + ...hookOptions?.fetchOptions, + ...options?.fetchOptions, + signal: combineSignals( + hookOptions?.fetchOptions?.signal, + options?.fetchOptions?.signal, + ), + }, + }; + return unwrapAsync(toolsAuthorizeActionPack( + client$, + authorizeActionPackRequest, + actionPackId, + mergedOptions, + )); + }, + }; +} diff --git a/src/react-query/toolsGetActionPackAuthStatus.core.ts b/src/react-query/toolsGetActionPackAuthStatus.core.ts new file mode 100644 index 00000000..7776dda0 --- /dev/null +++ b/src/react-query/toolsGetActionPackAuthStatus.core.ts @@ -0,0 +1,79 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: f4208601672a + */ + +import { + QueryClient, + QueryFunctionContext, + QueryKey, +} from "@tanstack/react-query"; +import { GleanCore } from "../core.js"; +import { toolsGetActionPackAuthStatus } from "../funcs/toolsGetActionPackAuthStatus.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 = + components.ActionPackAuthStatusResponse; + +export function prefetchToolsGetActionPackAuthStatus( + queryClient: QueryClient, + client$: GleanCore, + actionPackId: string, + options?: RequestOptions, +): Promise { + return queryClient.prefetchQuery({ + ...buildToolsGetActionPackAuthStatusQuery( + client$, + actionPackId, + options, + ), + }); +} + +export function buildToolsGetActionPackAuthStatusQuery( + client$: GleanCore, + actionPackId: string, + options?: RequestOptions, +): { + queryKey: QueryKey; + queryFn: ( + context: QueryFunctionContext, + ) => Promise; +} { + return { + queryKey: queryKeyToolsGetActionPackAuthStatus(actionPackId), + queryFn: async function toolsGetActionPackAuthStatusQueryFn( + ctx, + ): Promise { + const sig = combineSignals( + ctx.signal, + options?.signal, + options?.fetchOptions?.signal, + ); + const mergedOptions = { + ...options?.fetchOptions, + ...options, + signal: sig, + }; + + return unwrapAsync(toolsGetActionPackAuthStatus( + client$, + actionPackId, + mergedOptions, + )); + }, + }; +} + +export function queryKeyToolsGetActionPackAuthStatus( + actionPackId: string, +): QueryKey { + return [ + "@gleanwork/api-client", + "Tools", + "getActionPackAuthStatus", + actionPackId, + ]; +} diff --git a/src/react-query/toolsGetActionPackAuthStatus.ts b/src/react-query/toolsGetActionPackAuthStatus.ts new file mode 100644 index 00000000..f0129ddb --- /dev/null +++ b/src/react-query/toolsGetActionPackAuthStatus.ts @@ -0,0 +1,145 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 651b3a2e8f61 + */ + +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 { 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 { + buildToolsGetActionPackAuthStatusQuery, + prefetchToolsGetActionPackAuthStatus, + queryKeyToolsGetActionPackAuthStatus, + ToolsGetActionPackAuthStatusQueryData, +} from "./toolsGetActionPackAuthStatus.core.js"; +export { + buildToolsGetActionPackAuthStatusQuery, + prefetchToolsGetActionPackAuthStatus, + queryKeyToolsGetActionPackAuthStatus, + type ToolsGetActionPackAuthStatusQueryData, +}; + +export type ToolsGetActionPackAuthStatusQueryError = + | GleanBaseError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError; + +/** + * Get end-user authentication status for an action pack. + * + * @remarks + * 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. + */ +export function useToolsGetActionPackAuthStatus( + actionPackId: string, + options?: QueryHookOptions< + ToolsGetActionPackAuthStatusQueryData, + ToolsGetActionPackAuthStatusQueryError + >, +): UseQueryResult< + ToolsGetActionPackAuthStatusQueryData, + ToolsGetActionPackAuthStatusQueryError +> { + const client = useGleanContext(); + return useQuery({ + ...buildToolsGetActionPackAuthStatusQuery( + client, + actionPackId, + options, + ), + ...options, + }); +} + +/** + * Get end-user authentication status for an action pack. + * + * @remarks + * 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. + */ +export function useToolsGetActionPackAuthStatusSuspense( + actionPackId: string, + options?: SuspenseQueryHookOptions< + ToolsGetActionPackAuthStatusQueryData, + ToolsGetActionPackAuthStatusQueryError + >, +): UseSuspenseQueryResult< + ToolsGetActionPackAuthStatusQueryData, + ToolsGetActionPackAuthStatusQueryError +> { + const client = useGleanContext(); + return useSuspenseQuery({ + ...buildToolsGetActionPackAuthStatusQuery( + client, + actionPackId, + options, + ), + ...options, + }); +} + +export function setToolsGetActionPackAuthStatusData( + client: QueryClient, + queryKeyBase: [actionPackId: string], + data: ToolsGetActionPackAuthStatusQueryData, +): ToolsGetActionPackAuthStatusQueryData | undefined { + const key = queryKeyToolsGetActionPackAuthStatus(...queryKeyBase); + + return client.setQueryData(key, data); +} + +export function invalidateToolsGetActionPackAuthStatus( + client: QueryClient, + queryKeyBase: TupleToPrefixes<[actionPackId: string]>, + filters?: Omit, +): Promise { + return client.invalidateQueries({ + ...filters, + queryKey: [ + "@gleanwork/api-client", + "Tools", + "getActionPackAuthStatus", + ...queryKeyBase, + ], + }); +} + +export function invalidateAllToolsGetActionPackAuthStatus( + client: QueryClient, + filters?: Omit, +): Promise { + return client.invalidateQueries({ + ...filters, + queryKey: ["@gleanwork/api-client", "Tools", "getActionPackAuthStatus"], + }); +} diff --git a/src/react-query/troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents.ts b/src/react-query/troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents.ts new file mode 100644 index 00000000..b845dda2 --- /dev/null +++ b/src/react-query/troubleshootingPostApiIndexV1DebugDatasourceDocumentEvents.ts @@ -0,0 +1,132 @@ +/* + * 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 b71a7d69..a0853ebf 100644 --- a/src/sdk/agents.ts +++ b/src/sdk/agents.ts @@ -3,106 +3,32 @@ * @generated-id: a103cd018c9b */ -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 { agentsEditAgent } from "../funcs/agentsEditAgent.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { unwrapAsync } from "../types/fp.js"; export class Agents extends ClientSDK { /** - * Retrieve an agent + * Edit an agent * * @remarks - * Returns details of an [agent](https://developers.glean.com/agents/agents-api) created in the Agent Builder. + * 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 retrieve( + async editAgent( + editWorkflowRequest: components.EditWorkflowRequest, agentId: string, locale?: string | undefined, timezoneOffset?: number | undefined, options?: RequestOptions, - ): Promise { - return unwrapAsync(clientAgentsRetrieve( + ): Promise { + return unwrapAsync(agentsEditAgent( this, + editWorkflowRequest, agentId, locale, timezoneOffset, options, )); } - - /** - * List an agent's schemas - * - * @remarks - * 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. - */ - async retrieveSchemas( - agentId: string, - locale?: string | undefined, - timezoneOffset?: number | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientAgentsRetrieveSchemas( - this, - agentId, - locale, - timezoneOffset, - options, - )); - } - - /** - * Search agents - * - * @remarks - * Search for [agents](https://developers.glean.com/agents/agents-api) by agent name. - */ - async list( - request: components.SearchAgentsRequest, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientAgentsList( - this, - request, - options, - )); - } - - /** - * Create an agent run and stream the response - * - * @remarks - * 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. - */ - async runStream( - request: components.AgentRunCreate, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientAgentsRunStream( - this, - request, - options, - )); - } - - /** - * Create an agent run and wait for the response - * - * @remarks - * 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. - */ - async run( - request: components.AgentRunCreate, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientAgentsRun( - this, - request, - options, - )); - } } diff --git a/src/sdk/chat.ts b/src/sdk/chat.ts index b4f1a447..58db5831 100644 --- a/src/sdk/chat.ts +++ b/src/sdk/chat.ts @@ -3,221 +3,26 @@ * @generated-id: c56babc22a20 */ -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 { chatGetChatFile } from "../funcs/chatGetChatFile.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 + * Download a chat file * * @remarks - * Have a conversation with Glean AI. + * 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 create( - chatRequest: components.ChatRequest, - locale?: string | undefined, - timezoneOffset?: number | undefined, + async getChatFile( + fileId: string, + preview?: boolean | undefined, options?: RequestOptions, - ): Promise { - return unwrapAsync(clientChatCreate( + ): Promise> { + return unwrapAsync(chatGetChatFile( 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, + fileId, + preview, options, )); } diff --git a/src/sdk/client.ts b/src/sdk/client.ts index 3fc7f150..63de8d54 100644 --- a/src/sdk/client.ts +++ b/src/sdk/client.ts @@ -5,21 +5,21 @@ import { ClientSDK } from "../lib/sdks.js"; import { Activity } from "./activity.js"; -import { Agents } from "./agents.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 { ClientDocuments } from "./clientdocuments.js"; +import { ClientEntities } from "./cliententities.js"; import { ClientGovernance } from "./clientgovernance.js"; import { ClientShortcuts } from "./clientshortcuts.js"; +import { ClientTools } from "./clienttools.js"; import { Collections } from "./collections.js"; -import { Entities } from "./entities.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,14 +43,14 @@ export class Client extends ClientSDK { return (this._authentication ??= new ClientAuthentication(this._options)); } - private _chat?: Chat; - get chat(): Chat { - return (this._chat ??= new Chat(this._options)); + private _chat?: ClientChat; + get chat(): ClientChat { + return (this._chat ??= new ClientChat(this._options)); } - private _agents?: Agents; - get agents(): Agents { - return (this._agents ??= new Agents(this._options)); + private _agents?: ClientAgents; + get agents(): ClientAgents { + return (this._agents ??= new ClientAgents(this._options)); } private _collections?: Collections; @@ -83,9 +83,9 @@ export class Client extends ClientSDK { return (this._search ??= new Search(this._options)); } - private _entities?: Entities; - get entities(): Entities { - return (this._entities ??= new Entities(this._options)); + private _entities?: ClientEntities; + get entities(): ClientEntities { + return (this._entities ??= new ClientEntities(this._options)); } private _shortcuts?: ClientShortcuts; @@ -98,9 +98,9 @@ export class Client extends ClientSDK { return (this._verification ??= new Verification(this._options)); } - private _tools?: Tools; - get tools(): Tools { - return (this._tools ??= new Tools(this._options)); + private _tools?: ClientTools; + get tools(): ClientTools { + return (this._tools ??= new ClientTools(this._options)); } private _governance?: ClientGovernance; diff --git a/src/sdk/clientagents.ts b/src/sdk/clientagents.ts new file mode 100644 index 00000000..17d6b434 --- /dev/null +++ b/src/sdk/clientagents.ts @@ -0,0 +1,108 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 7864a10ac52c + */ + +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 { 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 { + /** + * Retrieve an agent + * + * @remarks + * Returns details of an [agent](https://developers.glean.com/agents/agents-api) created in the Agent Builder. + */ + async retrieve( + agentId: string, + locale?: string | undefined, + timezoneOffset?: number | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientAgentsRetrieve( + this, + agentId, + locale, + timezoneOffset, + options, + )); + } + + /** + * List an agent's schemas + * + * @remarks + * 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. + */ + async retrieveSchemas( + agentId: string, + locale?: string | undefined, + timezoneOffset?: number | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientAgentsRetrieveSchemas( + this, + agentId, + locale, + timezoneOffset, + options, + )); + } + + /** + * Search agents + * + * @remarks + * Search for [agents](https://developers.glean.com/agents/agents-api) by agent name. + */ + async list( + request: components.SearchAgentsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientAgentsList( + this, + request, + options, + )); + } + + /** + * Create an agent run and stream the response + * + * @remarks + * 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. + */ + async runStream( + request: components.AgentRunCreate, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientAgentsRunStream( + this, + request, + options, + )); + } + + /** + * Create an agent run and wait for the response + * + * @remarks + * 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. + */ + async run( + request: components.AgentRunCreate, + options?: RequestOptions, + ): Promise { + return unwrapAsync(clientAgentsRun( + this, + request, + options, + )); + } +} diff --git a/src/sdk/clientchat.ts b/src/sdk/clientchat.ts new file mode 100644 index 00000000..943b9815 --- /dev/null +++ b/src/sdk/clientchat.ts @@ -0,0 +1,224 @@ +/* + * 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/cliententities.ts b/src/sdk/cliententities.ts new file mode 100644 index 00000000..9cf1f1a7 --- /dev/null +++ b/src/sdk/cliententities.ts @@ -0,0 +1,50 @@ +/* + * 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/clienttools.ts b/src/sdk/clienttools.ts new file mode 100644 index 00000000..2960e8b7 --- /dev/null +++ b/src/sdk/clienttools.ts @@ -0,0 +1,46 @@ +/* + * 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/custommetadata.ts b/src/sdk/custommetadata.ts new file mode 100644 index 00000000..9cac6fa9 --- /dev/null +++ b/src/sdk/custommetadata.ts @@ -0,0 +1,108 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + * @generated-id: 5d08e64eb686 + */ + +import { indexingCustomMetadataDelete } from "../funcs/indexingCustomMetadataDelete.js"; +import { indexingCustomMetadataDeleteSchema } from "../funcs/indexingCustomMetadataDeleteSchema.js"; +import { indexingCustomMetadataGetSchema } from "../funcs/indexingCustomMetadataGetSchema.js"; +import { indexingCustomMetadataUpsert } from "../funcs/indexingCustomMetadataUpsert.js"; +import { indexingCustomMetadataUpsertSchema } from "../funcs/indexingCustomMetadataUpsertSchema.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import * as components from "../models/components/index.js"; +import { unwrapAsync } from "../types/fp.js"; + +export class CustomMetadata extends ClientSDK { + /** + * Add or update custom metadata + * + * @remarks + * Associates custom metadata with a specific document. Custom metadata enables you to enrich documents with additional structured information that can be used for search, filtering, and faceting. + */ + async upsert( + customMetadataPutRequest: components.CustomMetadataPutRequest, + docId: string, + groupName: string, + options?: RequestOptions, + ): Promise { + return unwrapAsync(indexingCustomMetadataUpsert( + this, + customMetadataPutRequest, + docId, + groupName, + options, + )); + } + + /** + * Remove custom metadata + * + * @remarks + * Removes all custom metadata for the specified metadata group from a document. + */ + async delete( + docId: string, + groupName: string, + options?: RequestOptions, + ): Promise { + return unwrapAsync(indexingCustomMetadataDelete( + this, + docId, + groupName, + options, + )); + } + + /** + * Retrieve metadata schema + * + * @remarks + * Retrieves the current schema definition for a metadata group. + */ + async getSchema( + groupName: string, + options?: RequestOptions, + ): Promise { + return unwrapAsync(indexingCustomMetadataGetSchema( + this, + groupName, + options, + )); + } + + /** + * Create or update metadata schema + * + * @remarks + * Defines or updates the schema for a metadata group. Schemas should be defined before indexing metadata. + */ + async upsertSchema( + customMetadataSchema: components.CustomMetadataSchema, + groupName: string, + options?: RequestOptions, + ): Promise { + return unwrapAsync(indexingCustomMetadataUpsertSchema( + this, + customMetadataSchema, + groupName, + options, + )); + } + + /** + * Remove metadata schema + * + * @remarks + * Deletes the schema definition for a metadata group. This does not delete existing metadata values on documents. + */ + async deleteSchema( + groupName: string, + options?: RequestOptions, + ): Promise { + return unwrapAsync(indexingCustomMetadataDeleteSchema( + this, + groupName, + options, + )); + } +} diff --git a/src/sdk/datasources.ts b/src/sdk/datasources.ts index 65578da2..54be74d8 100644 --- a/src/sdk/datasources.ts +++ b/src/sdk/datasources.ts @@ -3,7 +3,9 @@ * @generated-id: 16d5d120f477 */ +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 { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; @@ -50,4 +52,42 @@ export class Datasources extends ClientSDK { options, )); } + + /** + * Get datasource instance credential status + * + * @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( + datasourceInstanceId: string, + options?: RequestOptions, + ): Promise { + return unwrapAsync(datasourcesGetDatasourceCredentialStatus( + this, + datasourceInstanceId, + options, + )); + } + + /** + * Rotate datasource instance credentials + * + * @remarks + * 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( + rotateDatasourceCredentialsRequest: + components.RotateDatasourceCredentialsRequest, + datasourceInstanceId: string, + options?: RequestOptions, + ): Promise { + return unwrapAsync(datasourcesRotateDatasourceCredentials( + this, + rotateDatasourceCredentialsRequest, + datasourceInstanceId, + options, + )); + } } diff --git a/src/sdk/entities.ts b/src/sdk/entities.ts index b15d6848..c300c163 100644 --- a/src/sdk/entities.ts +++ b/src/sdk/entities.ts @@ -3,47 +3,34 @@ * @generated-id: 71997b5f9b62 */ -import { clientEntitiesList } from "../funcs/clientEntitiesList.js"; -import { clientEntitiesReadPeople } from "../funcs/clientEntitiesReadPeople.js"; +import { + entitiesGetPersonPhoto, + GetPersonPhotoAcceptEnum, +} from "../funcs/entitiesGetPersonPhoto.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 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, - )); - } +export { GetPersonPhotoAcceptEnum } from "../funcs/entitiesGetPersonPhoto.js"; +export class Entities extends ClientSDK { /** - * Read people + * Get person photo * * @remarks - * Read people details for the given IDs. + * 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 readPeople( - peopleRequest: components.PeopleRequest, - locale?: string | undefined, - options?: RequestOptions, - ): Promise { - return unwrapAsync(clientEntitiesReadPeople( + async getPersonPhoto( + personId: string, + ds?: string | undefined, + options?: RequestOptions & { + acceptHeaderOverride?: GetPersonPhotoAcceptEnum; + }, + ): Promise { + return unwrapAsync(entitiesGetPersonPhoto( this, - peopleRequest, - locale, + personId, + ds, options, )); } diff --git a/src/sdk/indexing.ts b/src/sdk/indexing.ts index 702c7d21..594392c8 100644 --- a/src/sdk/indexing.ts +++ b/src/sdk/indexing.ts @@ -4,6 +4,7 @@ */ import { ClientSDK } from "../lib/sdks.js"; +import { CustomMetadata } from "./custommetadata.js"; import { Datasource } from "./datasource.js"; import { IndexingAuthentication } from "./indexingauthentication.js"; import { IndexingDatasources } from "./indexingdatasources.js"; @@ -47,4 +48,9 @@ export class Indexing extends ClientSDK { get shortcuts(): IndexingShortcuts { return (this._shortcuts ??= new IndexingShortcuts(this._options)); } + + private _customMetadata?: CustomMetadata; + get customMetadata(): CustomMetadata { + return (this._customMetadata ??= new CustomMetadata(this._options)); + } } diff --git a/src/sdk/sdk.ts b/src/sdk/sdk.ts index 8d3a14e6..32d9e715 100644 --- a/src/sdk/sdk.ts +++ b/src/sdk/sdk.ts @@ -4,11 +4,16 @@ */ 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"; export class Glean extends ClientSDK { private _client?: Client; @@ -21,11 +26,36 @@ export class Glean extends ClientSDK { 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 _tools?: Tools; + get tools(): Tools { + return (this._tools ??= new Tools(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)); diff --git a/src/sdk/tools.ts b/src/sdk/tools.ts index 819be69a..e1e6633e 100644 --- a/src/sdk/tools.ts +++ b/src/sdk/tools.ts @@ -3,43 +3,53 @@ * @generated-id: f997ccdd9dd9 */ -import { clientToolsList } from "../funcs/clientToolsList.js"; -import { clientToolsRun } from "../funcs/clientToolsRun.js"; +import { toolsAuthorizeActionPack } from "../funcs/toolsAuthorizeActionPack.js"; +import { toolsGetActionPackAuthStatus } from "../funcs/toolsGetActionPackAuthStatus.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 + * Get end-user authentication status for an action pack. * * @remarks - * Returns a filtered set of available tools based on optional tool name parameters. If no filters are provided, all available tools are returned. + * 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. */ - async list( - toolNames?: Array | undefined, + async getActionPackAuthStatus( + actionPackId: string, options?: RequestOptions, - ): Promise { - return unwrapAsync(clientToolsList( + ): Promise { + return unwrapAsync(toolsGetActionPackAuthStatus( this, - toolNames, + actionPackId, options, )); } /** - * Execute the specified tool + * Start the OAuth authorization flow for an action pack. * * @remarks - * Execute the specified tool with provided parameters + * Starts the third-party OAuth flow for the specified action pack and returns the + * redirect URL that the client should navigate the end user to. After the OAuth + * callback completes, the user's browser is redirected back to `returnUrl` with a + * status query parameter (`?glean_action_auth=success|error&actionPackId=...`). + * + * `returnUrl` must match the tenant's configured return URL allowlist; otherwise the + * request is rejected with 400. */ - async run( - request: components.ToolsCallRequest, + async authorizeActionPack( + authorizeActionPackRequest: components.AuthorizeActionPackRequest, + actionPackId: string, options?: RequestOptions, - ): Promise { - return unwrapAsync(clientToolsRun( + ): Promise { + return unwrapAsync(toolsAuthorizeActionPack( this, - request, + authorizeActionPackRequest, + actionPackId, options, )); } diff --git a/src/sdk/troubleshooting.ts b/src/sdk/troubleshooting.ts new file mode 100644 index 00000000..9f2f96e1 --- /dev/null +++ b/src/sdk/troubleshooting.ts @@ -0,0 +1,32 @@ +/* + * 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, + ), + ); + } +}